当前位置:网站首页>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 |
边栏推荐
- TCP协议三次握手和四次挥手抓包分析
- 【TcaplusDB知识库】TcaplusDB新增机型介绍
- PageHelper在面对复杂service数据处理下的分页问题
- Large area and availability area
- How can I get the discount for opening a securities account? Is online account opening safe?
- MATLAB中iscellstr函数的使用
- Embedded software architecture design - program layering
- VIM backup history command
- Sleuth + Zipkin
- stylegan2:analyzing and improving the image quality of stylegan
猜你喜欢

《Apache Commons 工具类》

服务器的部署及使用说明

MySQL series: overview of the overall architecture

Convert JSON file of labelme to coco dataset format

总结一下购买阿里云服务器的经验

【无标题】激光焊接在医疗中的应用

Important knowledge of golang: timer timer

Shandong: food "hidden money", consumption "sweeping monk"
![[MAE]Masked Autoencoders掩膜自编码器](/img/08/5ab2b0d5b81c723919046699bb6f6d.png)
[MAE]Masked Autoencoders掩膜自编码器

自监督学习(SSL)Self-Supervised Learning
随机推荐
139. 單詞拆分
matlab: 如何从一些数据里知道是由哪些数据相加得出一个已知数
要买的理财产品年限长,划算吗?
HBuilderX-Light 主题能不能加个批注功能?
医学影像分割的网站
VIM backup history command
任何代码未动的情况下第二天项目访问速度明显下降,案例分析
uniapp对接腾讯即时通讯TIM 发图片消息问题
电荷泵原理讲义,电压是怎么“泵”上去的?
【OpenHarmony】usb gadget 配置hdc功能cfg文件解读
【无标题】激光焊接在医疗中的应用
Usestate vs useref and usereducer: similarities, differences and use cases
FPGA 常用缩写及单词在工程领域内的意义
Charge pump principle handout, how is the voltage "pumped"?
Thymeleaf——学习笔记
怎样快速的应对变动的生产管理需求?
Analysis of TCP three-time handshake and four-time handshake
【TcaplusDB知识库】Tmonitor系统升级介绍
《Apache Commons 工具类》
readImg: 读取图片到Variable变量