This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | enable "Implement body" of class method in header file as enabled in source file | ||
---|---|---|---|
Product: | cnd | Reporter: | mambu |
Component: | Code Completion | Assignee: | Alexander Simon <alexvsimon> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
mambu
2017-08-09 08:52:10 UTC
Hi, this works already exactly as you expect when you are in paired cpp file. in completion list on top you will find "void A::Set - implement" But I agree, it's worth to have it visible in header file below class as well. FYI there is one more nice action as well: if you have inlined method class A { void Set(int val) { // with body } }; then in cpp file you can see in code completion "void A::Set - extract body" P.S. Ctrl+Shift+A is shortcut to switch between source/header pair Thanks, I know already about those other features. When the body is implemented in the header file, the "inline" keyword should be added. |