C
C
cehka2018-06-30 16:53:46
Visual Studio Code
cehka, 2018-06-30 16:53:46

Does VS code have an inset along with spaces?

Sublime Text 3 has a function - Ctrl + Shift + V , and the text from the buffer is inserted taking into account all spaces. I did not find this in Vs code, not on sites, not in the program itself. Maybe there are some packages? Thanks in advance for your reply

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Paul_Shef, 2018-11-03
@Paul_Shef

If it’s still relevant or who, like me, will get here first ..
Paste and Indent
https://marketplace.visualstudio.com/items?itemNam...
by ctrl + V inserts and adds an indent, with a shift - as before, without adding
for Win:
[
{
"key": "ctrl+v",
"command": "pasteAndIndent.action",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+v",
"command" : "editor.action.clipboardPasteAction",
"when": "!editorTextFocus"
},
{
"key": "ctrl+shift+v",
"command": "editor.action.clipboardPasteAction",
"when": "editorTextFocus && !editorReadonly"
}
]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question