S
S
Shimpanze2019-08-27 03:47:52
atom
Shimpanze, 2019-08-27 03:47:52

Atom IDE: What is the keyboard shortcut (Windows) to remove trailing spaces in the entire document?

Atom IDE: Which keyboard shortcut (Windows) - remove trailing spaces in entire document? And where can they be reassigned (or assigned)?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy, 2019-08-27
@Shimpanze

Unfortunately, I don’t know the combinations, but you can:
a)
1. Use regex to search for the formula that suits you best and replace it with "",
2. Save the query using plugins, such as snippet plugin, buffer history or search history (tuts https://discuss.atom.io/t/find-replace-history/36700/8 )
b)
Find a plugin that performs the action you need (Maybe Beautifier?) and bind it to any combination you like. In addition to combinations, there are also very useful plugins, for example https://atom.io/packages/atom-toolbar-preferred , it has an even simpler and more understandable configuration via .cson
c)
If you haven’t found a plugin and you still need a function.. Then if you are really ready to spend time then look for similar plugins, I managed to edit plugins in 5-10 minutes so that they work as they should even with my almost 0 knowledge of JS
PS Don't forget to check settings > Keybindings first. Everything can lie quite outside

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question