[quote=“jps”]
[quote=“bizoo”]
Before the command panel showed:
Build : DEPLOYMENT
Build : TEST
Now:
Build (DEPLOYMENT): Oracle_list
Build (TEST): Oracle_list
and a lot of other entry (Build: New Build System, …) unnecessary in this context.[/quote]
Can you expand a bit on why this is problematic? As far as I can tell, the workflow is identical, e.g., to run the ‘DEPLOYMENT’ variant, you open the command palette and enter deployment.
With regards to the other issue of switching between .js and .java files with multiple matching build systems, that should be resolved in the next dev build.[/quote]
Just ran into this as well. The basic issue is that the default prompt “Build With:”, which the ctrl+shift+b binding opens, does not include variants and just entering the name of the variant in the command palette has a fairly high chance at times to find different command items since variant names are arbitrary. I can think of two ways to solve this:
-
Rename the command palette entries for build variants from “Build (VARIANT): BUILD-SYSTEM NAME” to “Build With: BUILD-SYSTEM NAME (VARIANT)”
-
When a build system is selected that has multiple variants, open another quick panel to select the variant. Kind of like Goto Definition.
-
would be faster to select (only one prompt) while 2. makes the command palette less cluttered with all the variants and gives a clearer overview of the builds available. I think I prefer 1.
@farfromrefuge: I think you need to select the base build system with the variant first using the ctrl+shift+b, or explicitly specify the build sytem with the “build_system” argument.
command: build {"build_system": "Packages/User/pytest.sublime-build"}