https://github.com/vhyza/exec-in-window
exec-in-window is replacement for exec command used in Sublime Text 2 build system
https://github.com/vhyza/exec-in-window
python sublime-text-plugin
Last synced: about 1 year ago
JSON representation
exec-in-window is replacement for exec command used in Sublime Text 2 build system
- Host: GitHub
- URL: https://github.com/vhyza/exec-in-window
- Owner: vhyza
- Created: 2012-09-22T15:09:00.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-01-14T18:39:44.000Z (over 13 years ago)
- Last Synced: 2025-04-01T15:21:55.687Z (about 1 year ago)
- Topics: python, sublime-text-plugin
- Language: Python
- Homepage: https://github.com/vhyza/exec-in-window
- Size: 172 KB
- Stars: 15
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# exec-in-window
_exec-in-window_ is modified `exec` command used in _Sublime Text 2_ build system

## features
* display build results in new _Sublime Text_ window instead of output panel
* execute *unsaved* files - based on selected syntax
## installation
### Using Sublime Package Control
If you are using [Sublime Package Control](http://wbond.net/sublime_packages/package_control), you can install plugin via the `Package Control: Install Package menu item`. Plugin is listed as `Exec In Window`
### Using Git
go to _Sublime Text_ `Packages` directory
* `~/Library/Application\ Support/Sublime\ Text\ 2/Packages` on _OS X_
* `%APPDATA%/Sublime Text 2/Packages/` on _Windows_
* `~/.config/sublime-text-2/Packages/` on _Linux_
clone repository
git clone https://github.com/vhyza/exec-in-window.git
## usage
modify build settings for desired language
for example for `Ruby` you need to modify file `Packages/Ruby/Ruby.sublime-build` and add line `"target": "exec_in_window"`
whole file should look like this
````json
{
"cmd": ["/Users/vhyza/.rvm/bin/rvm-auto-ruby", "$file"],
"target": "exec_in_window",
"selector": "source.ruby"
}
````
to disable output panel add `"show_panel_on_build": false` into your preferences (`Command+,`)
press `Command+B` to build file (unnamed files should have set proper syntax)