VS code 的变量设定
生活随笔
收集整理的這篇文章主要介紹了
VS code 的变量设定
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
文檔來自https://code.visualstudio.com/docs/editor/variables-reference
預(yù)定義的變量有:
- ${workspaceFolder}?- the path of the folder opened in VS Code
- ${workspaceFolderBasename}?- the name of the folder opened in VS Code without any slashes (/)
- ${file}?- the current opened file
- ${relativeFile}?- the current opened file relative to?workspaceFolder
- ${fileBasename}?- the current opened file's basename
- ${fileBasenameNoExtension}?- the current opened file's basename with no file 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
- ${selectedText}?- the current selected text in the active file
?
轉(zhuǎn)載于:https://www.cnblogs.com/hushuangpu/p/9491741.html
總結(jié)
以上是生活随笔為你收集整理的VS code 的变量设定的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 爬虫利器 puppeteer
- 下一篇: Pots POJ - 3414