Sublime Forum

SublimeTagmatcher

#8

Nice plugin! Would be nice if a brackets costumization could be done with some kind of plugin like this one.

0 Likes

#9

This is great, thank you!

It has already been mentioned that self-closing tags are matching the next available </ when they donā€™t end with a trailing />. I will continue using this as it is very useful, but some improvements will be appreciated :smile:

The most common tags this applies to are: link, meta, img, input, br, hr.
Less common: frame, area, col, base, basefront, param.

Perhaps the best way to ensure accuracy is to parse the file for the full tag name instead of the first unclosed </ (obviously including exceptions for the above tags). This will also solve inadvertently matching those pesky overlapping tags like ā€œā€

0 Likes

#10

Thanks for the suggestions, I added support for common HTML elements like link, meta, etc. without self closing and fixed some other issues.

0 Likes

#11

Hello @pyparadigm! And what abot @iamntz question?

Thanks.

[quote=ā€œiamntzā€]

A picture is like a tousand words. Therefore: screencast.com/t/cuuJovy8 :smile:

The editor adds some basic highlight for bracket matching but sometimes the underline is somehow invisible. Iā€™m thinking that outline will make them moreā€¦ visible.

And Jon doesnā€™t want to add this feature :smiley: (even if there are almost 200 votes for this)[/quote]

0 Likes

#12

[quote=ā€œoriceonā€]Hello @pyparadigm! And what abot @iamntz question?

Thanks.

A picture is like a tousand words. Therefore: screencast.com/t/cuuJovy8 :smile:

The editor adds some basic highlight for bracket matching but sometimes the underline is somehow invisible. Iā€™m thinking that outline will make them moreā€¦ visible.

And Jon doesnā€™t want to add this feature :smiley: (even if there are almost 200 votes for this)[/quote]

Iā€™m going to add that functionality within a couple weeks.

0 Likes

#13

wow, sounds verry nice :smile: take care

0 Likes

#14

Nice plugin! I just tested the latest version with a non-XHTML site Iā€™ve been working with and it seemed to handle it just fine.

Iā€™ve also added it to the Package Control default channel so it is easy to install and keep up to date.

0 Likes

#15

Is just me or ST2 become better and better on each day?

0 Likes

#16

Not until Jon will add brackets costumization way!!!

0 Likes

#17

This is great! Should be in SublimeText2 itself :wink:

0 Likes

#18

Hi, Iā€™ve just submitted an issue.

Closing tags will only be outlined if the tag is followed by a space or new line.

The following examples will outline the closing tag:

[code]<a href"#">link

  • link
  • [/code]

    The following examples will not outline the closing tag:

    [code]link

  • link
  • [/code]
    0 Likes

    #19

    [quote=ā€œskaetā€]Hi, Iā€™ve just submitted an issue.

    Closing tags will only be outlined if the tag is followed by a space or new line.

    The following examples will outline the closing tag:

    [code]<a href"#">link

  • link
  • [/code]

    The following examples will not outline the closing tag:

    [code]link

  • link
  • [/code][/quote]

    Fixed Issue, as well as Smart Template issue

    0 Likes

    #20

    Just wanted to say that I bloody love this! Thank you so much for creating it - I donā€™t know how I lived without it before.

    Cheers

    0 Likes

    #21

    Did some bug fixes and added multi select support.

    Ctrl + Click multiple elements at a time.

    0 Likes

    #22

    Added ability to customize highlight settings.

    0 Likes

    #23

    Iā€™m getting some interesting performance issues that are easy to reproduce in context but difficult to isolate to submit an issue.

    The problem seems to be happen when opening a tag in a particular place, causing ST2 to hang for an extended period and use 50% CPU during that time. Iā€™ll update this with more information after further testing.

    0 Likes

    #24

    I had the same problems today when editing a looooooog ruby file. When i tried to do some search, Sublime just hang and used 100% of cpu.

    0 Likes

    #25

    +1 SublimeTagmatcher seems to have a problem editing large files. ST2 started hanging (after installing couple of plugins) when editing very long files, so I moved my ā€˜Packagesā€™ folder, restarted ST2 (simulating a fresh install) and then I started dropping each plugin one after the other (editing a long css file each time i restarted ST2), every thing was fine until I dropped in the SublimeTagmatcher plugin, ST2 started hanging when editing the long file (using almost 100% of cpu).

    0 Likes

    #26

    I have this problem too. This happens with Sublime Brackets too.

    0 Likes

    #27

    Yes, I have found that html and css files of only a few hundred lines are having issues. However, some tags donā€™t cause the hangups while others do. I mentioned it was hard to pinpoint exactly what and where the problem lies, as well as how to reproduce it reliably between different files.

    0 Likes