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

give Pkg repl mode tips when interactive #53823

Closed

Conversation

IanButterworth
Copy link
Member

Pkg counterpart JuliaLang/Pkg.jl#3854

@Keno
Copy link
Member

Keno commented Mar 23, 2024

That said, I think we may want a hint for when somebody literally types the string "pkg>" into the julia repl to tell them how to enter the pkg prompt.

@IanButterworth
Copy link
Member Author

Makes sense. Issue opened here JuliaLang/JuliaSyntax.jl#427

@Keno
Copy link
Member

Keno commented Mar 23, 2024

I don't think it needs to be in the parser. I think the repl frontend can literally just do a strcmp since it's repl specific

@IanButterworth
Copy link
Member Author

Ok. I did have an attempt here #53829 but it doesn't work yet.

@KristofferC
Copy link
Member

FWIW, I personally like the "API versions" more, it won't be obvious for everyone they can copy paste the pkg> output. However, for suggestions in errors that originate from a Pkg command we can chose the version based on if the Pkg command was done using the REPL or API mode.

@IanButterworth IanButterworth marked this pull request as draft June 21, 2024 03:52
@IanButterworth IanButterworth deleted the ib/interactive_tips branch September 5, 2024 01:05
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

Successfully merging this pull request may close these issues.

3 participants