Is it possible to set "force indent/outdent" on chained jQuery methods by name?

Personally, each time I have my jQuery filter it's original set to a different subset I like to indent an extra level, and then when I restore back to the previous I outdent, like this: (had to use underscores to denote space, sorry)

$('.all-items')
__.find('.certain-items')
____.attr('attribute', 'value')
____.text('some value')
____.end()
__.find('.other-items)
____.css('background-color', 'red')
____.html('<p>Hello</p>');

Is there any way to do this in PHPStorm?

As an aside to any PHPStorm Developer who's reading this I also want to say "Great job!" on this editor. I moved from Sublime Text 3 to PHPStorm and it's no comparison which is better; PHPStorm by far! Great IDE!

Please sign in to leave a comment.