Ballerina with Visual Studio Code - 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

Related

I'm using ROS noetic over wsl in Windows 11, but rospy library is not loaded in VS code

This is the error I get through the terminal, I wonder if vs code and ros are not integrated vs code because I installed it through windows
To work properly with VSCode you need to install the ROS VSCode extension. The wiki also currently has an entry for VSCode support.

visual studio code on linux

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

visual studio code - couldn't start client language support for java

Visual Studio code was working fine with maven projects, and suddenly stopped after I installed a new extension (Lombok).
I can't seem to get it to work anymore, even if I'm not using Lombok, and have the plugin disabled.
As soon as I start Visual Studio Code, it complains with
Couldn't start client language support for java
How can I fix this?
To solve this, I did the following:
Went to the installed extension (Command Pallette, Extensions: Installed Extensions)
found "Language suppoort for Java(TM) by Red Hat"
Clicked on the drop down arrow by "Uninstall", and chose "Install another version"
Chose a recent version, and restarted Visual Studio Code
it worked - I assume I could upgrade to latest again, but haven't done so yet.
Note: I feel that somehow I broke my settings.json file, and doing this fixed it up.

Build installer projects from visual studio 2022 command line

Recently I upgraded a project to Visual Studio 2022. I am using command line to build the installer project (.vdproj) using the command something shown below
devenv.com <Solutionfile> /build <InstallerConfiguration>.
The command used to build file with VS 2019 but when trying to build the same with Visual Studio 2022 seems to be stuck. It seems that everything builds fine but the Visual Studio process does not exit after the project is built and causes the build pipeline to be stalled. I have disabled out of proc build to see if this was causing the issue but it does not help. Any one experience the same issue? I am using the most recent version of visual studio along with the Visual Studio installer project extension. Any other method of building the installer project? I have tried MSBuild command but it does not understand vdproj files.
This has been fixed with the latest release of VS 2022 17.3.6. Works fine for me now.

Flutter and Dark extensions not showing in Visual Studio Code

I am trying to learn how to use Flutter and am using Visual Studio Code. When in Visual Studio Code and with a project selected, I try to: run > run without debugging. I am then supposed to see a list of my installed extensions to choose between - something like this:
but instead I see:
as if there are no extensions installed. However you can see:
that I do have Flutter and Dart extensions installed.
So I'm trying to figure out why my extensions are not showing. Any help gratefully received!
I am using Ubuntu 18.04.
You need to open main.dart or any other dart file. Then do run without debugging.