VsCode 添加忽略meta文件

VsCode 添加忽略meta文件,第1张

{

    "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

    },

        "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

        },

        "window.zoomLevel": -1,

        "editor.codeActionsOnSave": null

}

SVN使用时,如果是用命令行模式 *** 作,那么每次上传(commit)新文件前,必须先执行add,这是必须的;

如果是用toeroisesvn这样的客户端来 *** 作,那么可以在对整个文件夹commit时,勾选全部的新增文件,这样可以省去一次add *** 作,实际就是tortoisesvn客户端自动帮你做了add *** 作。

不清楚你说的被忽略是指什么现象,总不会是被打上了忽略标记吧?如果真是被打了忽略标记,你检查一下全局忽略样式的设置,如果tortoisesvn客户端的话,就是右键菜单tortoisesvn——设置,这个页面的“全局忽略样式”这里设置了什么样的文件会被自动忽略。


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/bake/11593360.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-17
下一篇 2023-05-17

发表评论

登录后才能评论

评论列表(0条)

保存