P
P
Programmir2018-09-27 08:54:38
Sublime Text
Programmir, 2018-09-27 08:54:38

How to copy and paste code correctly?

The fact is that when I copy a piece of code and paste it into some editor, the first line of the copied code moves out relative to the lower code. How to copy and paste the code correctly so that everything is smooth?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav Lyskov, 2018-09-27
@Vlatqa

google -> reformat your editor

I
Ihor Bratukh, 2018-09-27
@BRAGA96

Sublime Text 3 -> Preferences -> Key Bindings
Add the following code to the right window:

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

Change the keyboard shortcut to your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question