Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Is it possible to use own syntax?

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000