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教程
Atas ialah kandungan terperinci vscode实现不显示“.meta”文件. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!