Skip to content

Commit dee1459

Browse files
committed
[Docs] Add a note about TAB and M-TAB
1 parent f48dfc6 commit dee1459

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/modules/ROOT/pages/usage/code_completion.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,23 @@ dedicated buffer.
1717

1818
image::code_completion.png[Code Completion]
1919

20+
[NOTE]
21+
====
22+
There are two things to keep in mind about the standard completion:
23+
24+
1. The default keybinding kbd:[M-TAB] is not usable in desktop environments that
25+
use it for switching between open applications.
26+
2. You have to configure kbd:[TAB] to do completion manually by adding this snippet your Emacs config:
27+
28+
[source,lisp]
29+
----
30+
(setq tab-always-indent 'complete)
31+
----
32+
33+
Normally kbd:[TAB] only indents, but now it will also do completion if the code
34+
is already properly indented.
35+
====
36+
2037
== Auto-completion
2138

2239
While the standard Emacs tooling works just fine, we suggest that

0 commit comments

Comments
 (0)