Sourceful icon indicating copy to clipboard operation
Sourceful copied to clipboard

Missing / incorrect syntax highlighting

Open HassanTaleb90 opened this issue 3 years ago • 4 comments

Hi! There is a lot of missing / incorrect syntax highlighting. Is there a way to use the swift tree sitter instead of Regex used in Swift Lexer?

HassanTaleb90 avatar Jun 22 '22 07:06 HassanTaleb90

It would be possible to use swift tree sitter (assuming this is the one). However, switching out the parser would require a full rewrite of the interactions between the parser and the highlighter.

ActuallyTaylor avatar Jun 22 '22 13:06 ActuallyTaylor

@HassanTaleb90 I recently found https://github.com/simonbs/Runestone which uses TreeSitter – worthy alternative 👍🏻

shaps80 avatar Jul 17 '22 12:07 shaps80

@HassanTaleb90 I recently found https://github.com/simonbs/Runestone which uses TreeSitter – worthy alternative 👍🏻

Runestone is a good alternative but it doesn't have the "Placeholder" feature that I need in my app.

HassanTaleb90 avatar Jul 18 '22 05:07 HassanTaleb90

@HassanTaleb90 I recently found https://github.com/simonbs/Runestone which uses TreeSitter – worthy alternative 👍🏻

Runestone is a good alternative but it doesn't have the "Placeholder" feature that I need in my app.

I'd have thought that was pretty easy to add yourself, and it has everything else I guess?

shaps80 avatar Jul 18 '22 07:07 shaps80