Skip to content
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

ParseError when using question mark operator "?" for help #3563

Open
Aaron-Anh opened this issue Mar 11, 2024 · 2 comments
Open

ParseError when using question mark operator "?" for help #3563

Aaron-Anh opened this issue Mar 11, 2024 · 2 comments

Comments

@Aaron-Anh
Copy link

Aaron-Anh commented Mar 11, 2024

Using the question mark operator to get information about any function throws a ParseError.
This applies for every .ipynb that is run in VSCode but running the same notebook in the browser (in an anaconda environment) works fine. Also the terminal in VSCode enables the switching to help-mode.

I use the Julia language extension v1.74.2 and Julia v1.10.2 (also using the development environment).

full code:

?print

Error code

ERROR: ParseError:

Error @ Untitled-1:1:1

?print
╙ ── not a unary operator
Stacktrace:
[1] top-level scope
@ Untitled-1:1

@pfitzseb
Copy link
Member

We won't change that in .jl files, but arguably notebooks should support this syntax.

@Aaron-Anh
Copy link
Author

We won't change that in .jl files, but arguably notebooks should support this syntax.

Thanks for the quick reply. I see that it's not supposed to work in .jl files and edited the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants