Update:
Thanks to everyone who participated in early preview of this debugger extension. You can now install the extension from the Visual Studio Marketplace!
Feel free to leave any comments on the extension in this thread.
cant speak to how stable VS Code is, since im a VS pro user, but i think it will come down to preference. VS Code is growing very fast, and has all the basics down.
Though i have noticed the syntax highligting of VS Code dost seem quite right yet. It dosnt seem t highlight type names in code like VS proper or MonoDev would, which really harms readability. The weird part is that OmniSharp obviously know what the types are since it will give a next tooltip for Typename when hovered.
I was quite impressed with VS code and it does have some really neat features, like listing number of references next to attributes. The highlighting is as mentioned not that good by some reason, the only deal breaker as I see to use it in daily development is that it lacks tabs. The font rendering on Mac is also a little iffy compared to old Monodevelop or Sublime text.
VS Code is already really good. Itās maybe missing a few things here and there, but the addition of extensions in the latest version and the fact that itās open source will probably make it evolve even faster.
I believe the lack of tabs is by design. Itās a different approach to file editing. Rather than having a few visible tabs on top, you have a list of all files youāre currently editing on the left, under āworking filesā. Itās a much easier way to browse, and names are more visible. But itās also a different paradigm than most editors use, so I can understand why it doesnāt feel natural to some peopleā¦ but, once you get used to it, itās a much better approach to editing projects especially when you take source control into account.
This is pretty symbolic of what VSC is to me. Itās not trying to be a clone of Mono Develop, or Visual Studio. Itās only doping the basics so far, but doing it better because it can start from scratch and from lessons learned in other lightweight editors like sublime. Thereās no āproject filesā either - you open the folder and thatās your project. Thatās another example of the editorās anti-monolithic approach.
Iāve been using this to do my work this morning and so far it is working mostly great. You might want to add some additional steps to the Install Instructions to tell people how to set VC Code as their external script editor and set "window.openInNewWindow": false in the settings file to make this a full workflow replacement of Monodevelop, since some people may have never user alternative script editors.
VS Code doesnāt seem to understand namespaces very well though. In this example it claims the EggZagStoreData class doesnāt exist, which is defined under the Elink.Eggzag.Store namespace. EggZagStoreData extends from ScriptableObject which extends from Object so it should have a definition for name but youāll notice that this.name is also highlighted.
I agree with Cybexx, namespace arenāt working all that great for now. Same with hovering on static member variables, but that could be a consequence of the namespace pb (static function nested in class nested in namespace). Same when adding these variables into the watch window ā not evaluated.
Also, I wish I had some sort of project and see/browse all the files (maybe I missed something), something like Alt-Shift-O (for those familiar with Visual Assist). A similar search for symbols would also be VERY nice.
Overall, this is promising. VS Code wasnāt available ~6 months ago and itās getting a lot of love. A few more strong iterations and weāll be able to ditch Mono (no tears here!) and wonāt have to bother with Visual Studio running in a VM.
Iāve been using VSCode to write C# scripts for my Unity project on OSX, but it seems to fail at the most basic tasks.
The format code option hasnāt worked for me in the past few releases of VSCode on OSX - even when selecting a block of code, right clicking and hitting āformat codeā it does nothing.
And the autocompletion is very strange, when I write āif(ā it often replaces it with āif(())āā¦
Is anyone else having similar issues with developing for Unity in VSCode on OSX?