当前位置:   article > 正文

vscode使用_vscode ssh 密码

vscode ssh 密码

VScode自动调整格式(Shift+Alt+F) - 简书 (jianshu.com)

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)

2. C++ Intellisense

对官方工具的补充,对以下工具功能增强

  • 跳转到定义;
  • 代码自动补全;

放大,缩小字体..

vscode  ctrl ++   ctrl --

vscode launch.json 打开

.vscode/launch.json

Vscode参数输入_vscode添加参数调试_Fighting_1997的博客-CSDN博客

  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "Python: Current File with Arguments",
  6. "type": "python",
  7. "request": "launch",
  8. "program": "${file}",
  9. "args": ["--foo", "bar"]
  10. }
  11. ]
  12. }

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)

GitLens

(673条消息) vscode 插件 GitLens_倔强的小绵羊的博客-CSDN博客

vscode显示120字符或者80字符提示线

(386条消息) vscode常用设置___Benco的博客-CSDN博客_vscode设置

VSCode自动识别文件编码

VSCode自动识别文件编码_686967656869的博客-CSDN博客_vscode自动识别编码

自动提示与代码导航

Visual Studio Code开发Qt应用程序实现自动提示、语法高亮、代码导航、编译和调试_岬淢箫声-CSDN博客

在.vscode文件夹下新建c_cpp_properties.json,代码如下:

  1. {
  2. "version": 3,
  3. "configurations": [{
  4. "name": "msvc2015-x64",
  5. "intelliSenseMode": "msvc-x64",
  6. "includePath": [
  7. "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
  8. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include",
  9. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DAnimation",
  10. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DCore",
  11. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DExtras",
  12. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DInput",
  13. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DLogic",
  14. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuick",
  15. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickAnimation",
  16. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickExtras",
  17. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickInput",
  18. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickRender",
  19. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickScene2D",
  20. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DRender",
  21. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtAccessibilitySupport",
  22. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtANGLE",
  23. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtBluetooth",
  24. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCharts",
  25. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtConcurrent",
  26. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCore",
  27. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDataVisualization",
  28. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDeviceDiscoverySupport",
  29. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEglSupport",
  30. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEventDispatcherSupport",
  31. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFbSupport",
  32. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFontDatabaseSupport",
  33. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtGui",
  34. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtHelp",
  35. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtLocation",
  36. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimedia",
  37. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaQuick_p",
  38. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaWidgets",
  39. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetwork",
  40. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetworkAuth",
  41. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNfc",
  42. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGL",
  43. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGLExtensions",
  44. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPacketProtocol",
  45. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformCompositorSupport",
  46. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformHeaders",
  47. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPositioning",
  48. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPrintSupport",
  49. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPurchasing",
  50. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQml",
  51. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQmlDebug",
  52. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuick",
  53. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickControls2",
  54. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickParticles",
  55. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTemplates2",
  56. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTest",
  57. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickWidgets",
  58. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRemoteObjects",
  59. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRepParser",
  60. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtScxml",
  61. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSensors",
  62. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSql",
  63. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSvg",
  64. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtTest",
  65. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtThemeSupport",
  66. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiPlugin",
  67. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiTools",
  68. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebChannel",
  69. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineCore",
  70. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineWidgets",
  71. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebSockets",
  72. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebView",
  73. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWidgets",
  74. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXml",
  75. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXmlPatterns",
  76. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtZlib",
  77. "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
  78. "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
  79. "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
  80. "${workspaceRoot}"
  81. ],
  82. "browse": {
  83. "path": [
  84. "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
  85. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include",
  86. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DAnimation",
  87. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DCore",
  88. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DExtras",
  89. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DInput",
  90. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DLogic",
  91. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuick",
  92. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickAnimation",
  93. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickExtras",
  94. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickInput",
  95. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickRender",
  96. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DQuickScene2D",
  97. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/Qt3DRender",
  98. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtAccessibilitySupport",
  99. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtANGLE",
  100. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtBluetooth",
  101. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCharts",
  102. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtConcurrent",
  103. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtCore",
  104. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDataVisualization",
  105. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtDeviceDiscoverySupport",
  106. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEglSupport",
  107. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtEventDispatcherSupport",
  108. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFbSupport",
  109. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtFontDatabaseSupport",
  110. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtGui",
  111. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtHelp",
  112. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtLocation",
  113. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimedia",
  114. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaQuick_p",
  115. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtMultimediaWidgets",
  116. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetwork",
  117. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNetworkAuth",
  118. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtNfc",
  119. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGL",
  120. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtOpenGLExtensions",
  121. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPacketProtocol",
  122. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformCompositorSupport",
  123. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPlatformHeaders",
  124. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPositioning",
  125. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPrintSupport",
  126. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtPurchasing",
  127. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQml",
  128. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQmlDebug",
  129. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuick",
  130. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickControls2",
  131. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickParticles",
  132. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTemplates2",
  133. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickTest",
  134. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtQuickWidgets",
  135. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRemoteObjects",
  136. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtRepParser",
  137. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtScxml",
  138. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSensors",
  139. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSql",
  140. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtSvg",
  141. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtTest",
  142. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtThemeSupport",
  143. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiPlugin",
  144. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtUiTools",
  145. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebChannel",
  146. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineCore",
  147. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebEngineWidgets",
  148. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebSockets",
  149. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWebView",
  150. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtWidgets",
  151. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXml",
  152. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtXmlPatterns",
  153. "C:/Qt/Qt5.9.1/5.9.1/msvc2015_64/include/QtZlib",
  154. "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
  155. "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
  156. "C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
  157. "${workspaceRoot}"
  158. ]
  159. }
  160. }]
  161. }

Bookmarks书签

VScode 插件 bookmarks_Cainell的博客-CSDN博客_vscode插件bookmarks

Ctrl+alt+K 创建或消除书签
ctrl+alt+j 跳转到前一个书签

ctrl+alt+l 跳转到后一个书签

vscode remote远程开发详解,mac、windows配置vscode remote远程开发

vscode remote远程开发详解,mac、windows配置vscode remote远程开发 · 大专栏

remote-ssh

  1. Host test-server # 链接名
  2. HostName <192.168.207.130> # ip地址
  3. User <user> # 用户名
  4. Port 22

VScode占用内存过大,系统卡顿问题解决

VScode占用内存过大,系统卡顿问题解决_无专精则不能成,无涉猎则不能通-CSDN博客_vscode占用内存过大

VSCode配置c_cpp_properties.json文件

VSCode配置c_cpp_properties.json文件_baidu_38634017的博客-CSDN博客_c_cpp_properties.json

使用 VSCode 远程访问代码以及远程 GDB 调试

使用 VSCode 远程访问代码以及远程 GDB 调试

vscode C++远程调试运行(学习C++用) - 知乎

修改vscode选中代码内容背景颜色(很简单)_我可以睡到中午吗-CSDN博客

Vscode选中变量高亮颜色及注释颜色更改

Vscode选中变量高亮颜色及注释颜色更改 - 小翁同学 - 博客园

在setting.json中添加如下字段即可,颜色可以自定义修改,选择自己喜欢的颜色即可。

  1. "workbench.colorCustomizations": {
  2. "editor.selectionBackground": "#0066ff80",
  3. "editor.selectionHighlightBackground": "#c5293e"
  4. },

结果如下,更加nice

settings文件怎么打开? VSCode打开并配置settings.json文件的技巧

https://www.jb51.net/softjc/730336.html

VSCode 如何格式化或美化js/css代码

https://jingyan.baidu.com/article/ca00d56c133f5fe99eebcfb4.html

  1. 如果要进行代码美化(换行),首先点击左侧的扩展按钮,然后在扩展商店搜索Beautify,然后下载第一个插件即可。

    VSCode 如何格式化或美化js/css代码?

  2. 安装后重新载入VSCode,按下f1打开命令,搜索Beautify,点击Beautify file美化整个文件。

    VSCode 如何格式化或美化js/css代码?

  3. 6

    如图,是美化之后的效果。代码被自动换行,也进行了格式化。这个美化操作支持多种格式的源代码。

    VSCode 如何格式化或美化js/css代码?

Visual Studio Code (vscode) 配置 C / C++ 环境

Visual Studio Code (vscode) 配置 C / C++ 环境 - 步平凡 - 博客园

vscode左下角显示大纲(显示所有函数方法)

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:

VS Code 如何智能跳转

vscode 选择代码段高亮插件

vscode 选择代码段高亮插件_Root-CSDN博客_vscode高亮插件

VS Code配置Source Insight的高亮功能(view:Highlight Word)

VS Code配置Source Insight的高亮功能(view:Highlight Word) - 知乎

  1. "highlightwords.colors": [
  2. {"dark": "yellow" },
  3. {"dark": "Cyan" },
  4. {"dark": "Pink" },
  5. {"dark": "LightGreen" },
  6. {"dark": "LightSteelBlue" },
  7. {"dark": "Plum" }
  8. ],
  9. "highlightwords.box": {
  10. "light": true,
  11. "dark": false
  12. }


 

VSCode设置大小写转换的快捷键 - sufaith - 博客园

如何在VScode启用保存文件时删除行尾空格-百度经验

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免密登陆服务器远程编辑

vscode免密登陆服务器远程编辑_凉-CSDN博客_vscode 免密登陆

vscode SSH 保存密码自动登录服务器

vscode SSH 保存密码自动登录服务器 - 简书

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/650681
推荐阅读
相关标签
  

闽ICP备14008679号