Thomas Smith
Thomas Smith
This is (unsurprisingly) a bug in the Styled Components definition. It's actually confusing `filter` with the SVG `` tag — it thinks that `filter` is the start of a nested...
[JS Custom](https://github.com/Thom1729/Sublime-JS-Custom) auto-closes tags. It also hooks into the standard “Close Tag” command to provide JSX-specific functionality in that case.
Can you post an example where the new version will not correctly close tags? I didn't expect that there would be any difference between the versions. The keymap entry looks...
Have you tried JS Custom, by any chance? I wrote a special close tag command for that which works better than core's for JSX. It might be worth porting to...
FYI, I found that a recent change to JSX scopes broke JS Custom's `jsx_close_tag` command (https://github.com/Thom1729/Sublime-JS-Custom/issues/114). I don't know if this same scope change may be affecting the built-in `close_tag`...
I think I'm probably going to port JS Custom's custom close tag command to this package. First, though, I should probably write a test suite for it.
@cvince I'm working on a test suite for JS Custom's close tag command. Do you have any specific examples of cases where the built-in close tag command fails? I'd like...
I suspect that this is not something that can reasonably be addressed in the syntax definition. Marginal improvement may be possible, but the built-in completion system is fairly dumb by...
I don't actually use Styled Components myself, but are you sure that's correct? If `css` tagged templates can contain any arbitrary CSS substring, then it may be difficult or impossible...
Can you post your list of installed packages? It looks like it's having an problem loading the new Styled Components definition, and I wonder if a third-party package is interfering...