VS Code editor intellisense doesn't work with UnityEngine.UIElements namespace - unity3d

I can't get any types under UIElements to be picked up by Omnisharp when using VS Code or Vim. I've tried with a minimal project (clean 3d template) with Unity version 2020.3.20f1, Visual Studio Code Editor (Unity package) version 1.2.4, UI Toolkit version 1.0.0-preview.18. I've followed the guide here to get the correct compilation order of packages.
Build still works fine, but the editor's intellisense throws squiggles under all UIElements types (e.g. VisualElement, UIDocument).

Change the external script editor (Preferences > External Tools) from Visual Studio Code to Visual Studio Community 2019, then regenerate project files. This seems to work around whatever the issue with Unity is.

Downgrade to Visual Studio Code Editor v1.2.3. I have the same issue with .4

Related

Unity with Visual Studio 2019 : Assembly-CSharp (incompatible) in Solution Explorer

I'm new to Unity and can't find how to get it working with Visual Studio 2019 properly.
I just installed Unity 2020.3.13f1 (LTS) from the Unity Hub as recommended for Hololens developement.
I already had VS2019 latest version installed and working.
In VS2019, I installed: Tools => Get Tools and Features => Game development with Unity
When I double click a script in Unity, VS2019 open and I get the following error: Assembly-CSharp (incomptible)
Also in Unity, I have a warning: Visual Studio Editor Package version 2.0.11 is available, we strongly encourage you update from the Unity Package Manager for a better Visual Studio Integration
Update I fixed the warning (see below) but still have the error in Visual studio
In Unity, I updated the package: Window => Package Manager => Visual Studio Editor => 2.0.11
I also did: Edit => Preferences => External Tools => Regenerate project files
I now have all latest Unity package versions:
But I still have: "Assembly-CSharp (incomptible)", How to get valid solution in Visual Studio ???
Have had this issue for months... After numerous different posts/guides on this issue, I found just right clicking and hitting "Reload project with dependencies" for each project worked.
Now this was after fully updating Visual Studio and Unity, uninstalling the VS Unity tools, reinstalling, and reconfiguring visual studio tools in Unity... Figured I'd add this to to the list of things to try because it worked for me!
You should probably try right clicking the file and choose reload.
When I tried it Solved my issue
I deleted my project and created a new one and everything is fine now in Unity and Visual Studio (All references and scripts).

unreal engine development using vscode without vs2019, 2017

I'm wondering if I can make a C++ project in unreal engine without visual studio 2019, 2017 etc.
Currently I just use vscode. Is it necessary to install visual studio?
You can use visual studio code but you would need some compiler to compile your C++ project. For that the MSVC compiler that visual studio supports is often used. You can download the MSVC compiler and use visual studio code with it. when you create your project with visual studio code will generate a .vscode folder. In this folder you will have a
task.json [ for generating the build scripts you need to compile your program and create the exe files]
Launch.json [ for debugging your C++ classes]
Properties.json [ for finding the MSVC compiler ]
Unreal engine has a button in the editor that will compile your code. This equivalent to running
cd " Where you have your engine installed"
"Engine\\Build\\BatchFiles\\Build.bat" YourProjectNameEditor Win64 Development "C:\ThePathToYourProject\YourProjectName.uproject" -waitmutex
Visual studio provides other build task such as a DebugBuildGame and ShippingBuild
Visual studio code also provides these build task through task.json file, but it does not work out of the box
I ended up making a video about this and timestamped important events
https://youtu.be/fydvKedIxKk
You want to consider fixing the task.json if your want to run any build other than the editor one.

Set common shortcut keys for Visual Studio, VS code and Eclipse

I have been using Visual Studio since last 5-7 years. Now I started using VS Code & Eclipse as well. I am very used to Visual Studio shortcuts.
Can I have same shortcut keys in Eclipse and VSCode as in Visual Studio. I am hopeful that both Eclipse and VS Code should provide setting up own shortcut keys for different operations. It would be difficult to set individual keys for Eclipse and VSCode.
Is there any plugin/file/setting by which I can set easily set most of the shortcuts keys in Eclipse/VS Code as in Visual Studio?
I don't know about eclipse, but in VS Code there is an extension called Visual Studio Keymap.
i do not think eclipse marketplace (https://marketplace.eclipse.org) has any plugin for keymap of visual studio.
vscode though has a keymap plugin for eclipse, https://marketplace.visualstudio.com/items?itemName=alphabotsec.vscode-eclipse-keybindings.
Hope this helps.
You can add the Visual Studio key-map to Eclipse by installing the C++ devs tools from within Eclipse. Follow this post to set it up:
https://stackoverflow.com/a/10075350/2052295
For VSCode simply install the Visual Studio key-map extension:
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vs-keybindings

Mercurial plugin for visual studio code

I'm developping a project with React.
The IDE I use for React (ES6) is Visual Code and the version control is Mercurial Hg.
(I'm in Windows and I get issue with Atom, that's why I use Visual Code).
My problem is I cannot find a plugin for Visual Code to manage the source control with Hg.
Is anyone know a plugin and can help me ?
As #mrcrowl mentionned in his comment, this is the plugin I was loking for
https://marketplace.visualstudio.com/items?itemName=mrcrowl.hg
Visual Studio Code was designed to be directly integrated with Git, so currently there aren't any resources for Visual Studio Code that add Mercurial integration, however, many people have already expressed their interest in the idea on Visual Studio Code's UserVoice.
If you really want to, you could always create a simple plugin for Visual Studio Code that adds a couple commands to the editor, which could then be used to help you control the Mercurial CLI.

Intellisense does not work visual studio code in OSX Yosemite

The intellisense does not work visual studio code in OSX Yosemite. Are there any specific steps to debug this issue?
If you open a folder that contains multiple projects, such as the aspnet/Home repo, you would first need to pick a project: