Julia.tmbundle icon indicating copy to clipboard operation
Julia.tmbundle copied to clipboard

Unicode completions?

Open malmaud opened this issue 9 years ago • 5 comments

What do you guys think about having completions like \theta + tab resulting in θ, like the Julia REPL has? I find myself wanting to use more unicode symbols in my own code, but the difficulty of inputting them in Sublime is prohibitive.

malmaud avatar May 26 '15 14:05 malmaud

+1

For now I've been using the UnicodeMath package, but it would be nice to be in sync with Julia.

One bummer: Sublime 2 has worse support for combining characters than Julia's REPL, so things like \theta + tab + \hat + tab don't work.

johnmyleswhite avatar May 26 '15 15:05 johnmyleswhite

I didn't realize the REPL could do that. Neat.

malmaud avatar May 26 '15 15:05 malmaud

TextMate 2 Julia user here.

I actually wrote a separate bundle to support this, which makes the snippets from the Julia source. I wrote it as a separate package because I thought it would be useful in other scopes, but I'd be happy to put together a PR if you wanted it in official Julia bundle. (It does, however, have some ugly hacks to avoid case-insensitivity on HFS.)

anowacki avatar Nov 21 '16 09:11 anowacki

@anowacki, this is great! I much look forward to giving this bundle a go, and would be delighted to see something along these lines in the official Julia bundle. Best!

Sacha0 avatar Nov 21 '16 20:11 Sacha0

PR #14 in.

anowacki avatar Nov 25 '16 11:11 anowacki