This is a way of using shortcuts to add ";", "{}"and commom symbols(see version information V2.0) in the right place The default shortcut key is: Add semicolon to end of line (Ctrl+Shit+;);Add a semicolon to the end of the line and wrap (Ctrl+Alt+;); Add the js specification curly braces,"{" not on a new line (Ctrl+Shift+Alt+]);Add C++ specification curly braces,"{" on a new line (Ctrl+Alt+]) The above shortcut can be set by using a shortcut search for "SymbolManager". //Chinese 这是一个使用快捷键的方式去在对的地方添加";","{}"和一些其他常用符号(见版本更新v2.0). 默认的快捷键是: 添加分号到行尾(Ctrl+Shit+;);添加分号到行尾并换行(Ctrl+Alt+;); 添加js规范花括号,"{"不在新的一行 (Ctrl+Shift+Alt+]);添加C++规范花括号,"{"在新的一行 (Ctrl+Alt+]) 以上快捷方式可以通过快捷方式搜索"SymbolManager"进行设置.
This is my first plug-in.Simply because C++ can't stand ";"And "{}" developed plug-ins. What it does is it adds ";"and "{}" to the end of the line using the shortcut key. Whether or not to wrap a line and whether or not "{" is in a new line, I also give the corresponding treatment. You can set it by a shortcut, Source code. However, it only took me two days to develop it.(I finished it today 2020.11.10) but I still don't understand a lot, even though this is the first time I'm using C#.Hopefully it will help you with the VSIX development. //Chinese 这是我第一个插件.仅仅是因为不能忍受C++的";"和"{}"开发的插件. 它的功能是使用快捷键的方式去向行尾添加";"和"{}". 是否换行以及是否"{"在新行,我也给出了相应的处理. 可以通过快捷方式去进行设置, 源代码.不过我仅仅使用了两天的时间开发了它.(今天2020.11.10我完成了它)但是我依旧不懂很多地方,甚至这是我第一次使用C#.希望它能帮助到VSIX开发的你. |