2016-11-25 62 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!非常感謝 :) –