ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Exec In Window

by vhyza ST2

exec-in-window is replacement for exec command used in Sublime Text 2 build system

Details

  • 2013.01.14.18.39.18
  • github.​com
  • github.​com
  • 11 years ago
  • 19 minutes ago
  • 12 years ago

Installs

  • Total 547
  • Win 337
  • Mac 127
  • Linux 83
May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

exec-in-window

exec-in-window is modified exec command used in Sublime Text 2 build system

SublimeText screenshot

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, 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

{
  "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)