Word autocomplete #372
Replies: 3 comments 3 replies
-
I opened a new buffer, typed "foo" followed by Enter (new line). Then I
typed "f" followed by Ctrl+Enter. It completed "oo" so now I have two
lines, both containing "foo". Does using the Edit > Complete Word menu
item work? Maybe your key binding is not being recognized for some reason.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes, and yes. The manual has information on setting up key bindings. For
the former, you can hook into the `events.CHAR_ADDED` event. I believe
there was a previous discussion on this topic.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Sorry to disappoint. I wrote Textadept for myself and decided to share
it with you all. I don't need this feature, so I didn't implement it. I
gave users that want it the option to implement it themselves. If this
isn't your thing, then you may want to consider a more full-featured editor.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's not working out of the box. It's a normal text file so it's not related to language servers. First I thought autocomplete is disabled so I had to use shortcut keys to manually trigger it. I pressed
Ctrl+Space
but nothing happened. Then I found on Edit menu the shortcut key for word autocomplete on TextAdept isCtrl+Return
. To my limited knowledge, I thinkReturn
isEnter
. So I triedCtrl+Enter
, it also didn't work!p/s: Could you tell me why you decided to use
Ctrl+Return
for word autocomplete on TextAdept instead ofCtrl+Space
? It's alwaysCtrl+Space
on other text editors, orCtrl+Shift+Space
. Btw, what doesCtrl+Space
do on TextAdept?Beta Was this translation helpful? Give feedback.
All reactions