Mac上XCode太占空間,卸載然后安裝VSCode和Clang。在VSCode中再安裝extension C/C++和Code Runner,配置Tasks: Configure Task,就可以開始Run C++ program了。
Visual Studio Code - Code Editing. Redefined
- https://code.visualstudio.com/
- https://code.visualstudio.com/docs/languages/cpp
- https://code.visualstudio.com/docs/cpp/config-clang-mac
- https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
- keyboard-shortcuts-windows.pdf
Clang - Wikipedia
- https://en.wikipedia.org/wiki/Clang
- Clang/ˈklæŋ/[5] is a compiler front end for the C, C++, Objective-C and Objective-C++ programming languages, as well as the OpenMP,[6] OpenCL, RenderScript and CUDAframeworks. It uses the LLVM compiler infrastructure as its back end and has been part of the LLVM release cycle since LLVM 2.6.
- It is designed to act as a drop-in replacement for the GNU Compiler Collection (GCC), supporting most of its compilation flags and unofficial language extensions.[7][8] Its contributors include Apple, Microsoft, Google, ARM, Sony, Intel and Advanced Micro Devices (AMD). It is open-source software,[9] with source code released under the University of Illinois/NCSA License, a permissive free software licence.
- The Clang project includes the Clang front end, a static analyzer and several code analysis tools.[10]
Comparing Clang to other open source compilers
- https://clang.llvm.org/comparison.html
Clang C/C++ Download and Installation Instructions
Web 版 VS Code 來了!
Vscode 小白使用介紹
VS Code 最強插件指南 - CSDN
- https://mp.weixin.qq.com/s/MshppwwRFmbFx3aR7FVpEQ
- https://www.freecodecamp.org/news/favorite-vs-code-extensions-2017-786ea235812f/
在用VSCode? 看完這篇文章, 開發效率翻倍!
動圖演示11個必備 VS Code 插件
不光要用Python,還要在VSCode里用
- https://mp.weixin.qq.com/s/KnMcDbP0_k6OBxR3NSOa5A
- https://blog.csdn.net/bigbennyguo/article/details/104704023
Node.js不容錯過的 Visual Studio Code 十大擴展組件
用 VSCode 寫 python 的正確姿勢
推薦一款Python編輯器,集Pycharm和Sublime優點於一身的王者
來安裝一個酷炫的 VS Code 主題
微軟VS Code已原生支持Jupyter筆記本,再也不用打開網頁調試運行了
使用VSCode進行遠程煉丹
VS Code 必知必會的 20 個快捷鍵!
- https://mp.weixin.qq.com/s/t7TLBOcnOs0AkncCVsYr9Q
- https://medium.com/better-programming/20-vs-code-shortcuts-for-fast-coding-cheatsheet-10b0e72fd5d
Debugging configurations for Python apps in Visual Studio Code
PLUGINS
All Autocomplete
- https://marketplace.visualstudio.com/items?itemName=Atishay-Jain.All-Autocomplete
- Create autocomplete items from open files in VSCode.
Bracket Pair Colorizer
- https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer
- A customizable extension for colorizing matching brackets
Browser Preview
- https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview
- A real browser preview inside your editor that you can debug.
GitLens — Git supercharged
- https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
- Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more
Nord Wave
- https://marketplace.visualstudio.com/items?itemName=dnlytras.nord-wave
- Darker version of the awesome Nord theme
PostgreSQL
- https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-postgresql
- Develop Postgres everywhere
Python
- https://marketplace.visualstudio.com/items?itemName=ms-python.python
- Linting, Debugging (multi-threaded, remote), Intellisense, Jupyter Notebooks, code formatting, refactoring, unit tests, snippets, and more.
Python Indent
- https://marketplace.visualstudio.com/items?itemName=KevinRose.vsc-python-indent
- Correct python indentation.
Remote - SSH
- https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh
- Open any folder on a remote machine using SSH and take advantage of VS Code's full feature set.
LaTeX Workshop
- https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop
- Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
Material Theme
- https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme
- The most epic theme now for Visual Studio Code
Test Explorer UI
- https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-test-explorer
- Run your tests in the Sidebar of Visual Studio Code
How to change the launched folder ?
- Navigate to your project folder and type
code .
- The Visual Studio Code Command Line Options
- https://code.visualstudio.com/docs/editor/command-line#_launching-from-command-line
How to fix remote connection error: The process tried to write to a nonexistent pipe ?
- Remote Explorer - SSH TARGETS - Configure - Settings - Specify the absolute file path, e.g. C:\Users\hao\.ssh\config.
- ssh - VScode remote connection error: The process tried to write to a nonexistent pipe - Stack Overflow
How to fix "/.ssh/id_rsa is too open. It is required to be not accessible by others. The private key is ignored" ?
- /.ssh/id_rsa - Properties - Security - Advance - Disable inheritance - remove other users and just keep your user