Is it possible to edit "Create Declaration" via the snippet editor? I'd like the ability to add a comment block above the function declarations added to class header files.
Unfortunately not currently. We are considering adding a snippet to allow you to control the formatting at some point, but I don't currently have an estimate for when this might happen:
case=13743
Are you aware that Document Method is designed for inserting a comment block for a function?
Yes, and I do use the Document Method functionality. But it becomes a multi-part process for me:
1. Do "Create Declaration" 2. ALT+O to go to header file 3. Find the declaration I just created 4. Move it to the appropriate access specifier (public, private, or protected). (Would be nice if VAX asked me which section to put it under) 5. Add whitespace before/after the declaration (VAX just throws it in the class with no whitespace padding around it) 6. Do "Document Method"
Sorry for the slow reply. This is more steps than you should be dealing with.
Which IDE and version of VA are you using?
With VS2015 and VA 2102, when I trigger Create Declaration I am taken directly to the header file, and to the new declaration. This does not solve the formatting or access specifier, but it does simplify and speed things up for you. So I am wondering why you are having to hunt up the declaration like this.