T O P I C R E V I E W |
Concelect |
Posted - Mar 03 2017 : 2:54:00 PM For member variables I usually prefix an underscore and for function parameter names I suffix underscores. Is it possible to teach Visual Assist my own syntax, so code generation automatically uses that style? |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Mar 04 2017 : 07:44:38 AM Where and how are these names being generated? Introduce variable will add a new variable name, but you are prompted for the name, giving you an option to add your preferred prefix / suffix at this stage. Several other refactorings just use the existing variable names.
You have some control over formatting, if the refactoring you are running uses a VA Refactoring Snippet, seen in the VA Snippet editor, with the "Type" filter set to "Refactoring".
Beyond this though, not currently. There are so many different rules that people use, that trying to come up with a useful interface to specify all of them is a significant task. |
|
|