Questions tagged [vscode]

Questions about VS Code, in particular the Vim and NeoVim extensions for VS Code

Filter by
Sorted by
Tagged with
0
votes
0answers
29 views

Vim Formatter vs VsCode Formatter Problem with GIT

I am using Vim (neovim) for the past couple of weeks now. I am facing one problem with the way vim formats the code. My other team members uses vscode which formats JS file on Save something like this:...
0
votes
1answer
40 views

What is a quick and efficient way to cut and paste text with Vim?

I'm a new Vim user (using the Vim extension in VSCode), and while it's faster at some operations, I'm having a lot of trouble finding an easy way to cut text (copy and delete it), then paste it at ...
0
votes
0answers
40 views

VSCode Vim — don't want escape to enter normal mode if I'm exiting tooltip or Intellisense

I'm new to VIM and I'm loving it. I'm learning slowly but surely. I've passed the point where there's enough benefit and not too much hassle. I'm using the VS code integration. I'm learning VIM (...
0
votes
0answers
33 views

How do you disable automatically copying text when pasting over it in visual mode in VS Code? [duplicate]

Like the title says, if I have yanked some text, then select what I want to replace in visual mode, press p to paste, I want the original text still available to paste in other locations. I never ...
1
vote
0answers
53 views

How to make vim mode in vs code work with other languages?

I use English(US) and Russian layouts on my laptop. I wonder, is there a way to configure the vim extension in vs code so that it works normally with other languages? I want all commands and mode ...
0
votes
3answers
51 views

How to copy the selection to clipboard without the indentation that is relevant just in the full file, not in the selection?

With other words: How to copy selection without its root-level indentation? Example: How to copy this: a b c d instead of: a b c d I am using Neovim inside VS Code ...
0
votes
1answer
35 views

What's the fastest way to go about defining functions in Python?

def counter(num): I always get stuck inside of the parenthesis and find myself pressing ESC, going back to Normal mode, then pressing A to append the colon to the end of the line. Is there a faster ...
1
vote
0answers
115 views

Extent and limitations of Vim extension for VS Code

VS Code is a very popular these days and it has a Vim emulator which seems to have a fairly good reputation. See: Vim extension page at VS Code marketplace GitHub source for the above extension ...
1
vote
1answer
66 views

How to add a certain word before the names of methods in Javascript?

I am working with react. First I had a component with state I created methods and all that. Now I want to convert it into stateless component. I have add the word function before each method name. ...
2
votes
1answer
448 views

How can I record a macro across multiple files

I have two code files open and I'm trying to write a macro for moving code from one file to the other. I start recording the macro in file A. After I enter all of the commands I need in file A, I ...