I've installed the latest NativeScript extension for Visual Studio Code (https://www.nativescript.org/nativescript-for-visual-studio-code). Supposedly the extension does support intellisense: "With Intellisense, interactive debugging and integration with device emulators, the NativeScript extension for Visual Studio Code provides the most feature complete environment for NativeScript Development". However, in my Page.xml files there is no such thing as intellisense. Am I doing something wrong here?
One alternative if you are ok working with React in NativeScriptis to use react-nativescript. It gives you Intellisense you would expect like this:
Related
Sorry, I'm a newbie here. I've spent a few hours now trying to get intellisense to work on VS code and have followed multiple Youtube guides. No luck. I've installed and uninstalled everything multiple times. I keep getting this message.
F:\Program Files\dotnet\sdk\6.0.401\Microsoft.Common.CurrentVersion.targets(1220,5): Error: The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
It tells me to install the developer pack, but it already is installed? Any idea of how to fix this? Please help.
Primarily, this has to do with the VS code extensions and Installation of the Unity editor on Unity HUB.
In VS code, install the extension: C# for Visual Studio Code (powered by OmniSharp).
While installing the unity editor through Unity HUB, make sure you are installing Microsoft visual studio community.
I would like Visual Studio to autocomplete code in this way
desired autocomplete
Unfortunately, autocompletion is working in this way current autocomplete
I'm on macOS Monterey 12.4, MacMini M1 2020.
Visual Studio Code Version 1.68.1 (Universal)
Unity Version 2020.3.30f1 Personal
Extensions currently enabled enabled extensions
Please point me in the right direction to fix it.
Thank you!
I'm trying to get a project to work that i downloaded this link over here, from github.
I've followed all the (configuration) steps in the install guide and i am using the exact versions of the software as described in the guide.
The problem seems to be that some references to the Windows namespace do not work.
I've tried adding it but i can't get it done in the usual way.
The error messages i get when building in unity:
When i open the project in visual studio 2015 update 3 (after building it in unity):
It seems that the option to simply add the reference in visual studio is not present in this kind of project.
I think this shouldn't be to hard to resolve but i lack the skills and experience as i usually develop windows apps solely in visual studio.
EDIT
These are the configurations I used:
i open the project in visual studio 2015 update 3
You should use Visual Studio 2017 with the latest Win10 SDKs.
I have enrolled new team which are using Visual Studio, but I have a MAC computer. I have a chance to get Windows computer also, but I am curious about something. Can I use Visual Studio Code instead of Win Visual Studio? Has it all properties of Win version?
No, it does not. Visual Studio Code for mac is mostly an editor, not a full fledged IDE as Visual Studio for Windows is. Check out the FAQ.
You can use Visual Studio Code on Windows, but is only a editor and not a IDE like Visual Studio, then maybe the best is if you need have windows install Visual Studio and also install ReSharper or another tools.
If you love Mac/linux and don't feel very comfortable with Windows, you can work with Visual Code with any problem or use Rider project
is a new IDE for C# for run net core app.
I've switched from MonoDevelop to VSCode for C# development for Unity3d.
The intellisence provided by MonoDevelop IMO was more informative.
As you type MonoDevelop gives you useful things like whether the item in the list is a method, property or primitive etc and also the return type.
VSCode does not do this, here's an example of the as you type completion.
//edit I cannot use Visual Studio as I'm using Mac OSX. Switching to Windows bootcamp just for Unity is not convenient or productive.
VSCode
MonoDevelop
Autocomplete is largely driven by the Omnisharp extension for VSCode.
Due to issues with compatibility of Unity extensions the latest c# extensions for VSCode it's required that for Unity3d development the legacy C# extension is used.
The Legacy c# extension uses an old version of Omnisharp that does not have a very up-to-date feature set for autocomplete.
Return type has been added to more recent versions of Omnisharp.
//Edit
It's now recommended to use the latest C# extension of VSCode, the Legacy is no longer required for Unity Development so we can now benefit from improved Omnisharp integration in VSCode when developing for Unity3d. Yay!