I’ve been looking for a good editor for Haskell for a few months now and two days ago I discovered this one. I’ve tried pretty much all the other editors aimed at programmers and this is the first one that actually has correct syntax highlighting for Haskell. The python programmability makes it even more awesome. Too bad it isn’t open source or even free, but I guess you can’t have everything.
Before this I used Programmer’s Notepad and that has one feature that isn’t currently included: The ability to run other programs and pipe their output to the output panel (specifically, running Ghci or Runhaskell on the current file). No problem, Sublime is programmable so I figured I’d just make a plugin. Running a program and capturing the output as a string isn’t too difficult (os.popen), but I’m having some problems with the output panel. Specifically, I can’t find any API functions to show or print to it. I tried sublime.runCommand(“showPanel output nofocus”) but that does nothing. If these functions are currently available, can someone tell me what they’re called? If not I’d like to request them being added to the API.
Thanks in advance.
EDIT: Also, the API doesn’t list a way to save the file before running the program. Am I just looking in the wrong place?