Skip to content

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!

Co-authored-by: Jeff Bezanson <jeff.bezanson@gmail.com>
@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

5 participants