






















VSCode 便携模式:https://code.visualstudio.com/docs/editor/portable#_enable-portable-mode
{
"editor.fontSize": 17,
"workbench.iconTheme": "material-icon-theme", //插件
"workbench.colorTheme": "Solarized Light", //自带主题
"editor.fontFamily": "'Fira Code Retina', '微软雅黑', Consolas, 'Courier New', monospace",
"editor.wordWrap": "bounded",
"csharp.referencesCodeLens.enabled": false,
}
在根目录创建 omnisharp.json 文件,添加以下代码:
// 更多属性和全局配置参考 https://github.com/OmniSharp/omnisharp-roslyn/wiki/Configuration-Options
{
"FormattingOptions": {
"NewLinesForBracesInLambdaExpressionBody": false,
"NewLinesForBracesInAnonymousMethods": false,
"NewLinesForBracesInAnonymousTypes": false,
"NewLinesForBracesInControlBlocks": false,
"NewLinesForBracesInTypes": false,
"NewLinesForBracesInMethods": false,
"NewLinesForBracesInProperties": false,
"NewLinesForBracesInObjectCollectionArrayInitializers": false,
"NewLinesForBracesInAccessors": false,
"NewLineForElse": false,
"NewLineForCatch": false,
"NewLineForFinally": false
}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。