Skip to content
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

Build system menu item in ST3 #73

Closed
deconvolved opened this issue Nov 5, 2015 · 4 comments
Closed

Build system menu item in ST3 #73

deconvolved opened this issue Nov 5, 2015 · 4 comments
Labels

Comments

@deconvolved
Copy link

When installed for Sublime Text 3, an item named '.sublime-build' is added to the build system menu (Tools > Build System).

Running 'zip -d Handlebars.sublime-package ".sublime-build"' resolved this issue for me. I don't know if this breaks anything else, but highlighting still seems to work properly.

This is for version v2015.09.05.15.51.58 with Sublime Text 3, Build 3083.

@daaain
Copy link
Owner

daaain commented Nov 5, 2015

Hmm, I'm not sure if I follow you, but this package does have a .sublime-build file and it's only needed for development so you can definitely live without it :)

@deconvolved
Copy link
Author

In Sublime Text 3 the .sublime-build file is being interpreted as a build system that should be made available to the user via the menu. After the package is installed, a build system option named .sublime-build appears in the menu under Tools > Build System along with Python, Ruby, etc.

In other words, instead of staying hidden away for development, the file is triggering the creation of a new build system option for regular users. And one with a broken name in that it gives no indication what it is for (the name in the menu is literally .sublime-build).

@daaain
Copy link
Owner

daaain commented Nov 5, 2015

Aaah, I see now, good spot! Thanks so much for reporting!

I've just done a bit of research and couldn't find any option to hide or rename the option from the .sublime-build file itself.

The only thing I can think of is to maybe use Package Control APIs and automatically delete the file post install: https://packagecontrol.io/docs/events

I don't use Handlebars much these days and have very little time to maintain this package, would you be up for giving this a try and submitting a PR?

@daaain daaain added the bug label Nov 5, 2015
@daaain
Copy link
Owner

daaain commented Dec 13, 2015

Added a note about this issue and the workaround in the README, closing for now as programatically deleting the file sounds like a complicated solution.

@daaain daaain closed this as completed Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants