问题
Does anyone know how i could use sublime text 2 with scheme. I've heard ST2 and I want to try it out? right now I'm learning scheme. I have the scheme interpreter installed - I can go to the terminal and type in scheme and run code. I can also run the interpreter in emacs, but emacs isn't really fun.
回答1:
It's probably a little bit late but I'd still like to share my experience...
Now I'm using Sublime Text 2 and using Scheme fine.
First install the package "Scheme" through package control.
Then install the package "SublimeREPL" (for Sublime Text 2).
Then you should have a fully functioning Scheme environment in your Sublime! Syntax highlight is good, and use SublimeREPL for a interactive Scheme prompt.
回答2:
I wish my answer would help you~ My solution isn't to use Mit-Scheme but DrScheme,and the specific process is as following:
- Download PLT-Scheme and install it (http://download.plt-scheme.org/).
- Add its installation path to environment variables "Path".
- Install the package "SublimeREPL"
- Find the file "Sublime Text 2\Packages\SublimeREPL\config\Scheme\Main.sublime-menu",
open with Sublime Text 2. Find the code:
"cmd": {"linux": ["scheme"], "osx": ["scheme"], "windows": ["scheme"]},
and change it :
"cmd": {"linux": ["scheme"], "osx": ["scheme"], "windows": ["scheme"]},
pic
Save.
- Open Sublime Text 2,
ctrl+shift+p
,and enterscheme
,pressEnter
Enjoy it!
来源:https://stackoverflow.com/questions/13221293/sublime-text-2-with-mit-scheme