Visual Studio and Visual Studio Code (vscode)
更新 : 2021-02-13
auto refresh when save
https://dev.to/juxant/auto-refresh-with-dotnet-watch-for-asp-net-core-projects-20no
option > Project and Solution > Asp.net core > auto buuld refresh options 选 after save change
只有在 non debug mode 才管用哦
vs code 不需要看到 refrence
把 editor.codeLens 关掉就可以了
更新 : 2017-03-01
https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify
这个插件可以让 html 整理起来比较好看.
调东西 :
左上角 File -> Preferences -> Workspace Settings ( User Settings 也可以, 它是 for 所有的 project, Workspace 是针对目前这个 project )
1. hide .js, .map when use .ts
and node_mudules, debug.log
"files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/.DS_Store": true, // add on "**/node_modules/": true, "**/npm-debug.log*/": true, "**/*.js.map": true, "**/*.js": {"when": "$(basename).ts"} }
2.Zoom with mouse Wheel
"editor.mouseWheelZoom": true
2.1 scroll bar 旁边的小图
"editor.minimap.enabled": true
3.修改热键
https://code.visualstudio.com/Docs/customization/keybindings
File > Preferences > Keyboard Shortcuts. (Code > Preferences > Keyboard Shortcuts on Mac)
// Place your key bindings in this file to overwrite the defaults [ { "key": "ctrl+l", "command": "editor.action.deleteLines", "when": "editorTextFocus && !editorReadonly" }, { "key": "ctrl+k ctrl+f", "command": "editor.action.format", "when": "editorHasFormattingProvider && editorTextFocus && !editorReadonly" }, { "key": "ctrl+w", //本来是 ctrl+d, 而本来的 ctrl+w 是close window (看左边参考) "command": "editor.action.addSelectionToNextFindMatch", "when": "editorFocus" } ] // Fold (Ctrl+Shift+[) folds the innermost uncollapsed region at the cursor // Unfold (Ctrl+Shift+]) unfolds the collapsed region at the cursor // Fold All (Ctrl+K Ctrl+0) folds all region in the editor // Unfold All (Ctrl+K Ctrl+J) unfolds all regions in the editor
4. 常用 hotkeys (vscode and vs2015)
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
· PostgreSQL 和 SQL Server 在统计信息维护中的关键差异
· C++代码改造为UTF-8编码问题的总结
· DeepSeek 解答了困扰我五年的技术问题
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 推荐几款开源且免费的 .NET MAUI 组件库
· 实操Deepseek接入个人知识库
· 易语言 —— 开山篇
· 【全网最全教程】使用最强DeepSeekR1+联网的火山引擎,没有生成长度限制,DeepSeek本体