[go: up one dir, main page]

Skip to content

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

Notifications You must be signed in to change notification settings

vhyza/exec-in-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages