给定文件foo.html
如何从项目的根文件夹中排除特定文件,但不能在其他任何地方排除?
我试过了:
"file_exclude_patterns":[
"foo.html" // ignores everywhere
]
"file_exclude_patterns":[
"./foo.html" // does nothing
]
"file_exclude_patterns":[
"/foo.html" // does nothing
]
答案 0 :(得分:2)
我只能通过指定根文件夹的名称来实现:
"file_exclude_patterns": ["project_folder/foo.html"]