mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 02
2.1 命令行工具
https://github.com/junegunn/fzf
https://github.com/BurntSushi/ripgrep
https://github.com/tree-sitter/tree-sitter
C:\gnu\cli\fd.exe
C:\gnu\cli\fzf.exe
C:\gnu\cli\rg.exe
C:\gnu\cli\tree-sitter.exe
添加到path
2.2 git
https://github.com/git-for-windows/git/releases/download/v2.40.0.windows.1/Git-2.40.0-64-bit.exe
https://github.com/git-lfs/git-lfs/releases/download/v3.3.0/git-lfs-windows-v3.3.0.exe
git config --system core.longpaths true
git config --global user.name "uname"
git config --global user.email "uname@email.com"
git config --global core.autocrlf false
git config --global core.filemode false
git config --global color.ui true
git config --global --add safe.directory '*'
git lfs install
2.3 字体
fixed width font with code icon
Sarasa NF
2.4 windows terminal
https://github.com/microsoft/terminal
https://github.com/PowerShell/PowerShell
配置 windows terminal
2.5 C++ DAP
https://github.com/microsoft/vscode-cpptools
https://github.com/microsoft/vscode-cpptools/releases/download/v1.14.5/cpptools-win64.vsix
windows 下的 nvim-dap C++ DAP
cpptools-win64.vsix
解压到本路径 C:\gnu\tool\cpptools
2.6 node.js
不选择这个,不安装 visual studio, 以后安装某些 npm module 可能会因此出问题。
没有安装这个
====================================================
Tools for Node.js Native Modules Installation Script
====================================================
This script will install Python and the Visual Studio Build Tools, necessary
to compile Node.js native modules. Note that Chocolatey and required Windows
updates will also be installed.
This will require about 3 GiB of free disk space, plus any space necessary to
install Windows updates. This will take a while to run.
Please close all open programs for the duration of the installation. If the
installation fails, please ensure Windows is fully updated, reboot your
computer and try to run this again. This script can be found in the
Start menu under Node.js.
You can close this window to stop now. Detailed instructions to install these
tools manually are available at https://github.com/nodejs/node-gyp#on-windows
安装 nvim 依赖
npm install -g neovim
PS C:\gnu\cli\wt> npm install -g neovim
added 35 packages in 6s
2 packages are looking for funding
run `npm fund` for details
npm notice
npm notice New minor version of npm available! 9.5.0 -> 9.6.3
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.3
npm notice Run npm install -g npm@9.6.3 to update!
npm notice
2.7 python
没有在windows中安装python, msys中已经安装了。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?