swauto tools功能介绍: 1.选中类名或其他定义符号后,按下快捷键 Ctrl+5 即可快速将对应头文件添加至当前页面顶部,同时其完整路径会自动复制到剪贴板。 2.可编辑的自定义用户代码块插入。 3.选中筛选器虚拟文件夹后,按下快捷键 Ctrl+6 可快速创建 C++ 文件。 4.支持在任一头文件中分离多个已实现的 C++ 类:分离后会生成对应类名的文件,并自动放置于被分离文件的同级目录;注意:被分离文件需存放于筛选器虚拟文件夹中,使用前需获取 Python 依赖脚本放置到你的项目主目录下 https://github.com/swautotools/pytools/blob/main/swsync-partition.py 。 5.快捷键重定义:如需重新设置工具快捷键,菜单工具-选项-键盘-页面下搜索 “swauto” 即可所有查看功能快捷键的配置情况。 支持版本: Visual Studio 2022(C/C++) Features:When a class name is selected, press the shortcut Ctrl+5 to quickly add the corresponding header file to the top of the current page, and its full path will be automatically copied to the clipboard.Editable custom user code block insertion. When a virtual filter folder is selected, press the shortcut Ctrl+6 to quickly create a C++ file. Support separating multiple implemented C++ classes in any header file: After separation, files with corresponding class names will be generated and automatically placed in the same directory as the separated file. Note: The separated file must be stored in a virtual filter folder; to use this feature, please obtain the Python implementation script swsync-partition.py from this page. Redefine Shortcuts: To reconfigure the tool's shortcuts, search for "swauto" to proceed with settings. Supported Version: Visual Studio 2022 (C/C++) |