I am using Windows 11.
I want to open settings for windows terminal. But instead it open a json file.
What is issue here and how to resolve it?
Related
I am trying out the Remote - Containers VSCode extension. I get a docker warning and a prompt message if I want to continue but I can't type anything into the terminal. The cursor looks like it's active but nothing happens when I type.
So far I have tried:
Using iTerm.app instead of Terminal.app (in VSCode settings)
Disabled oh-my-zsh terminal plugin
Quit and start Visual Studio code
I solved this by using generating ssh key in the devcontainer and adding it to github.
I would like to open the Anaconda Prompt within a current folder using the URL in Windows Explorer similar to how you open a Git Bash terminal using "git-bash here".
I was unable to find a way to do this.
I tried to add the installation directory to the system PATH variable but that didn't work.
Any ideas if this is possible?
Have installed angular CLI via node js command prompt. However, when I launch terminal in VS code, it doesn't allow to type only. PFA screenshot
PFB terminal setting screenshot
Able to run ng commands from node js command prompt outside vs code.
If your problem is not related to default shell in your terminal. Then you check windows settings. Follow the steps -
Open VSCode file location
Go to Compatibility tab in VSCode properties window
Unchecked Run this program in compatibility mode for: option
see the attached files. Try with this solution, it might help you.
This worked for me:
Remove settings file.
Click on view/terminal.
Select default shell.
I'm complete beginner with linux (Ubuntu) but I have to use it and I'd like to automate some tasks that I do very often.
What I do:
Open VScode and open a project folder
Open new VScode window and open another project folder
Execute redis-server command in console
In second VScode window go to Debug and launch first configuration
and then second configuration (defined in launch.json file in
VSCode)
Open a chromium browser and a specific url
What could be the easiest way to achieve it? Are all the steps executable directly from console? Should I use any 3rd-party programs?
start . is used to launch an explorer window from cmd.
When doing the same from wsl, I get
$ start . start: Unable to connect to system bus: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory
Is there an easy way to fix this?
Since Creators Update you can call Windows executables from WSL if you add the extension file. You can open the present folder like this.
explorer.exe .
If you still need start then you can create an alias
alias start='cmd.exe /c start'
then start . will work too.
You can call Windows executables from WSL but you should add the extension of the file too. also there is another problem that in wsl when you want to open a directory in the file explorer, you should use explorer.exe \\home\\username\\projects\\ command because windows cannot understand linux standard path slashes. so, I made a wrapper to solve all of these problems. this project is a wrapper between the Linux command-line and windows file-explorer that converts / to \\.
with this wrapper you can interact with the windows file-explorer exactly like the linux-native one. the below box exhibits the way you can open file explorer using this wrapper.
explorer /home/