当前位置:网站首页>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 |
边栏推荐
- 为什么高通滤波器也能变成微分器?
- Horizon development board commissioning
- Important knowledge of golang: mutex
- 解决:在验证阶段,第一个batch不会报错,第二个batch报cuda超出的错误
- [MAE]Masked Autoencoders掩膜自编码器
- 139. word splitting
- 12 BeautifulSoup类的初始化
- Important knowledge of golang: rwmutex read / write lock analysis
- js 对象 使用小技巧
- The running rabbit fell
猜你喜欢

进阶开发阶段-势若悬丝的加粗开始. 现在的一小步,明年的一大步

Sleuth + Zipkin

stylegan2:analyzing and improving the image quality of stylegan

window远程桌面连接互传文件加速小技巧

FPN特征金字塔网络

任何代码未动的情况下第二天项目访问速度明显下降,案例分析

【TcaplusDB知识库】Tmonitor系统升级介绍

解决:在验证阶段,第一个batch不会报错,第二个batch报cuda超出的错误

Important knowledge of golang: rwmutex read / write lock analysis

If no code is moved, the project access speed drops significantly the next day. Case analysis
随机推荐
企业想上MES系统?还得满足这些条件
B. AND 0, Sum Big-Codeforces Round #716 (Div. 2)
5 minutes to quickly launch web applications and APIs (vercel)
一文看懂经典BUCK-BOOST负电压电路
js中 if 直接判断 数据类型 结果举例
解决:在验证阶段,第一个batch不会报错,第二个batch报cuda超出的错误
Memory Consistency and Cache Coherence —— 内存一致性
Important knowledge of golang: rwmutex read / write lock analysis
OpenResty 基础
电荷泵原理讲义,电压是怎么“泵”上去的?
Important knowledge of golang: mutex
139. word splitting
Important knowledge of golang: waitgroup parsing
Nfnet: extension of NF RESNET without BN's 4096 super batch size training | 21 year paper
MySQL中json_extract函数说明
Sleuth + Zipkin
子级文件拖到上一级
matlab: 如何从一些数据里知道是由哪些数据相加得出一个已知数
任何代码未动的情况下第二天项目访问速度明显下降,案例分析
Explore the "store" on the cloud. The cloud store is newly upgraded!