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?