mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 02

2.1 命令行工具

https://github.com/sharkdp/fd

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://git-scm.com/downloads

https://github.com/git-for-windows/git/releases/download/v2.40.0.windows.1/Git-2.40.0-64-bit.exe

https://git-lfs.com/

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中已经安装了。

2.8 path

posted @   fndefbwefsowpvqfx  阅读(93)  评论(0编辑  收藏  举报
(评论功能已被禁用)
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示