If you're an Unity game dev who likes Visual Studio Code, this bundle is for you. I've bundled up the extensions (with settings) that I use when developing in Unity.
Yes, normal Visual Studio is awesome, but I really love Visual Studio Code and am always telling people about it.
This bundle removes the pain point of getting started. Just click, copy settings and go!
- Use the project manager to organize your projects (shift+cmd and start typing "project" for more)
- Get quick GIT info on each line thanks to Git Lens.
- Nice highlighting for DEPRECATED, FIXME, REVIEW, STUB and TODO notes.
- Great Todo Tree that shows all of the spots in your code with DEPRECATED, FIXME, REVIEW, STUB, and TODO. And they have custom colors/icons already setup.
- Enjoy a nice UI from the start.
- and more!
Here's the user settings I'm currently using. Just open user settings in VSC and paste this JSON into there.
These settings are off a Windows machine, so if you're on Linux or Windows, change the editor.fontFamily to something appropriate and you can remove the git.path setting.
And dont' forget to peek at the overall settings because there's a ton you can tweak.
These settings will get you running right away.
{
"auto-close-tag.enableAutoCloseSelfClosingTag": true,
"auto-close-tag.SublimeText3Mode": true,
"bracket-pair-colorizer-2.colors": [
"crimson",
"darkorange",
"mediumseagreen",
"LightSkyBlue"
],
"csharp.format.enable": false,
"color-highlight.markerType": "dot-before",
"editor.cursorStyle": "block",
"editor.fontSize": 14,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.formatOnType": false,
"editor.rulers": [150],
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"git.path": "C:\\Program Files\\Git\\cmd\\git.exe",
"indentRainbow.colors": [
"rgba(16,16,16,0.1)",
"rgba(16,16,16,0.3)",
"rgba(16,16,16,0.6)",
"rgba(16,16,16,0.4)",
"rgba(16,16,16,0.2)"
],
"npm.enableScriptExplorer": true,
"todohighlight.isCaseSensitive": true,
"telemetry.enableTelemetry": false,
"todohighlight.keywords": [
{
"text": "DEPRECATED",
"color": "black",
"backgroundColor": "yellow",
},
{
"text": "FIXME",
"color": "white",
"backgroundColor": "red",
},
{
"text": "REVIEW",
"color": "blue",
"backgroundColor": "white",
},
{
"text": "STUB",
"color": "white",
"backgroundColor": "grey",
},
{
"text": "TODO",
"color": "white",
"backgroundColor": "green",
},
],
"todo-tree.tags": [
"DEPRECATED",
"FIXME",
"REVIEW",
"STUB",
"TODO"
],
"todo-tree.customHighlight": {
"DEPRECATED": {
"icon": "stop",
"iconColour": "yellow"
},
"FIXME": {
"icon": "alert",
"iconColour": "red"
},
"REVIEW": {
"icon": "search",
"iconColour": "white"
},
"STUB": {
"icon": "beaker",
"iconColour": "grey"
},
"TODO": {
"icon": "pin",
"type": "line"
}
},
"workbench.colorCustomizations": {
"editorIndentGuide.activeBackground": "#20b0f3"
},
"workbench.colorTheme": "eppz!",
"workbench.iconTheme": "vscode-icons"
}
Here's a list of extensions in this pack along with any relevant notes.
TODO Hightlight :: Adds highlighting when you put a TODO or FIXME in your code. You can add more words and styles too. If you're using the recommended settings, you already have those plus STUB, REVIEW and DEPRECATED.
TODO Tree :: Nice plugin to see all your TODOs in one place. My settings also grab FIXME, DEPRECATED, STUB and REVIEW. And they have custom icons/colors setup.
Bracket Pair Colorizer :: Colorizes brackets so it's easier to see what section you're in.
Indent Rainbow :: Makes it even easier to see what nest you're in.
Sort Lines :: Easy way to sort lines in the editor.
Project Manager :: Easy way to create/manage projects.
Bookmarks :: Creates a way to bookmark a line of code.
Auto Close Tag :: Creates closing tags, which VSC doesn't do out the box.
Auto Rename Tag :: When you rename a tag, this will rename the closing tag as well.
Prettier :: Adds more code formatting functionality.
Color Highlight :: Shows colors for hex colors it finds in code.
Formatting Toggle :: Quick way to toggle formatting. It puts a one-click toggle in the bottom bar.
Copy Relative Path :: Drop menu off file will now have 'Copy Path' that copies over the relative path of the file.
Partial Diff :: Ability to diff text sections in file or in multiple files.
DotJoshJohnson.xml :: XML formatting/tooling.
Eppz :: C# Unity Theme.
VS Code Icons :: Provides awesome icons for VSC.
Material Theme.
ShaderLab :: Unity shaderlab.
Shader Languages Support :: Shader languages support.
C# XML Doc Comments :: Generates XML doc comments.
Unity Debug :: Debugger extension for Unity.
GIT Lens :: Provides a good way to visualize GIT activity, such as providing GIT data at the ends of lines showing when it was last modified, commit message, etc.
GIT History :: GIT history, search, log and more.