JuliaEditorSupport / Julia.tmbundle

Julia language support for TextMate 2
Other
15 stars 15 forks source link

Unicode completions? #8

Open malmaud opened 9 years ago

malmaud commented 9 years ago

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.

johnmyleswhite commented 9 years ago

+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.

malmaud commented 9 years ago

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

anowacki commented 7 years ago

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.)

Sacha0 commented 7 years ago

@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!

anowacki commented 7 years ago

PR #14 in.