2016-11-25 90 views
0

我想排除特定路径上的文件(例如fe/dist),但它不起作用。在特定路径上排除文件

"files.exclude": { 
    "**/dist": true, // working, but exclude all dist folders (don't want) 

    "fe/dist"   // not working 
    "/fe/dist"  // not working 
    "**/fe/dist"  // not working 
    "./fe/dist"  // not working 
    "${workspaceRoot}/fe/dist": true,   // not working 
} 

有什么想法吗?

回答

0

要排除仅特定嵌套的文件夹(例如FE/DIST),尝试

"files.exclude": { 
    "**fe/dist": true 
} 
+0

大!! Wors!非常感谢 :) –