-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add syntactic holes which raise errors with full context information #197
Comments
Just FYI, there is some nix code here and there that uses |
Ah, OK. Maybe |
Purescript uses Naming “internal” variables like |
For code completion, these holes would be treated as "stop tokens". Immediately upon encountering one, a special exception is throw with the current lexical scope as its argument, allowing a completion list to be built. Note that completion within dynamic arguments to |
Purescript notation sounds promising, since "Nix C++ compatibility" would refuse such syntax. |
I'm not sure any work has started on this yet. |
@jwiegley But the work in #398 is related to this issue, right?! I ended up finding this issue because I was confused about the purpose of the Lines 123 to 124 in 704323e
(CC @Madelinja) |
Interesting, I wasn't even aware of |
Add a token for the symbol '_' such that when the evaluator encounters it, we print everything we know about that point in the code.
This feature could also become the basis for supporting name completion in editors.
The text was updated successfully, but these errors were encountered: