-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scheme racket #22
Conversation
This is cool - thanks! Not sure how to handle the empty lines - do you have any ideas? |
We could intercept the empty lines before they get passed to the interpreter, letting it be a no-op. I haven't delved into the python code very deeply, I will implement this and push it up. |
Check how PHP is configured - it ignores lines with '' (i.e. doesn't send them to the interpreter) because the interpreter chokes on them, but we need them in the editor for syntax to work. I haven't tried it, but it might be as simple as adding:
to the racket config. |
@jcartledge That worked! I noticed that it doesn't insert the results as comments, I assume that is what the prefix key is right? |
OK, I finally got a bit of time to look at this.
Can you please:
Then we should be good to go! Thanks for making the effort - I really appreciate it. |
I verified that it works on my end, sorted the list of languages and then rebased off your new master branch, we should be good to merge. Working on this is my pleasure, this is just the kind of functionality I've been missing in ST2 that Emacs had going for it. I like the sublime-worksheet approach more though, since it is much easier to work with than Lisp. |
This is in master and will be in the next release going out in a day or so. |
@jcartledge Will that release be available to the ST2 package manager? |
Yes it will. |
Awesome |
Add Scheme (Racket) support
Note: Still need to handle empty lines, Scheme interpreters pause on empty lines.