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
"target" property in build system ignores "select": true #1637
Comments
The |
Or perhaps I am misunderstanding you – are you expecting that the |
Sorry for being unclear.
Yes.
To be able to distinguish wether the user selected "Build" or "Build With...". This allows the Okay, so it's essentially a feature-request then, if this behaviour is intended. |
Why not use the built-in variant system? Passing a new, unknown param to build system targets could result in breakage of existing build systems. I'm not sure we'd do this, simply for backwards compatibility. |
Hmm, good point. Well, I have a lot of "variants" that can essentially be computed by a plugin, so it makes sense for me to encapsulate that in a |
Summary
"target" property in build system ignores "select": true
Expected behavior
"target" property should receive the "select": true key-value in its **kwargs when the user selects "Build With..." in the Tools menu.
Actual behavior
"target" property receives no "select": true key-value in its **kwargs when the user selects "Build With..." in the Tools menu.
Steps to reproduce
Create new folder with sublime project:
Put this in the User directory:
Open the above project.
Select the "example" build system.
Open the Python console.
Click Tools -> Build
Console displays:
This is expected.
Now click Tools -> Build With...
Console displays:
Expected:
Environment
Sublime Text Build 3126
The text was updated successfully, but these errors were encountered: