How to configure SublimeRepl to work with chicken circuit?

Is there anyone who can set up Sublime Text 2 and SublimeRepl to work with chicken circuitry?

I have a chicken in Sublime, but it displays error messages only from the chicken circuit (possibly from the stderr output of the csi process), but it does not display hints and non-evaluated values.

Any help?

+6
source share
2 answers

You need to pass the flag β€œ-: c” to csi. (I guessed it was from the emacs plugin )

So, you need to edit SublimeREPL/config/Scheme/Main.sublime-menu . In my case, on the way (I'm on osx):

 ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/SublimeREPL/config/Scheme/Main.sublime-menu 

The file looks like Main.sublime-menu .

Now you need to edit how the shell is open to the circuit. So go to line 24 (for osx) and change the line:

 "osx": ["scheme"], 

by:

 "osx": ["csi", "-:c"], 

If you are on linux or windows, the fix is ​​the same, but you must edit lines 23 or 25.

If you do not use the "-: c" flag, you will experiment with the problem you are talking about

+3
source

The accepted answer is absolutely correct, but it is annoying. I forked SublimeREPL with the necessary changes to save others. You can clone it in the Packages directory, and you're done.

https://github.com/mnewt/SublimeREPL

0
source

Source: https://habr.com/ru/post/951934/


All Articles