在 Sublime 中浏览没有箭头的自动完成结果
Browse autocomplete results without arrows in Sublime
我正在使用 Sublime Text 3,并且我正在尝试不对任何东西使用箭头。但是,如果没有箭头,我似乎无法滚动浏览自动完成或 Ctrl+P 的不同结果。
有什么建议吗?谢谢!
您可能希望在您的键盘映射文件中有这样的内容:
// navigation with tab in autocomplete popup
{ "keys": ["tab"], "command": "move", "args": {"by": "lines", "forward": true}, "context": [{ "key": "auto_complete_visible" }] },
{ "keys": ["shift+tab"], "command": "move", "args": {"by": "lines", "forward": false}, "context": [{ "key": "auto_complete_visible" }] },
// navigation with tab in overlay
{ "keys": ["tab"], "command": "move", "args": {"by": "lines", "forward": true}, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true } ] },
{ "keys": ["shift+tab"], "command": "move", "args": {"by": "lines", "forward": false}, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true } ] },
我正在使用 Sublime Text 3,并且我正在尝试不对任何东西使用箭头。但是,如果没有箭头,我似乎无法滚动浏览自动完成或 Ctrl+P 的不同结果。
有什么建议吗?谢谢!
您可能希望在您的键盘映射文件中有这样的内容:
// navigation with tab in autocomplete popup
{ "keys": ["tab"], "command": "move", "args": {"by": "lines", "forward": true}, "context": [{ "key": "auto_complete_visible" }] },
{ "keys": ["shift+tab"], "command": "move", "args": {"by": "lines", "forward": false}, "context": [{ "key": "auto_complete_visible" }] },
// navigation with tab in overlay
{ "keys": ["tab"], "command": "move", "args": {"by": "lines", "forward": true}, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true } ] },
{ "keys": ["shift+tab"], "command": "move", "args": {"by": "lines", "forward": false}, "context": [{ "key": "overlay_visible", "operator": "equal", "operand": true } ] },