Microsoft Visual Studio Code
?
Microsoft Visual Studio Code 中文手冊:https://www.cntofu.com/book/98/README.md
Visual Studio Code 官網:https://code.visualstudio.com
Visual Studio Code 的 10 個超棒特性:https://www.oschina.net/translate/10-awesome-features-of-visual-studio-code
為什么選擇 Visual Studio Code:https://www.cnblogs.com/frank0812/p/9847622.html
官方快捷鍵大全:https://code.visualstudio.com/docs/customization/keybindings
vscode: Visual Studio Code 常用快捷鍵:http://lzw.me/a/vscode-visual-studio-code-shortcut.html
學會用好 Visual Studio Code:https://blog.csdn.net/qq_22338889/article/details/78790964
在 Visual Studio Code中配置GO開發環境:https://www.cnblogs.com/zsy/p/5223957.html
10 種 JavaScript 開發者必備的 VS Code 插件:https://baijiahao.baidu.com/s?id=1617711275763901144
Visual Studio Code 最好的功能、插件和設置:https://www.html.cn/archives/8144
實用的Visual Studio Code插件:https://www.cnblogs.com/hjpqwer/p/7636643.html
VS code 提示“任務僅可在工作區文件夾上可用”:https://blog.csdn.net/a123gsfd/article/details/77337707
?
你喜歡 Visual?Studio 作為 IDE 的豐富功能,而且用它管理 .Net 代碼是那么的舒適。但是,在開始的時候,你需要下載和安裝 Visual?Studio(好幾個GB),并且設置你的開發者環境,要做好這一切,甚至只為了寫個“Hello?World”應用。相比之下,一個有經驗的大學生可能只是在 Mac 上使用一個輕量級的文本編輯器就開始編程了。是時候降低門檻來邀請其他人進入我們的 .Net 的美麗花園中了。
開始使用?Visual Studio Code?吧 —— 一個你喜愛的 Visual?Studio 的免費,輕量,跨平臺版本。簡單的安裝之后,你就可以在 Windows、Mac 或 Linux 機器上享受 Visual Studio 的絕大多數功能。
Visual Studio Code 是微軟推出的跨平臺編輯器。它采用經典的VS的UI布局,功能強大,擴展性很強。
?
安裝完后默認是英文的,可以直接設置 簡體中文。
Visual Studio Code設置中文包/配置中文語言:https://blog.csdn.net/u011127019/article/details/82716151
Visual Studio Code 的快捷鍵設置是統一管理的,所以你只需要修改一個文件就可以了。我們先來看看?Visual Studio Code 的常用快捷鍵。Visual Studio Code 有兩個比較重要的文件,一個是 setting.json (基本設置),另一個是 keybindings.json(配置快捷鍵文件)。它們 分別在【文件】-【首選項】-【設置】和【文件】-【首選項】-【鍵盤快捷方式】。
?
?
快捷鍵
vscode: Visual Studio Code 常用快捷鍵:https://lzw.me/a/vscode-visual-studio-code-shortcut.html
VS Code 快捷鍵(中英文對照版):https://segmentfault.com/a/1190000007688656
如果看不清可以到官網去查閱:https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
?
?
主命令框
F1?或?Ctrl+Shift+P: 打開命令面板。在打開的輸入框內,可以輸入任何命令,例如:
- 按一下?Backspace?會進入到?Ctrl+P?模式
- 在?Ctrl+P?下輸入?>?可以進入?Ctrl+Shift+P?模式
在?Ctrl+P?窗口下還可以:
- 直接輸入文件名,跳轉到文件
- ??列出當前可執行的動作
- !?顯示?Errors或?Warnings,也可以?Ctrl+Shift+M
- :?跳轉到行數,也可以?Ctrl+G?直接進入
- @?跳轉到?symbol(搜索變量或者函數),也可以?Ctrl+Shift+O?直接進入
- @?根據分類跳轉?symbol,查找屬性或函數,也可以?Ctrl+Shift+O?后輸入:進入
- #?根據名字查找?symbol,也可以?Ctrl+T
?
?
常用快捷鍵
?
編輯器與窗口管理
?
代碼編輯
格式調整
光標相關
重構代碼
查找替換
?
顯示相關
?
其他
- 自動保存:File -> AutoSave?,或者?Ctrl+Shift+P,輸入?auto
?
修改默認快捷鍵
打開默認鍵盤快捷方式設置:
File -> Preferences -> Keyboard Shortcuts,或者:Alt+F -> p -> k
修改?keybindings.json:
// Place your key bindings in this file to overwrite the defaults [// ctrl+space 被切換輸入法快捷鍵占用{"key": "ctrl+alt+space","command": "editor.action.triggerSuggest","when": "editorTextFocus"},// ctrl+d 刪除一行{"key": "ctrl+d","command": "editor.action.deleteLines","when": "editorTextFocus"},// 與刪除一行的快捷鍵互換{"key": "ctrl+shift+k","command": "editor.action.addSelectionToNextFindMatch","when": "editorFocus"},// ctrl+shift+/多行注釋{"key":"ctrl+shift+/","command": "editor.action.blockComment","when": "editorTextFocus"},// 定制與 sublime 相同的大小寫轉換快捷鍵editor.action.transformToLowercaseeditor.action.transformToUppercase{"key": "ctrl+k ctrl+u","command": "editor.action.transformToUppercase""when": "editorTextFocus"},{"key": "ctrl+k ctrl+l","command": "editor.action.transformToLowercase""when": "editorTextFocus"} ]?
前端開發必備插件
- PostCSS Sorting
- stylelint
- stylefmt
- ESLint
- javascript standard format
- beautify
- Babel ES6/ES7
- Debugger for Chrome
- Add jsdoc comments
- javascript(ES6) code snippets
- vue
- weex
- Reactjs code snippets
- React Native Tools
- Npm Intellisense
- Instant Markdown
- Markdown Shortcuts
- TextTransform
使用等寬字體:
- Fira Code
vscode 自定義配置參考:
?
?
自定義設置參考
vscode 自定義配置參考:
{"editor.fontSize": 16,"editor.tabSize": 2,"editor.fontLigatures": true,// 使用等寬字體 Fira Code"editor.fontFamily": "Fira Code, 'Noto Sans CJK SC Medium', Consolas, 'Courier New', monospace",// 關閉右側的 minimap"editor.minimap.enabled": false,"editor.minimap.renderCharacters": false,"files.associations": {"*.es": "javascript","*.es6": "javascript"},// 控制編輯器是否應呈現空白字符"editor.renderWhitespace": "all",// 啟用后,將在保存文件時剪裁尾隨空格。"files.trimTrailingWhitespace": true,// File extensions that can be beautified as javascript or JSON."beautify.JSfiles": ["","es","es6","js","json","jsbeautifyrc","jshintrc"],// 關閉 git 自動刷新、fetch、add 操作"git.enableSmartCommit": false,"git.enabled": true,"git.autorefresh": false,"git.autofetch": false, }?
?
?
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的Microsoft Visual Studio Code的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 汇编中各寄存器的作用(16位CPU14个
- 下一篇: csplit 分割文件