Quantcast
Channel: Visual Studio Code
Viewing all articles
Browse latest Browse all 599

VsCode 有没有办法忽略文件的最后一个扩展名(file.ext.bk->file.ext)

$
0
0
平时会创建 bk 、deprecated 结尾的文件,但是 vscode 打开这些文件时会无法识别对应的文件类型。
比如:
1. hellworld.cc.bk 识别为 bk 类型的文件
2. README.md.bk 识别为 bk 类型的文件

有没有办法识别文件的最后一个扩展名为特定单词后忽略它,并使用倒数第二个扩展名?
比如:
1. helloworld.cc.bk 识别为 C++类型
2. README.md.bk 识别为 markdown 类型

Viewing all articles
Browse latest Browse all 599

Trending Articles