1、文件-->首选项-->设置-->工作区设置
2、增加如下配置:
{ "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Store": true, "**/*.meta":true }, "search.exclude": { "**/node_modules": true, "**/bower_components": true, "**/.git": true, "**/.svn": true, "**/*.meta":true } }
3、用户配置
{ "git.ignoreMissingGitWarning": true, "sublimeTextKeymap.promptV3Features": true, "editor.multiCursorModifier": "ctrlCmd", "editor.snippetSuggestions": "top", "editor.formatOnPaste": true, "git.ignoreLegacyWarning": true, "csharp.format.enable": false, "terminal.integrated.shell.windows": "F:\\Git\\bin\\bash.exe", "editor.fontSize": 18, "workbench.colorTheme": "Monokai", "editor.autoIndent": false, "files.exclude": { "**/*.meta": true } }
相关文章教程推荐:vscode教程
以上是vscode實作不顯示「.meta」文件的詳細內容。更多資訊請關注PHP中文網其他相關文章!