Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySql Workbench Insert Template Parameters Shortcut

So in SSMS I can use the shortcut [ctrl + shift + M] to populate these template placeholders. Here is an example of insert into table for ssms:

Example of SSMS Insert Template Parameters

In MySQL Workbench, when I send an insert statement to the sql editor (just like ssms), I see the same template placeholders but I can't figure out how to edit them as fast as ssms. Does this feature exist in MySQL Workbench? For reference, here is a screenshot of the template placeholders in MySQL workbench:

MySQL Workbench insert template parameters

like image 710
Solarcloud Avatar asked Feb 04 '26 06:02

Solarcloud


1 Answers

The only way that I could find to move between the placeholders for the template parameters was to use the Edit menu's Select Next Placeholder option. This option can be accessed via the keyboard shortcut Ctrl+Shift+OemQuestion (which I took to mean Ctrl+Shift+?).

This option has the effect of moving the cursor sequentially forwards through the available placeholders (from the cursor's current position to the next placeholder in the query tab).

Screenshot of MySQL Workbench with Edit menu's Select Next Placeholder option visible in the foreground, and the SQL Editor showing an INSERT Statement template with placeholders.

like image 172
w5m Avatar answered Feb 07 '26 12:02

w5m



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!