I've been trying hard to configure Git bash for the visual studio terminal, but my visual studio did not detect the git bash files even after I put it in PATH. I've followed many tutorials but still, it seems not to be working.Here I'll show some of the terminal settings.json and the problems I'm facing Visual Studio Settings.json
Related
When I open my visual studio code my terminal is blank, neither ubuntu, nor command prompt, nor powershell, nor JavaScript debugger work.
I tried to change the path by which vs code calls my ubuntu but it didn't work.
Is there a way to open visual studio code debugger in Git Bash by default??
Currently it is opening the debugger in Powershell
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
I've installed the Visual Studio code command line shortcut using their package manager:
However, I find that if I close Visual Studio, the Fish shell doesn't recognize the code command anymore:
In my /usr/local/bin (which is in my path), I find that code is a link to the following:
/u/l/bin> ls -lh *code*
lrwxr-xr-x 1 kurtpeek admin 167B Aug 13 15:10 code -> /private/var/folders/0p/jfjngh2x19dfyg2dpxnw7f2h0000gn/T/AppTranslocation/CAEB3997-9AD6-458F-8778-37C23B7B4F53/d/Visual Studio Code.app/Contents/Resources/app/bin/code
It seems that the actual executable is no longer available at this location? In any case, how can I get the code command-line shortcut to keep working even after I close Visual Studio Code?
It turns out I had forgotten to drag Visual Studio Code.app into the Applications folder as mentioned in a comment in "code ." Not working in Command Line for Visual Code Studio on OSX/Mac.
On Windows 10, I have Visual Studio Code installed.
When I open the terminal (Git Bash) and type less-watch-compiler, I get the error:
Segmentation fault
But if I go to the Git Bash terminal itself (outside Visual Studio Code) and type less-watch-compiler, the command works.
How can I fix this problem?
I reinstalled Git for Windows, but it didn't help.
I have the latest version of Visual Studio Code (1.36.1)
When I use the "cmd" editor within Visual Studio Code, it works fine as well.
Not sure if it's the same problem but I was also getting segmentation fault errors running VSCode with WSL.
What fixed it for me was:
rm -rf ~/.vscode-server
The next time I tried the command, VScode downloaded the necessary files and everything worked again.