如何管理 MySQL Workbench 中的 SQL 选项卡? [英] How to manage the SQL tabs in MySQL Workbench?

查看:46
本文介绍了如何管理 MySQL Workbench 中的 SQL 选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常需要的每个项目都有多个 SQL 查询.我的问题是,我的所有项目都需要在 Workbench 中使用相同的 MySQL 连接.

There are multiple SQL queries for every project I need often. My problem is, all my projects need the same MySQL connection in Workbench.

所以我一直打开大量的 SQL 选项卡,如下所示:

So I have a huge amount of SQL tabs opened all the time, which looks like this:

因为标签的数量超过了我的显示器的宽度,我必须左右滚动才能找到一些查询.唯一的方法是单击两个箭头(屏幕截图的右侧).这真的很不清楚也很烦人.

Because the amount of tabs exceed the width of my monitor, I have to scroll left and right to get to some queries. The only way to do this is to click on the two arrows (right side on the screenshot). That's really unclear and annoying.

有没有更好的方法来处理这个问题?是否可以在多个 SQL 选项卡之间快速切换或以其他方式排列它们?

Is there a better way to handle that? Is it possible to quickly switch between multiple SQL tabs or to arrange them in another way?

推荐答案

如果你还有很多标签,你可以使用键盘快捷键在它们之间切换:

If you still have many tabs you can switch between them using keyboard shortcuts:

  • Ctrl + shift + Page up
  • Ctrl + shift + Page down
  • Ctrl + shift + Page up
  • Ctrl + shift + Page down

这篇关于如何管理 MySQL Workbench 中的 SQL 选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆