惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Securelist
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
V
V2EX
小众软件
小众软件
博客园 - 聂微东
H
Help Net Security
阮一峰的网络日志
阮一峰的网络日志
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
F
Fortinet All Blogs
S
Schneier on Security
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
Vercel News
Vercel News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
Google Online Security Blog
Google Online Security Blog
Webroot Blog
Webroot Blog
A
Arctic Wolf
量子位
博客园 - 叶小钗
I
Intezer
C
Check Point Blog
Cloudbric
Cloudbric
IT之家
IT之家
Last Week in AI
Last Week in AI
GbyAI
GbyAI
Attack and Defense Labs
Attack and Defense Labs
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
Jina AI
Jina AI
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Threat Research - Cisco Blogs
C
CERT Recently Published Vulnerability Notes
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cisco Blogs
J
Java Code Geeks
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Engineering at Meta
Engineering at Meta
酷 壳 – CoolShell
酷 壳 – CoolShell
L
Lohrmann on Cybersecurity
有赞技术团队
有赞技术团队
Simon Willison's Weblog
Simon Willison's Weblog
The Register - Security
The Register - Security
T
Threatpost

博客园 - 野生西瓜

[Unity 杂货铺] SpriteAtlas 和 SBP 打包 [Unity 杂货铺] 游戏字体选择 [Unity 杂货铺] 游戏项目的结构规划与初始化 [Unity 杂货铺] Git 配置与实践 [Unity 杂货铺] 引擎版本的选择 [Unity] 基础寻路算法 - 环境搭建 [Unity] 引擎脚本相关的字符串优化 [Unity] 基础寻路算法 - 代码实践 [Unity] 资源工作流程 - AssetPostprocessor [Unity] 资源工作流程 - ScriptedImporter [Unity] 资源工作流程 - 辅助工具 [Lua游戏AI开发指南] 笔记零 - 框架搭建 [GAME] [Civilization] 文明6字体及字体大小修改 [Unity] 编辑器运行中动态编译执行C#代码 [Unity] 在软件标题栏显示工作路径 [GAMEDEV] 个人开发如何找到合适的图片素材? [施工中] 博客导航 2021 的书 [theHunterCOTW] 猎人荒野的召唤-一点资料
[BACKUP] Visual Studio Code 配置
野生西瓜 · 2020-12-19 · via 博客园 - 野生西瓜

0

VSCode 便携模式:https://code.visualstudio.com/docs/editor/portable#_enable-portable-mode

1. 字体

  1. FiraCode, https://github.com/tonsky/FiraCode
  2. source-code-pro, https://github.com/adobe-fonts/source-code-pro

2. settings.json

{
    "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,
}

3. 插件

  1. Chinese,中文包,https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-zh-hans
  2. C#,https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp
  3. Material Icon Theme,文件图标,https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
  4. TabOut,简单跳出右括号,https://marketplace.visualstudio.com/items?itemName=albert.TabOut
  5. Unity Tools,https://marketplace.visualstudio.com/items?itemName=Tobiah.unity-tools
  6. Debugger for Unity,https://marketplace.visualstudio.com/items?itemName=Unity.unity-debug
  7. Unity Code Snippets,MonoBehaviours 等方法提示补全,https://marketplace.visualstudio.com/items?itemName=kleber-swf.unity-code-snippets
  8. XML Tools,https://marketplace.visualstudio.com/items?itemName=DotJoshJohnson.xml

4. Vscode 中设置C#右大括号不换行

在根目录创建 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
    }
}