<?php for ( $i=0; $i < 5; $i++ ) { ?>
<?php } ?>
iamntz wrote:I kinda found another bug!![]()
So, let's say we have this snippet:
- Code: Select all
<?php for ( $i=0; $i < 5; $i++ ) { ?>
<?php } ?>
The bug is that { and } doesn't highlight correctly (only as invalid), although if I press ctrl+m (to jump to pair bracket) will jump correctly.
This is not related to my custom settings of the plugin (i removed everything and act the same).
< { >
< }>
({)(})({})({})<?php { ?><?php } ?><{><}>#if (SOME_SWITCH)
if (some_condition) {
#else
if (some_other_condition) {
#endif
dosomething();
}
iamntz wrote:// dreaming mode: on
Don't know if you ever saw xcode bracket highlight, but when cursor touch a bracket, both brackets will kinda... jump (you can see it in action here). Sure, Xcode is dumb and will only do this then stop highlight at all (unless you touch again brackets), which kinda sucks.
Also, when you hover the bracket on the gutter, will sort of fade out the content of the outer brackets (here).
Not a big Xcode fan (in fact i hate it) but i think it's the nicest thing that anyone can steal pay tribute to (because, we all know, apple never steals, they only pay tributes!)
I'm pretty sure that these are some limitation of ST, that's why i used dream mode![]()
// dreaming mode: off

// Change this
"find_in_sub_search": true,
// To this
"find_in_sub_search": "true",
Return to Plugin Announcements
Users browsing this forum: No registered users and 4 guests