visual studio code on linux - visual-studio-code

I have visual studio code on linux . I want to use it as a code editor .and maybe debug it
(currently debug via gdb)
Downloaded a code of the (big) project from source control and compiled it from command line.
I don`t know how to open a project in visual studio code (it should also be configure to work with source control (git)).... can someone help

Related

Trying to build My UE5 C++ Project in Visual Studio Code - it doesn't build in Visual Studio Code but builds in Visual Studio 2019 and UE Live Code

The project I'm working on in Visual Studio Code builds fine when you use the Live Code from The Unreal Editor but if you try to build from Visual Studio you get this in the terminal...
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
I'm assuming it is choking on the space in C:\Program Files (however that is a standard space in that Windows created directory so I can't change it without breaking links for countless other files in that directory). As well when you build from Unreal it doesn't choke on that space - so I'm wondering if anyone knows how to "ignore" the spaces. And since Visual Studio 2019 has no issues building that project - it must have some setting that is also ignoring the spaces. Thanks in advance.
(it doesn't seem to fail - it just seems to soft lock? the "thinking spinner" just keeps spinning and it never seems to complete the build task).
I brought the same project into Visual Studio 2019 and it builds fine, however I can't get Unreal's Live Code to link with 2019 so I'm just trying to get this working in Visual Studio Code since Live Code works great with it.

search analyzer and formatter for Visual studio code

I would like to find a linter to analyze the formatting of my code, and also use the linter locally to format my code. And I would want to be able to do that with Visual studio code (and ideally, also Visual studio).
Right now, I am using Visual studio with resharper. But it's way too slow for me.
So I installed visual studio code, installed the extension omnisharp and roslynator, to be able to have the same formatting rules as resharper. So it works well, I configured my config file to display error when a rule is not respected, like that :
My issue is, I can't find a way to fix all these issue with a shortcut, like I use to do with Visual studio and resharper.
The shortcut shift+alt+F does not fix all my errors, and the command omnisharp "fixall" act weirdly, it remove my function Hi..
Do you have suggestion of setup with visual studio code to be able to format the code directly (not via a command line, but from a shortcut), and as advanced as resharper, and that could also work as a linter to analyze the code on the CI?

Why SASS code is not showed up in colored form in Visual Studio Code?

I am using Visual Studio Code for the front end development project. Unfortunately, VS Code stopped showing me colored version of SASS file. May I ask please what is the solution?
I've had the same problem, you can install this extension in vscode:
https://marketplace.visualstudio.com/items?itemName=Syler.sass-indented

Ballerina with Visual Studio Code

I am struggling to get Ballerina working with Visual Studio Code (on Windows 10).
It is installed and works fine from Command Prompt, however it cannot complete build command in Visual Studio Code. It does not seem to be able to finish build command effected via Visual Studio Code. I have Ballerina extension for Visual Studio Code installed.
Does anybody had similar problems and know how to overcome it?
Bellow please find details of versions:
Ballerina 1.2.1
Language specification 2020R1
Ballerina tool 0.8.5
VSC:
1.44.2
Ballerina extension for Visual Studio Code
Windows:
10 Pro
Version 10.0.18362
#GregorSind, try quitting the VSCode instance and then reopen. This might be that the environment variables are not being visible to the VSCode instance. Also, check what's the integrated shell of VSCode

Visual Studio Code: failed to load project file (works in VS2017)

I´m trying to use Visual Studio Code, so I installed the current version (1.25.0). I open the project folder and VSC starts doing stuff with OmniSharp, producing the following error:
(Sorry, error is in german, saying that the file or assembly could not be found and that it can´t load the project file .csproj)
So, I checked the folder: the file is there and visual studio 2017 loads and builds the project as expected.
I´m new to VSC, so please tell me if I need to provide more information from some VSC logs or something.
I´d like to be able to open the project and work with VSC, so thank you in advance for your help.
From the comment
I am assuming you have installed this? C # Extenstion for VSCode and you are trying to open a dotnet core application and not a full framework project?
The best way to go about is uninstall C# extension and you will be fine to open the code in vs code again.