当前位置:网站首页>Build vscode into an invincible IDE (14) tasks JSON and launch JSON configuration details, add automation tasks at will
Build vscode into an invincible IDE (14) tasks JSON and launch JSON configuration details, add automation tasks at will
2022-06-23 16:01:00 【Wonderful binary】
vscode Is a lightweight text editor , But its extension plug-ins can make it complete IDE, Which depends on tasks.json and launch.json Configuration of . These two files need to be stored in the current project .vscode Under the table of contents .
vscode Some variables are predefined for us to use in json Files use :
Predefined variables
| Variable name | meaning |
|---|---|
| ${workspaceRoot} | The absolute path of the currently open folder + Folder name |
| ${workspaceRootFolderName} | The name of the currently open folder |
| ${file} | Currently open the file name being edited , Including absolute path , file name , File suffix |
| ${relativeFile} | The path from the currently open folder to the currently open file, such as Currently open is test Folder , The current open is main.c, And there are test/first/second/main.c So this variable represents first / second / main.c |
| ${fileBasename} | Currently open file name + Suffix name , Exclude path |
| ${fileBasenameNoExtension} | The file name of the currently open file , Excluding path and suffix |
| ${fileDirname} | The absolute path of the currently open file , Do not include filename |
| ${fileExtname} | The suffix of the currently open file |
| ${cwd} | The current working directory when the task starts running |
| ${lineNumber} | Currently open file &#x |
边栏推荐
猜你喜欢

PageHelper在面对复杂service数据处理下的分页问题
![生成二叉搜索平衡树[利用树递归特性]](/img/b3/f8edf45bdfdced7c3698088dbf7d84.png)
生成二叉搜索平衡树[利用树递归特性]

英特尔Arc A380显卡消息汇总:跑分亮眼驱动拉胯 入门性价产品亟待优化

【TcaplusDB知识库】TcaplusDB Tmonitor模块架构介绍

Three simple tips for accelerating yarn install

513. Find Bottom Left Tree Value

【TcaplusDB知识库】TcaplusDB新增机型介绍

Important knowledge of golang: rwmutex read / write lock analysis

Important knowledge of golang: atomic atomic operation

Important knowledge of golang: waitgroup parsing
随机推荐
MATLAB中iscellstr函数的使用
MySQL中json_extract函数说明
图片保存:torchvision.utils.save_image(img, imgPath)
Web篇_01 了解web開發
How can I get the discount for opening a securities account? Is online account opening safe?
服务器的部署及使用说明
【TcaplusDB知识库】Tmonitor后台一键安装介绍(二)
PageHelper在面对复杂service数据处理下的分页问题
力扣每日一题-第25天-495.提莫攻击
【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)
【TcaplusDB知识库】Tmonitor系统升级介绍
请问期货开户去哪个平台好?网上期货开户安全吗?
【无标题】激光焊接在医疗中的应用
Chapitre Web 01 comprendre le développement web
Charge pump principle handout, how is the voltage "pumped"?
stylegan3:alias-free generative adversarial networks
看,这就是调制解调原理分析!附仿真文件
《ThreadLocal》
C. Phoenix and Towers-Codeforces Global Round 14
英特尔Arc A380显卡消息汇总:跑分亮眼驱动拉胯 入门性价产品亟待优化