Skip to content

luckyhappycat/auto-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-vscode

自动生成vscode配置文件,包括:

c_cpp_properties.json
launch.json
settings.json
tasks.json

将脚本移至/usr/local/bin

mv vscode.sh /usr/local/bin
sudo chmod +x /usr/local/bin/vscode.sh

创建别名:

vim ~/.bashrc

添加以下内容:

alias vscode="/usr/local/bin/vscode.sh"

生效:

source ~/.bashrc

使用方法:

vscode g++

然后就可以使用F5调试运行C++代码啦。

About

自动生成vscode编译运行C++的配置文件

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages