码迷,mamicode.com
首页 > 其他好文 > 详细

vscode 常用变量

时间:2020-05-11 15:51:53      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:contain   number   nta   extension   ace   ash   work   relative   sele   

  • ${workspaceFolder} the path of the workspace folder that contains the tasks.json file
  • ${workspaceRootFolderName} the name of the folder opened in VS Code without any slashes (/)
  • ${file} the current opened file
  • ${relativeFile} the current opened file relative to the workspace folder containing the file
  • ${fileBasename} the current opened file‘s basename
  • ${fileBasenameNoExtension} the current opened file‘s basename without the extension
  • ${fileDirname} the current opened file‘s dirname
  • ${fileExtname} the current opened file‘s extension
  • ${cwd} the task runner‘s current working directory on startup
  • ${lineNumber} the current selected line number in the active file

vscode 常用变量

标签:contain   number   nta   extension   ace   ash   work   relative   sele   

原文地址:https://www.cnblogs.com/dzqdzq/p/12869073.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!