gcv / julia-snail

An Emacs development environment for Julia
GNU General Public License v3.0
235 stars 23 forks source link

Consecutive super/subscript completion #131

Closed hatmatrix closed 7 months ago

hatmatrix commented 11 months ago

Hello, thanks for this excellent package!

I found out that Julia supports consecutive super/subscript completion. Typing for instance, x\_123<tab> produces x₁₂₃ in the REPL. However, I don't get this behavior in the Emacs script file (nothing happens when I hit <tab>) I also tested in VS Code and don't get that either (there, hitting <tab> just enters tab character).

Is there something that needs to be added specifically to the editor or it's just something difficult to implement?

gcv commented 11 months ago

It should be possible to make Emacs do this, but it's a matter for julia-mode, as Snail relies on it for code formatting.

hatmatrix commented 11 months ago

Thanks a lot. I see every entry for these characters are included manually so maybe difficult to implement but will check.

gcv commented 7 months ago

Closing as there isn't anything to do on the Snail side.