简体   繁体   English

文件名中带有反引号的 VSCode 问题匹配器

[英]VSCode problem matcher with backtick in filename

My project has files like "Bar`1.cs" to represent generic types, as is done in the do.net SDK.我的项目有像“Bar`1.cs”这样的文件来表示泛型类型,就像在 do.net SDK 中所做的那样。

My build task contains "problemMatcher": { "base": "$msCompile" } .我的构建任务包含"problemMatcher": { "base": "$msCompile" }

When such a file has errors/warnings, I get this:当这样的文件有错误/警告时,我得到这个:

/home/username/project/Foo/Bar`1.Tests.cs (458,23): warning 123: some warning [/home/username/project/Foo.Tests.csproj] /home/username/project/Foo/Bar`1.Tests.cs (458,23): 警告 123: 一些警告 [/home/username/project/Foo.Tests.csproj]

...which is fine. ...这很好。 But I cannot control-click on that filename to open it.但我无法控制并单击该文件名来打开它。 The file's path is not underlined as normal - there is a clickable part before the bactick, and after.文件的路径没有正常下划线 - 在 bactick 之前和之后有一个可点击的部分。

How can I fix the click behaviour without changing filenames (impossible)?如何在不更改文件名的情况下修复点击行为(不可能)?

This bug seems to be been fixed .此错误似乎已修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 NSubstitute-带有ref / out的参数匹配器问题 - NSubstitute - Argument matcher problem with ref / out Visual Studio调试器不会在文件名中带有“(反引号)”的文件中加载符号。有谁能解释一下? - The Visual Studio debugger will not load symbols in files having a ` (backtick) in the filename. Can anyone explain this? 创建正则表达式以匹配文件名时出现问题 - Problem creating regex to match filename 更改文件名时Regex.Replace()出现问题 - Problem with Regex.Replace() while changing a filename 在页面之间传递文件名时出现问题(查询字符串) - Problem passing filename between pages (query string) 为什么 Unity 发现了问题,而 VSCode 没有发现问题? - Why does Unity found a problem but VSCode found none? manjaro linux 上的 vscode 问题,错误 MSB4025: - problem on vscode on manjaro linux, error MSB4025: XNA Keys枚举中的反引号(`)键的名称是什么? - What is the name of the backtick (`) key in the XNA Keys enumeration? 为什么MakeGenericType会在创建的类型中添加反引号? - why does MakeGenericType put a backtick in the type it creates? 使用 openxml 编辑文件后,我们发现“filename.xls”中的某些内容存在问题 - We found a problem with some content in 'filename.xls' after editing file with openxml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM