Sublime Forum

Build With... shortcut

#1

Does anyone knows what is going on with the shortcut for “Build With…” from the Tools menu? It should be there, invoked with “super+shift+b” (I am using ST3 on Mac OSX) but it does not bring window to select options. Can you help?

Thanks!

0 Likes

#2

Check status bar when you press a combination. It should say “No Build System”. Window will be shown if there is something to choose from. Try it with any *.py file, for instance.

0 Likes

#3

So it seems to work with Python! But it still does not work with LaTeX (*.tex) files. But if you pres “Super+shift+b” it will run the lastly selected option.

0 Likes

#4

Could it be that you only have one build system candidate for latex files?

0 Likes

#5

Nope! Actually, when I open via Tools -> Build With, then I have 6 of those… :slightly_smiling:

0 Likes

#6

Then you are most likely using the LaTeXing package, which annoyingly overrides the default binding.

Solutions:

  1. Re-override the binding in your user settings.
  2. Use a different package.
  3. Spam the package author about this issue and hope he fixes it soon.
0 Likes

#7

Yes, I do use LaTeXing! :frowning:
Can you, please, guide me how to re-overide that binding?

0 Likes

#8

Open user’s keybindings (it’s in preferences menu) and add

{ "keys": ["super+shift+b"], "command": "build", "args": {"select": true} }

In case if the bindings’ file is empty put it in additional {} brackets.

0 Likes

#9

Thanks so much! Problem fixed :slightly_smiling:
(And I was close with {“select”: false}, which, of course, worked as it should. In other words, I was reading around and produced that line above with wrong value for select. :frowning: )

0 Likes

#10

I am getting this same issue but in my case I don’t have Latexing installed. I added the keybinding above in my user keybindings but nope nothing happens. From the file menu if I select build with I get the menu every single time. I am running Sublime 3 Build Dev Build 3175.

To make matters worse, any command I try to bind to ctrl+alt+e doesn’t work at all either. When I tell the console to print out the keys that it reads for ctr+alt+e Sublime tells me chr_evnt: <0x05>. That is all.

0 Likes

#11

Did you run sublime.log_commands(True) before? Does the output on the console change?

0 Likes

#12

Yes I did. After setting sublime.log_commands(True) and executing super+shift+B the console outputs nothing. It stays the same as prior to executing the key combination.

0 Likes