Studio code 中关于svn2.11.1配置

vsiual Studio code 中关于svn2.11.1配置

在学习中成长

在使用中学习东西,第一次使用vscode 配置svn做全部记录。

配置项说明

  1. “svn.autorefresh”:true, //是否启用自动刷新

  2. “svn.commit.changes.selectedAll”:true, //在提交更改时选择所有文件

  3. “svn.commit.checkEmptyMessage”:true,// 提交前检查空消息

  4. “svn.conflicts.autoResolve”:none, //将文件设置为在修复冲突后已解决的状态

  5. “svn.default.encoding”:空, //如果输出不是utf-8,则对svn输出进行编码。当此参数为空时,将自动检测编码。例如:“windows - 1252”。

  6. “svn.defaultCheckoutDirectory”:空, //检出svn存储库的默认位置。

  7. “svn.delete.actionForDeletedFiles”: “prompt” //值:[“none”,“prompt”,“remove”],//当一个文件被删除时,SVN应该做什么?“none”—什么也不做,“prompt”—请求操作,“remove”—从SVN中自动删除

  8. “svn.delete.ignoredRulesForDeletedFiles”: [], //忽略“svn.delete.actionForDeletedFiles”的文件/规则(例如:file.txt或**/*.txt)

  9. “svn.detectExternals”:true, //控制是否自动检测svn外部。

  10. “svn.detectIgnored”:没错, //控制是否在忽略的文件夹上自动检测svn。

  11. “svn.diff.withHead”:true, //使用存储库中的最新修订显示差异更改。将false设置为在本地文件夹中使用最新修订

  12. “svn.启用”:true, //是否启用svn

  13. “svn.experimental.detect_encoding”:空, //试试实验性的编码检测

  14. “svn.experimental.encoding_priority”: [], //编码的优先级

  15. “svn.gravatar.icon_url”:“https://www.gravatar.com/avatar/ < AUTHOR_MD5 > . jpg ? s = <大小>研发= robohash ", //使用, <AUTHOR_MD5>和占位符的庄严图标的Url

  16. “svn.gravatars.启用”:true, //在日志查看器中使用garavatar图标

  17. “svn.ignoreMissingSvnWarning”:空, 忽略SVN缺失时的警告

  18. “svn.ignoreRepositories”:空, //要忽略的SVN存储库列表。

  19. “svn.ignoreWorkingCopyIsTooOld”:空, 当工作副本太旧时忽略警告

  20. “svn.layout.branchesRegex”:“分支/ ([^ /]+)(/ . *)?” // Regex检测SVN URL中“分支”的路径,禁用“null”。子路径使用“分支/ [^ /]+ / ([^ /]+)(/ . *)?”(例:“分支/……”、“版本/……)

  21. “svn.layout.branchesRegexName”: 1、 // Regex group的分支名称位置

  22. “svn.layout.showFullName”:没错, //将true设置为显示“branch /”,将false设置为只显示“”

  23. “svn.layout。tagRegexName”: 1、 //标签名称的正则组位置

  24. “svn.layout.tagsRegex”:“标签/ ([^ /]+)(/ . *)?” // Regex检测SVN URL中“标记”的路径,禁用“null”。子路径使用的标签/ [^]+ / ([^ /]+)(/ . *)?”。(例:‘标签/…’,'邮票/……)

  25. “svn.layout.trunkRegex”:“(树干)(/ . *)?” // Regex检测SVN URL中“trunk”的路径,禁用“null”。(例:“(树干)”、“(主要)”)

  26. “svn.layout.trunkRegexName”: 1、 // 中继名称的正则表达式组位置

  27. “svn.log.长度”:50, 提交到日志的消息的数量

  28. “svn.multipleFolders.depth”: 4 //使用SVN查找子文件夹的最大深度

  29. “svn.multipleFolders。启用”:空, //允许使用SVN查找子文件夹

  30. “svn.multipleFolders。忽略”:“* * / .”,“* * / .hg”、“* * /供应商”、“* * / node_modules”), //文件夹来忽略使用SVN

  31. “svn.path”:空, //指向svn可执行文件的路径

  32. “svn.refresh.remoteChanges”:空, //刷新远程更改刷新命令

  33. “svn.remoteChanges.checkFrequency”: 300年, //设置间隔(以秒为单位),检查远程存储库中更改的文件,并在statusbar中显示。0禁用

  34. “svn.showOutput”:空, //在扩展开始时显示输出窗口

  35. “svn.showUpdateMessage”:true, //在运行更新时显示更新消息

  36. “svn.sourceControl.vaule:[“open”,“open diff”],//设置更改资源状态时的左键单击功能

  37. “svn.sourceControl.combineExternalIfSameServer”:空, //将主if中的外部svn与来自同一台服务器的svn合并。

  38. “svn.sourceControl.countUnversioned”:true, //允许在状态计数中计算未版本化的文件

  39. “svn.sourceControl.hideUnversioned”:空, //将未版本控制的文件隐藏在源代码控制UI中

  40. “svn.sourceControl.ignoreOnCommit”:“ignore-on-commit”, //提交时忽略更改列表

  41. “svn.sourceControl.ignoreOnStatusCount”:“ignore-on-commit”, //在状态计数时忽略更改列表

  42. “svn.update.ignoreExternals”:true //设置为在更新时忽略外部定义(添加——ignore-externals)

如何找到配置文件

在这里插入图片描述

setting.json配置文件

{
// Whether auto refreshing is enabled
“svn.autorefresh”: true,

// Select all files when commit changes
“svn.commit.changes.selectedAll”: true,

// Check empty message before commit
“svn.commit.checkEmptyMessage”: true,

// Set file to status resolved after fix conflicts
“svn.conflicts.autoResolve”: null,

// Encoding of svn output if the output is not utf-8. When this parameter is null, the encoding is automatically detected. Example: ‘windows-1252’.
“svn.default.encoding”: null,

// The default location to checkout a svn repository.
“svn.defaultCheckoutDirectory”: null,

// When a file is deleted, what SVN should do? none - Do nothing, prompt - Ask the action, remove - automatically remove from SVN
“svn.delete.actionForDeletedFiles”: “prompt” // values: [“none”,“prompt”,“remove”],

// Ignored files/rules for svn.delete.actionForDeletedFiles(Ex.: file.txt or **/*.txt)
“svn.delete.ignoredRulesForDeletedFiles”: [],

// Controls whether to automatically detect svn externals.
“svn.detectExternals”: true,

// Controls whether to automatically detect svn on ignored folders.
“svn.detectIgnored”: true,

// Show diff changes using latest revision in the repository. Set false to use latest revision in local folder
“svn.diff.withHead”: true,

// Whether svn is enabled
“svn.enabled”: true,

// Try the experimental encoding detection
“svn.experimental.detect_encoding”: null,

// Priority of encoding
“svn.experimental.encoding_priority”: [],

// Url for the gravitar icon using the , <AUTHOR_MD5> and placeholders
“svn.gravatar.icon_url”: “https://www.gravatar.com/avatar/<AUTHOR_MD5>.jpg?s=&d=robohash”,

// Use garavatar icons in log viewers
“svn.gravatars.enabled”: true,

// Ignores the warning when SVN is missing
“svn.ignoreMissingSvnWarning”: null,

// List of SVN repositories to ignore.
“svn.ignoreRepositories”: null,

// Ignores the warning when working copy is too old
“svn.ignoreWorkingCopyIsTooOld”: null,

// Regex to detect path for ‘branches’ in SVN URL, ‘null’ to disable. Subpath use 'branches/[/]+/([/]+)(/.)?’ (Ex.: ‘branches/…’, ‘versions/…’)
“svn.layout.branchesRegex”: "branches/([^/]+)(/.
)?",

// Regex group position for name of branch
“svn.layout.branchesRegexName”: 1,

// Set true to show ‘branches/’ and false to show only ‘’
“svn.layout.showFullName”: true,

// Regex group position for name of tag
“svn.layout.tagRegexName”: 1,

// Regex to detect path for ‘tags’ in SVN URL, ‘null’ to disable. Subpath use 'tags/[/]+/([/]+)(/.)?’. (Ex.: ‘tags/…’, ‘stamps/…’)
“svn.layout.tagsRegex”: "tags/([^/]+)(/.
)?",

// Regex to detect path for ‘trunk’ in SVN URL, ‘null’ to disable. (Ex.: ‘(trunk)’, ‘(main)’)
“svn.layout.trunkRegex”: “(trunk)(/.*)?”,

// Regex group position for name of trunk
“svn.layout.trunkRegexName”: 1,

// Number of commit messages to log
“svn.log.length”: 50,

// Maximum depth to find subfolders using SVN
“svn.multipleFolders.depth”: 4,

// Allow to find subfolders using SVN
“svn.multipleFolders.enabled”: null,

// Folders to ignore using SVN
“svn.multipleFolders.ignore”: ["/.git","/.hg","/vendor","/node_modules"],

// Path to the svn executable
“svn.path”: null,

// Refresh remote changes on refresh command
“svn.refresh.remoteChanges”: null,

// Set the interval in seconds to check changed files on remote repository and show in statusbar. 0 to disable
“svn.remoteChanges.checkFrequency”: 300,

// Show the output window when the extension starts
“svn.showOutput”: null,

// Show the update message when update is run
“svn.showUpdateMessage”: true,

// Set left click functionality on changes resource state
“svn.sourceControl.changesLeftClick”: “open diff” // values: [“open”,“open diff”],

// Combine the svn external in the main if is from the same server.
“svn.sourceControl.combineExternalIfSameServer”: null,

// Allow to count unversioned files in status count
“svn.sourceControl.countUnversioned”: true,

// Hide unversioned files in Source Control UI
“svn.sourceControl.hideUnversioned”: null,

// Changelists to ignore on commit
“svn.sourceControl.ignoreOnCommit”: [“ignore-on-commit”],

// Changelists to ignore on status count
“svn.sourceControl.ignoreOnStatusCount”: [“ignore-on-commit”],

// Set to ignore externals definitions on update (add --ignore-externals)
“svn.update.ignoreExternals”: true
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值