You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Hyperlinks are not detected unless "Use Tree Sitter Parsers" is unchecked.
This further means they don't have any syntax styles applied, like underlining.
Motivation
I'd like for links to be indicated in some way - only because it looks nice and stuff.
Examples
Within a string:
Within a comment:
Without the feature:
Describe alternatives you've considered
I don't think I can edit the javascript grammar itself to detect this within atom, though maybe i'm wrong.
Also, I don't want to uncheck "Use Tree Sitter Parsers" because the highlighting is mostly much better when it's checked.
Additional context
The "Use Tree Sitter Parsers" option is in Settings > Core > Scroll down
Also, when it's detected the class is "syntax--markup syntax--underline syntax--link syntax--https syntax--hyperlink"
The text was updated successfully, but these errors were encountered:
Note: this issue could be worked on, but it's unlikely to be resolved since tree-sitter grammars depend on tree-sitter parsers.
The "easiest way" to resolve this is for the parsers to already have unneccessary support for links which won't happen
So the only fix is using regexes to search for links in literal text (or whatever it's called)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
Hyperlinks are not detected unless "Use Tree Sitter Parsers" is unchecked.
This further means they don't have any syntax styles applied, like underlining.
Motivation
I'd like for links to be indicated in some way - only because it looks nice and stuff.
Examples
Within a string:
Within a comment:
Without the feature:
Describe alternatives you've considered
I don't think I can edit the javascript grammar itself to detect this within atom, though maybe i'm wrong.
Also, I don't want to uncheck "Use Tree Sitter Parsers" because the highlighting is mostly much better when it's checked.
Additional context
The "Use Tree Sitter Parsers" option is in Settings > Core > Scroll down
Also, when it's detected the class is "syntax--markup syntax--underline syntax--link syntax--https syntax--hyperlink"
The text was updated successfully, but these errors were encountered: