Home  >  Article  >  Development Tools  >  What to do if vscode line breaks without indentation

What to do if vscode line breaks without indentation

藏色散人
藏色散人Original
2019-12-19 10:39:155079browse

What to do if vscode line breaks without indentation

What should I do if the vscode line breaks without indentation?

The problem that the VS code "Tab" key cannot be indented

Recommended solutions: Ctrl M

Applicable scenarios: The status bar displays: "Tab moves focus"

Related recommendations:vscode introductory tutorial

PS: The status bar does not display this information when editing md files, so it can be turned off Check the currently opened file to see if the status bar displays this information

-The following is a story, you can ignore it-

Generally when editing a file Pressing the tab key can indent. However, when using VS code before, I found that using the tab button will move to other labels or menu buttons.

I searched the Internet and found that the tab shortcut keys are occupied. Try deleting all tab shortcut keys. Tried it but it didn't solve the problem.

By mistake, I opened the official shortcut key description of VS code keyboard-shortcuts-windows.pdf

I found this line inside:

`Ctrl M Toggle Tab moves focus`

So, I pressed ctrl M, and then reopened the file for editing. . . The problem is solved. . .

When you are in this state, your status bar will display "Tab moves focus", but when I edit the md file, the status bar does not display this. It may be related to the markdown plug-in I installed.

The above is the detailed content of What to do if vscode line breaks without indentation. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn