Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

菜单快捷键和 View 菜单的一些问题 #1

Open
OiCkilL opened this issue May 8, 2015 · 3 comments
Open

菜单快捷键和 View 菜单的一些问题 #1

OiCkilL opened this issue May 8, 2015 · 3 comments

Comments

@OiCkilL
Copy link

OiCkilL commented May 8, 2015

使用起来发现有两个不大不小的问题,咱以为会对用户体验有所影响。

菜单栏快捷键提示


菜单(alt)快捷键提示在Mac和Linux下没有意义,希望在这两个系统下可以隐藏。

View 菜单


View 菜单下的 Hide / Show Minimap, Hide / Show Tabs, Hide / Show Status bar, Hide / Show Menu, Hide / Show Console 等对应切换项没有可视化的切换功能。
就是说在 Show Tabs 指令发生时该菜单没有改变为该有的状态。

@rexdf
Copy link
Owner

rexdf commented May 9, 2015

菜单(alt)快捷键提示在Mac和Linux下没有意义,希望在这两个系统下可以隐藏。

快捷键依然可以使用的,只是不能配合Alt键使用而已。Linux和OSX可以自己设置toggle_menu的快捷键来弹出主菜单,然后那些字母就是组合键了,我等会试试。而且要隐藏技术上是会复杂一些。

就是说在 Show Tabs 指令发生时该菜单没有改变为该有的状态。

我觉得技术上,目前无解,这是Sublime Text内部的函数,不受外部控制。要么显示英文的切换菜单,要么显示中文的静态菜单。本着完全翻译的原则全部翻译了。其实对于这种toggle的,你要关心显示状态干什么,有没有显示直接就可以看到啊,有没有切换菜单显示无所谓啊。

@rexdf rexdf closed this as completed May 13, 2015
@rexdf rexdf reopened this May 26, 2015
@rexdf
Copy link
Owner

rexdf commented May 26, 2015

现在OSX没有那个(F)了。Linux上面的保留,因为Linux我测试可以用Alt键打开。

@maboloshi
Copy link
Contributor

maboloshi commented Jul 5, 2020

可同时准备 2 套Main.sublime-menu文件(一个带提示,一个不带) 当目标系统为osx 则使用 不带提示的

sublime.platform()== 'osx'

另外, 测试发现并不支持Main (OSX).sublime-menuMain (Windows).sublime-menu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants