Visual studio code 当cmd+;在更少的文件中单击(@import";~path/for/index.less";)

Visual studio code 当cmd+;在更少的文件中单击(@import";~path/for/index.less";),visual-studio-code,less,less-loader,Visual Studio Code,Less,Less Loader,我正在导入一个较少的文件和以“~”开头的url 我想通过cmd+单击url转到该文件,但出现了一个错误,错误是: Unable to open 'index.less': File not found (file:///Users/jameslam/Sites/Playground/my-first-iview/src/~iview/src/styles/index.less). vscode似乎无法理解url中的“~”,url代表/node\u modules/ 如何设置配置以使vscod

我正在导入一个较少的文件和以“~”开头的url

我想通过cmd+单击url转到该文件,但出现了一个错误,错误是:

Unable to open 'index.less': File not found 
(file:///Users/jameslam/Sites/Playground/my-first-iview/src/~iview/src/styles/index.less).
vscode似乎无法理解url中的“~”,url代表
/node\u modules/
如何设置配置以使vscode支持该配置

期望: 单击url时,打开index.less(file:///Users/jameslam/Sites/Playground/my-first-iview/node_modules/iview/src/styles/index.less)

请参见自v1.57起。请参见自v1.57起。
Unable to open 'index.less': File not found 
(file:///Users/jameslam/Sites/Playground/my-first-iview/src/~iview/src/styles/index.less).