Can't open json files in vscode directly form File Explorer? [closed] - powershell

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Can't even open ps1 files in vscode from File Explorer. With both (json and ps1) I get a tone with no message that I can find. Everything opens fine if I open directly from the "open file" menu item in vscode. I don't think it was like this before installing PowerShell.

It sounds like a permission error or a bad installation of vscode.
I recommend you reinstall vscode & make sure to check all these 4 boxes in this image below, we will see how it goes after.

Related

Official VSCode in browser? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
The new July update of VSCode looks very interesting, particulary the Browser Support ( https://code.visualstudio.com/updates/v1_48#_browser-support ) where a developer seems to have opened VSCode inside a browser using localhost:9888.
Does anyone know how to do that? I can't seem to find any documentation about this and the only results I get are for code-server, which is not a official VSCode project.
https://code.visualstudio.com/updates/v1_40#_engineering
According to the description, in your local fork of the vscode repository, running yarn web from the command line.

Configure gvim swap, undo, and backup files on windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I installed vim on windows 10 using chocolatey. When I edit a foo file in powershell, vim leaves behind .foo.un~ or .foo~ files. What are these and how do I stop vim from leaving them around?
These files are backup and undo files. vim also creates swap files if it crashes while editing.
From https://coderwall.com/p/sdhfug/vim-swap-backup-and-undo-files
In powershell, create the following directories:
~/.vim
~/.vim/.undo
~/.vim/.backup
~/.vim/.swp
Edit your .vimrc file by opening vim and typing:
:edit $MYVIMRC
Then, add the following lines, and save:
set undodir=~/.vim/.undo//
set backupdir=~/.vim/.backup//
set directory=~/.vim/.swp//
vim will now put your undo, backup, and swap files in the ~/.vim/.undo, ~/.vim/.backup, and ~/.vim/.swp directories, respectively.

gvim 8.2 doesn't paste on windows 10 in powershell [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I installed vim on Windows 10 with chocolatey. Copy and Paste don't work when I invoke vim in powershell. I expect them to work as long as I'm in insert mode. How can I make copy and paste work?
https://n3wjack.net/2014/08/25/setting-up-vim-on-windows/ has the answers.
Open vim and type the following:
:edit $MYVIMRC
This will edit your .vimrc file wherever it might live. (On my system, it was in c:\Users\<my_username>\.vimrc, but you might have weird configuration issues, so just let vim find the file for you.
Then, copy+paste the following into the file:
source $VIMRUNTIME/mswin.vim
behave mswin
Then save the file.

I have a problem with the cursor in visual studio code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a problem probably totaly beginners level but anyway it drives me crazy so please help.
I can´t edit any code in the program when i try it looks like i´m in "insert" mode with like a block cursor.
I can´t delete anything or write anything. What could it be? and how do i fix it?
I am on a macbook pro.
I believe the reason is that you installed vim extension in vscode by mistake as it puts you in the insert mode by default until you press (i) to edit text. uninstall vim extension and things should go back to normal. or refer to this vim cheatsheet for more information about using vim as a text editor.

Installing extensions on visual studio code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
How to install a extension on visual studio code using cli or cmd and also how to change the default terminal to any other like by default it uses cmd and i want to change it to cmder so please somebody help with this problem
Currently vscode doesn't support installing extensions through cli.https://github.com/Microsoft/vscode/issues/691
You can specify the path to shell by editing terminal.integrated.shell.windows of your preference