-
Notifications
You must be signed in to change notification settings - Fork 11
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
Inconsistent highlighting #67
Comments
I'd personally prefer it if we were to highlight things that are method calls or routines calls based on the syntax of them being that, rather than based on whether there's a built-in method or routine with that name. It's especially odd when you write a web framework that exports |
The modules that are
Do you think plan shouldn't highlight? I think it's common enough that it's somewhat expected since it's part of Rakudo proper.
I 👍 @jnthn's comment above. Please open an issue for that separately.
Go ahead and open an issue for this one as well. Thanks! |
It isn't. There's a subroutine named plan, but no method. |
Ah yes. Agreed. |
Not sure if much can be done about it, but I notice several cases of inconsistent highlighting in the code below:
Fixed in 5f79d71 and af61e21 (please double check I didn't mess up the regex)MONKEY-GUTS
is highlighted different thanMONKEY-TYPING
The
IO::Testo::Tester
hasIO
part highlighted in different colour; appears to be due to there being anIO
core type/namespace, asFoo::Testo::Tester
highlights fineplan
method is highlighted as a routine, even though AFAIK there's no such core methodis
method is highlighted differently fromplan
or fromis-eqv
andis-run
methods; possibly because it gets highlighted as a traitEven though
@test %test &test
are just text, they get highlighted differently from*test
, as if they were variablesExample Code
Picture [optional]
Leave this in. For internal use.
The text was updated successfully, but these errors were encountered: