K
K
Kote2016-10-20 20:25:32
atom
Kote, 2016-10-20 20:25:32

Atom + jade: how to work with code arrays?

Good day!
I delve into and try to actively work with jade inside the atom editor.
Due to the fact that a strict tag hierarchy is used, on which the dom tree is based in the future, I installed a number of plugins that beautifully display vertical tag nesting levels.
Life was not bad, until the moment when I started working with files, the structure of which crawls out for 3 full vertical scrolls of the monitor.
Problems I faced:

  1. When inserting another tag at the bottom of the page of a large document, which should be the successor of something above, it is EXTREMELY difficult to understand how many tabs need to be done. I think with my hands that wildness. I found only fold by the number of tabulations given, this is a half measure
  2. For example, I inserted a large array of code and made a mistake with nesting - I went too far . How to move it to the left by a couple of tabs?

Ideally, it was possible to display hints - to which parent the current line under the cursor belongs + the ability to easily move code arrays, changing their nesting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Velichko, 2016-11-03
@kotemedia

1. I use mixins to avoid porridge. Mixins can use other mixins (Example: https://github.com/zoxon/gulp-front)
2. Highlight and press Shift + Tab

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question