So a situation:
I type out this expresion $items.fe, autocomplete it with TAB. and i end up like this:
foreach ($items as $item/*CARET HERE*/)
{
}
Anyway to jump from current caret location, to within the braces?
As well it is requirement at my work to not have any brackets if only one statement in the if/foreach/while etc.. Any quick way to remove them, if I only have one statement?
Anyway to jump from current caret location, to within the braces?
There is no Eclipse-style of escaping from current bracket/quote/etc: https://youtrack.jetbrains.com/issue/IDEABKL-6984
But, since postfix completions utilize Live Templates mechanics, you can just press Tab or Enterone more time to move to next edit/entry point, which, in your case, will be inside braces.
As well it is requirement at my work to not have any brackets if only one statement in the if/foreach/while etc.. Any quick way to remove them, if I only have one statement?
I may only suggest to use Edit | Extend Selection
-- inside empty brackets it will select everything between {
and }
(including actual brackets).