How do I change the autocomplete key in Aptana

与世无争的帅哥 提交于 2019-12-10 10:59:37

问题


I have looked through all of the keybindings under Preferences | General | Keys.

I have also looked under Preferences | Aptana | Editors.

All to no avail.

Does anybody know how to change the autocomplete key from Enter to Tab or something like that?


回答1:


It depends on the version of Aptana Studio.

In Aptana Studio 2, Preferences > Editors > General: "Insert selected proposal with 'Tab' key..." sounds like it's what you are looking for.

In Aptana Studio 3, it's working that way automatically. "tab" and "enter" both work for for me to autocomplete.

Note, that means that "tab" and "enter" both work. There is no current way to only have "tab" on and "enter" off.




回答2:


On a related topic - if you are annoyed by the autocomplete in Aptana 3 every time you hit 'tab', you can put a delay on the auto-insert popup (or disable it altogether).

Go to Aptana->Editors and turn off "insert single proposals automatically" and then turn the auto-display drop down to "delay 1 second" or "off".

I can't be the only person that gets bothered trying to format my code with 'tab' only to have Aptana 3 insert a random property or statement.



来源:https://stackoverflow.com/questions/4762316/how-do-i-change-the-autocomplete-key-in-aptana

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!