Sublime Elixir Alchemist
What is this?
sublime-elixir-alchemist is a sublime text plugin that attempts to provide all of the functionality of the emacs alchemist plugin to SublimeText 3. It does this by using the actual alchemist-server under the hood to provide all of the functionality. Send all of your money to Samuel Tonini. He deserves it.
Why would you do this?
Does it work yet?
It does on my box! It is currently in development. I haven't set it up to work with anything other than my laptop. If you check it out in your Sublime Text 3 Packages folder right now, it might work. It also might not. If it doesn't it's because I haven't built it to be portable yet. I'm working on getting it working for everything, and I'll update this when I do. Until it's available on package control, don't open any bugs.
What does work on your box?
Code completion works. The definition lookup of code will open the file, but it doesn't focus the screen on the method or module yet. I'm getting to that as well. I bound mine to super-r, but I'll make that configurable as well. Let me know if you have any questions.
The Alchemist-Server operates as an informant for a specific desired Elixir Mix project and serves the following data. Anything checked has been at least partially implemented:
- Completion for Modules and functions.
- Documentation lookup for Modules and functions.
- Code evaluation and quoted representation of code.
- Definition lookup of code.
- Listing of all available Mix tasks.
- Listing of all available Modules with documentation.
INFO: The Alchemist-Server that makes this work is in Beta status and the API will most likely change until the first release.