Sublime Forum

Execute files from sidebar

#1

Hi,
I programm Love2D with SublimeText3 and would like to execute .exe or .bat or any other file from the
the sidebar. Is there any plugin for this?

There is “open containing folder” … but a “Run” option would be great.

0 Likes

#2

Hi @tichy you can add file_exclude_patterns: ["*.exe, "*.bat"] in you settings.

0 Likes

#3

why should I exclude .exe or .bat files?
I want to run (Start) them from within Sublime.

0 Likes

#4

There may be something in PackageControl that does this already, but if there’s not it should be a pretty simple plugin to create. I’m on mobile at the moment but if you don’t find one we can whip one up in a couple of hours.

0 Likes

#5

Sorry man, i understand wrong… I read exclude instead of execute… I need glasses… :nerd_face:

0 Likes

#6

haha. no problem.
And i found what i wanted. There is this: https://packagecontrol.io/packages/SideBarEnhancements
And it includes the option to open any file like the OS would open it so in the cae of a bat or exe it just runs them.
Thats very neat. The Plugin seems a bit overstuffed but I am sure its tweakable!

Its so much mor comfy to run your game directly from inside Sublime instead of switching from window to window.

But… yeah… it could be even better. What would be very neat: A button directly next to the file… like a PLAY button… hit and run!

But its fine for now!

1 Like