B
B
Banan442020-05-18 14:36:47
JavaScript
Banan44, 2020-05-18 14:36:47

JavaScript autoformat strings in sublime text?

How to set up auto-formatting of strings? It often happens, for example, that the code from some site has a tab size of 2 characters, and I have 3-4 and how to edit all this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2020-05-18
@Banan44

Preferences > Key Bindings

{"keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false}}

ps well, before executing, make sure that you have the tab size settings you need at the bottom right

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question