Currently the Tools->Options dialig allows you to specify tabbing style for indentation and the Format Code command adhers to the tab settings specified. It would be nice if the Options dialog also allowed you to specify a preferred curly bracing style to use in your code and have the Format Code command correct any bracing that doesn't adher to the preferred bracing style. The Add New Item dialog should also ensure that any item added under the Apex Code section should also have the correct bracing applied to the template code within the newly added file.
Allow configuration of curly bracing style in the Text Editor Options and have Format Code apply the correct bracing style
Posted 13 Oct 2017
Thank you for this suggestion as well!
We have a couple of tickets in our backlog to implement customizations options for code formatting, however I'm not sure that this will be among the high-priority tasks, even in the code formatting scope of improvements. First of all we'd like to implement smart indenting and really automated formatting on code block completion (e.g. on the closing curly brace or on a semicolon, etc.). By the way, if you see any other needed configuration options for the code formatting - please let us know, it might influence the priority for the configuration itself.
Head of Product
The Welkin Suite
skype id: vladimir.gubanovich