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

better sub/superscript tab completion #38649

Merged
merged 2 commits into from
Dec 2, 2020
Merged

better sub/superscript tab completion #38649

merged 2 commits into from
Dec 2, 2020

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Dec 1, 2020

Closes #38644: Tab completion now supports runs of consecutive sub/superscript characters, e.g. \^(3) tab-completes to ⁽³⁾.

The REPL help also reflects this, e.g.

help?> ᵞ₁₂₃¹²³α
"ᵞ₁₂₃¹²³α" can be typed by \^gamma<tab>\_123<tab>\^123<tab>\alpha<tab>

@stevengj stevengj added the REPL Julia's REPL (Read Eval Print Loop) label Dec 1, 2020
@stevengj
Copy link
Member Author

stevengj commented Dec 2, 2020

Hey, no unrelated CI failures for once!

@DavidSagan
Copy link

DavidSagan commented Jun 20, 2023

This does not work for alphabetic character strings like: A\_abc<tab>
Tested on V 1.9.0

@oscardssmith
Copy link
Member

this is unicode's fault. Unicode only has subscript characters for aehijklmnoprstuvx

@DavidSagan
Copy link

@oscardssmith Interesting! Suggestion: Document this to reduce frustration. Or better yet, have the REPL print an error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

more convenient super/subscript tab completion
4 participants