This is an unofficial extention created by Tobiah Zarlez, and is not affiliated in any way with Unity Technologies.
The goal of this extention is to add miscellaneous functionality to Visual Studio Code for Unity developers.
In this future, this extension will also act as an extension package for other Unity related VSCode extensions. Specfically, "YclepticStudios.unity-snippets" and "Unity.unity-debug" However, that feature is in preview right now, so for now you'll have to manually install the related extensions.
This is not a comprehensive set of tools for Unity development, nor does it provide any debugging features.
If you want to debug your Unity projects, I would recommend getting Unity's official debugger for Visual Studio Code.
Possibly! Let me know, I'd love to hear your suggestions on what tools you'd like to see added to this collection.
You can install this extension directly from the Visual Studio Marketplace.
Launch VS Code Quick Open (Ctrl+P) and copy/paste the following command:
ext install unity-tools
Use the pallet command "Unity Tools: Open Documentation for Selection" (Cmd+'
on OSX or Ctrl+'
on Windows and Linux) to open the Unity Documentation for the currently selected class.
Use the pallet command "Unity Tools: Search Documentation" (Shortcut: Cmd+Shift+'
on OSX or Ctrl+Shift+'
on Windows and Linux) where you can quickly enter whatever you want to search for.
Use the pallet command "Unity Tools: Search MSDN Documentation" where you can enter whatever you want to search the MSDN documentation for.
Added the pallet command "Unity Tools: Open VSCode Documentation" to open the Unity Development with VS Code page on the Visual Studio Code Documentation.
Added the pallet command "Unity Tools: Get VSCode plug-in from the Asset Store" to open dotBunny's Unity plug-in on the Unity Asset Store. Afterwards, will display a message with a link to the How-To and the Git repo for the project.
Added the pallet command "Unity Tools: Generate Organizational Folders" to create some default organizational folders to your project's Assets Folder. The list of default folders are below:
- Scenes
- Scripts
- Prefabs
- Materials
- Audio
The Unity-Tools command Generate Organizational Folders can be configured to create a set of folders of your choosing, instead of the 5 default ones: Scenes, Scripts, Prefabs, Materials, and Audio.
To do this simply open or create ./.vscode/settings.json
and fill in the following fields:
{
"unity-tools.defaultOrganizationFolders" : ["Your","New", "Folder","Names"]
}
Here are some other resources I recommend: