简体   繁体   English

如何在mysql工作台热键中更改为下/上

[英]how to change to lower/upper in mysql workbench hotkey

I am wondering if there is a hotkey to change the code to lower or upper in MySQL workbench?我想知道是否有一个热键可以将 MySQL 工作台中的代码更改为下或上?

Like in MS SQL Server, you just press ctrl + shift + L/U and it changes your code to the either lower or upper case.就像在 MS SQL Server 中一样,您只需按 ctrl + shift + L/U 即可将您的代码更改为小写或大写。

Thanks!!谢谢!! EZ易经

Interesting question... you can use: Edit -> Format -> UPCASE Keywords (but it has no shortcut key).有趣的问题...您可以使用:编辑 -> 格式 -> UPCASE 关键字(但它没有快捷键)。 This would change the Keywords in the selected texts to Uppercase: See here这会将所选文本中的关键字更改为大写: 参见此处

There is no equivalent for SQL Server's ctrl + shift + L/U in MySQL Workbench. MySQL Workbench 中没有 SQL Server 的 ctrl + shift + L/U 等效项。 MySQL Workbench recommends adopting a consistent convention, such as always creating and referring to databases and tables using lowercase names: See here MySQL Workbench 建议采用一致的约定,例如始终使用小写名称创建和引用数据库和表: 请参见此处

Update Dec 2020 2020 年 12 月更新

Ctrl + Shift + U: now works and converts the text to UPPERCASE, but I could not figure out what is the shortcut for converting the text to lowercase... I think this is a bug, because MySQL workbench has not added the shortcut key to the menu either: Ctrl + Shift + U:现在可以工作并将文本转换为大写,但我不知道将文本转换为小写的快捷方式是什么......我认为这是一个错误,因为MySQL工作台没有添加快捷键到菜单:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM