AL icon indicating copy to clipboard operation
AL copied to clipboard

Run Build Task… vs. Ctrl+Shift+B

Open lvanvugt opened this issue 7 years ago • 3 comments

In VSCode there seems a difference between Run Build Task… and Ctrl+Shift+B. Selecting Task > Run Build Task… the command pallet urges me to enter to Select build task to run. But when I use the shortcut Ctrl+Shift+B it just builds. So what is the difference?

Reading https://code.visualstudio.com/docs/editor/tasks I get the idea the AL extension has implemented a default build task activated by the shortcut , but not selectable when using the menu item Run Build Task.

Anybody a clue?

lvanvugt avatar Aug 30 '18 14:08 lvanvugt

Yes, your understanding is correct and this is unfortunately a known limitation of the AL extension. We override the shortcut Ctrl+Shift+B and run our compiler when you press it. A similar problem exists for F5 and starting the debugger from VSCode UI, see also https://github.com/Microsoft/AL/issues/262.

Recently, VSCode team has made certain improvements (partially) that will allow us make the experience more consistent, so we will soon revisit these issues.

defr0std avatar Aug 31 '18 08:08 defr0std

Clear and thanx.

lvanvugt avatar Sep 01 '18 07:09 lvanvugt

Hi, thank you for your suggestion! We are not prioritizing this for the immediate future, but we recommend you submit this at aka.ms/BCIdeas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.

blrobl avatar Nov 28 '23 15:11 blrobl