赞
踩
vscode 设置 tab 为四个空格_abbcccdde的博客-CSDN博客_vscode设置tab为4个空格
[生产力]VSCode必备插件-C/C++开发_清凉简装的博客-CSDN博客_vscode插件c++
(370条消息) vscode设置保存时自动格式化代码,让代码自动缩进对齐,让代码更简洁_中南自动化学院“智能控制与优化决策“至渝的博客-CSDN博客_vscode保存自动缩进
(595条消息) vscode (markdown)常用插件_vscodemarkdown插件_懒惰的胖猪的博客-CSDN博客
vscode中使用Markdown - 知乎 (zhihu.com)
vscode怎么设置中文-vscode设置中文方法 - 系统家园 (somode.com)
对官方工具的补充,对以下工具功能增强
放大,缩小字体..
vscode ctrl ++ ctrl --
vscode launch.json 打开
.vscode/launch.json
Vscode参数输入_vscode添加参数调试_Fighting_1997的博客-CSDN博客
- {
- "version": "0.2.0",
- "configurations": [
- {
- "name": "Python: Current File with Arguments",
- "type": "python",
- "request": "launch",
- "program": "${file}",
- "args": ["--foo", "bar"]
- }
- ]
- }
vscode@局部替换文本/正则匹配分组替换(复杂删除修改替换)/目录检索_模糊匹配工作空间的目录_vscode局部替换-CSDN博客
局部替换
方式1
键入ctrl+h
键入要被替换的内容(模式串)
选中要被替换处理的文本区域
打开find in selection功能开关(默认快捷键为alt+l)
(只有在上述操作中选中了某一部分区域后)才可以有效的打开该开关
如果此前已经将开关置于开启状态,则需要将开关切换为关有在开启才是有效的
执行替换
方式2
选中需要替换的文本
键入ctrl+H(默认的替换按钮)
确保find in selection 功能开启(默认快捷键为alt+l)
键入要被替换的内容(模式串)
键入用于替换旧内容的新串
vscode 目录检索_模糊匹配工作空间
修改字体
'Droid Sans Mono', 'monospace', monospace
(717条消息) vscode 添加全局宏定义_vscode 宏定义_cdh4869的博客-CSDN博客
2022年最受欢迎的十大VSCode扩展程序 - 知乎 (zhihu.com)
(673条消息) vscode 插件 GitLens_倔强的小绵羊的博客-CSDN博客
vscode显示120字符或者80字符提示线
(386条消息) vscode常用设置___Benco的博客-CSDN博客_vscode设置
VSCode自动识别文件编码_686967656869的博客-CSDN博客_vscode自动识别编码
Visual Studio Code开发Qt应用程序实现自动提示、语法高亮、代码导航、编译和调试_岬淢箫声-CSDN博客
在.vscode文件夹下新建c_cpp_properties.json,代码如下:
- {
- "version": 3,
- "configurations": [{
- "name": "msvc2015-x64",
- "intelliSenseMode": "msvc-x64",
- "includePath": [
- "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DAnimation",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DCore",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DExtras",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DInput",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DLogic",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuick",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickAnimation",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickExtras",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickInput",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickRender",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickScene2D",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DRender",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtAccessibilitySupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtANGLE",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtBluetooth",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCharts",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtConcurrent",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCore",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDataVisualization",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDeviceDiscoverySupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEglSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEventDispatcherSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFbSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFontDatabaseSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtGui",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtHelp",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtLocation",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimedia",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaQuick_p",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetwork",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetworkAuth",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNfc",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGL",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGLExtensions",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPacketProtocol",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformCompositorSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformHeaders",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPositioning",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPrintSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPurchasing",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQml",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQmlDebug",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuick",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickControls2",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickParticles",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTemplates2",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTest",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRemoteObjects",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRepParser",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtScxml",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSensors",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSql",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSvg",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtTest",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtThemeSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiPlugin",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiTools",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebChannel",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineCore",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebSockets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebView",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXml",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXmlPatterns",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtZlib",
- "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
- "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
- "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
- "${workspaceRoot}"
- ],
- "browse": {
- "path": [
- "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DAnimation",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DCore",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DExtras",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DInput",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DLogic",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuick",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickAnimation",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickExtras",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickInput",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickRender",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickScene2D",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DRender",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtAccessibilitySupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtANGLE",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtBluetooth",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCharts",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtConcurrent",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCore",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDataVisualization",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDeviceDiscoverySupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEglSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEventDispatcherSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFbSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFontDatabaseSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtGui",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtHelp",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtLocation",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimedia",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaQuick_p",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetwork",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetworkAuth",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNfc",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGL",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGLExtensions",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPacketProtocol",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformCompositorSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformHeaders",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPositioning",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPrintSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPurchasing",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQml",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQmlDebug",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuick",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickControls2",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickParticles",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTemplates2",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTest",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRemoteObjects",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRepParser",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtScxml",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSensors",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSql",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSvg",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtTest",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtThemeSupport",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiPlugin",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiTools",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebChannel",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineCore",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebSockets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebView",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWidgets",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXml",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXmlPatterns",
- "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtZlib",
- "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
- "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
- "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
- "${workspaceRoot}"
- ]
- }
- }]
- }
VScode 插件 bookmarks_Cainell的博客-CSDN博客_vscode插件bookmarks
Ctrl+alt+K 创建或消除书签
ctrl+alt+j 跳转到前一个书签
ctrl+alt+l 跳转到后一个书签
vscode remote远程开发详解,mac、windows配置vscode remote远程开发 · 大专栏
- Host test-server # 链接名
- HostName <192.168.207.130> # ip地址
- User <user> # 用户名
- Port 22
VSCode配置c_cpp_properties.json文件_baidu_38634017的博客-CSDN博客_c_cpp_properties.json
修改vscode选中代码内容背景颜色(很简单)_我可以睡到中午吗-CSDN博客
Vscode选中变量高亮颜色及注释颜色更改 - 小翁同学 - 博客园
在setting.json中添加如下字段即可,颜色可以自定义修改,选择自己喜欢的颜色即可。
-
- "workbench.colorCustomizations": {
- "editor.selectionBackground": "#0066ff80",
- "editor.selectionHighlightBackground": "#c5293e"
- },
结果如下,更加nice
https://www.jb51.net/softjc/730336.html
https://jingyan.baidu.com/article/ca00d56c133f5fe99eebcfb4.html
如果要进行代码美化(换行),首先点击左侧的扩展按钮,然后在扩展商店搜索Beautify,然后下载第一个插件即可。
安装后重新载入VSCode,按下f1打开命令,搜索Beautify,点击Beautify file美化整个文件。
6
如图,是美化之后的效果。代码被自动换行,也进行了格式化。这个美化操作支持多种格式的源代码。
Visual Studio Code (vscode) 配置 C / C++ 环境 - 步平凡 - 博客园
vscode左下角显示大纲(显示所有函数方法)_shuipaopaoJin的博客-CSDN博客_vscode 大纲
方法二:显示大纲(在编辑器左下角显示,方便查看)
Shift+Ctl+P -> View: Quick Open View -> 大纲 outline
VSCode配置c_cpp_properties.json文件_baidu_38634017的博客-CSDN博客_c_cpp_properties.json
https://jingyan.baidu.com/article/b7001fe1da1f330e7282dd39.html
Visual Studio Code 配置C/C++环境 - 别依梦雨轩 - 博客园
生成c_cpp_properties.json:
vscode 选择代码段高亮插件_Root-CSDN博客_vscode高亮插件
VS Code配置Source Insight的高亮功能(view:Highlight Word) - 知乎
- "highlightwords.colors": [
- {"dark": "yellow" },
- {"dark": "Cyan" },
- {"dark": "Pink" },
- {"dark": "LightGreen" },
- {"dark": "LightSteelBlue" },
- {"dark": "Plum" }
- ],
- "highlightwords.box": {
- "light": true,
- "dark": false
- }
VSCode设置大小写转换的快捷键 - sufaith - 博客园
VS Code 使用_51CTO博客_vs code insiders
ips 总结
1. VSCode显示空格和tab符号
1.打开setting,在搜索框中输入renderControlCharacters,选中勾选框,即可显示tab
VS Code 使用_Code
2.在搜索框中输入renderWhitespace,选择all,即可显示空格.
VS Code 使用_Code_02
插件扩展
MarkDown在VSCode环境下使用_vscode markdown_LLyyxxx00的博客-CSDN博客
vscode终端里敲命令,打开一个新的窗口.
✗ code ../xxx
vscode免密登陆服务器远程编辑_凉-CSDN博客_vscode 免密登陆
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。