M
M
Marty McFly2018-12-27 14:15:30
phpstorm
Marty McFly, 2018-12-27 14:15:30

Is it possible in phpstorm to include hints in nesting after &?

Is it possible to somehow customize the hints in the nesting after the &, for example:

.block {
    &__child {
           ....
       }
}

So that when I start writing &__c .. does it prompt me for classes, or do I want a lot?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey, 2019-01-02
@alex_shevch

It is forbidden. Because of this and other disadvantages, I have not written such constructions for a long time. they are not very usable

N
NaN, 2018-12-28
@KornevaViktoria

never seen this and how is it supposed to work? how should phpstorm know what you want to write, it's not like in js, for example, some custom methods

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question