C# Visual Studio 2015 - Automatic jump into brackets -
this first question on stackoverflow, here goes:
i've got annoying problem/feature in visual studio 2015. problem every time create if statement, for, while, etc. autocomplete (tab-tab). when go line of end bracket , try create new line (simple press of enter) right after it, text cursor jump brackets, instead of making new line.
i've looked far wide trying disable "feature" incredibly annoying. have not been able find information on anywhere, asking question.
thank you!
how produce problem:
- anywhere in c# project, make new if statement (while, for, etc. can used too).
- navigate after end bracket.
- press enter make new line.
- the marker have jumped inside of statement, instead of making new line.
the 'problem' when using tab key activating snippets feature. after typing tab in 'snippet editing' mode, each tab (and shift + tab) used navigate placeholders defined snippet. in snippet mode, enter key takes wherever person designed snippet thought best place leave cursor after snippet. if
snippet happens inside brackets.
the news can create own snippets, , modify existing snippets change behaviour. however, far know involves manually editing snippet definition files (xml files) or using external extensions. example: http://blogs.msdn.com/b/visualstudio/archive/2014/01/15/visually-creating-snippets.aspx
as workaround, can press esc exit snippet editing mode before pressing enter.
Comments
Post a Comment