-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would be great if multiline strings were categorized differently #2005
Comments
#1744 has a fix for this. |
@DanielRosenwasser perhaps you can quickly tell me what |
Nevermind, got the answer: #1477 (comment) |
@basarat if you'll see my change, it's been renamed to Before the syntactic classifier was a thing, the lexical classifier had to do a bunch of hacky sort of tricks to try to emulate correct behavior. Basically, you don't want to accidentally classify Actually, you're using web workers for Atom right? Are you using the other classifiers? |
Nope. A child process : https://github.com/TypeStrong/atom-typescript/blob/master/CONTRIBUTING.md#architecture . Node-webworker's need C/C++ toolchain on the client to install so I just went with a child process to make it easier to install.
nope. Just a lexical classifier : https://github.com/TypeStrong/atom-typescript/blob/master/lib/main/atom/typescriptGrammar.ts#L47, so I'll make it |
Reason for not using webworkers : electron/electron#797 |
I just realized, you're asking for a multiline string classification. What if it's just a string literal classification but it's done correctly? |
@DanielRosenwasser fixed? Or wont-fix ❤️ |
If we do this I don't have to buy you chocolates for Valentine's Day. ❤️ (Will fix, but unfortunately just for 1.5: #2026. I guess I'll reopen just to track this as an issue.) |
The fix is in |
As it stands, the default classification looks horrible
I would be happy if there was just
InMultiLineString
(notice I don't sayLiteral
) + it gets classified asMultilineString
Current:
Note: feel free to call it something other than
MultiLineString
but give us something.The text was updated successfully, but these errors were encountered: