Hot keys for annotation #1449
-
How to implement (what is the combination of keyboard buttons and mouse) adding an annotation like the picture https://user-images.githubusercontent.com/1073877/111884243-a337c780-89c0-11eb-856e-b6c3b1042810.gif on the page https://github.com/sumneko/lua-language-server/wiki/Annotations, thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
carsakiller
Aug 7, 2022
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
carsakiller
-
Thank you very much, this is exactly what I was looking for, we should add it to the manual (for beginners like me) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe that is just for quick demonstrative purposes and the annotations are just being pasted (CTRL + v) or were deleted and then undone (CTRL + z). As far as I am aware, there is no button for adding annotations like that. There is however a completion snippet that can be offered when starting to annotate a function. Typing
---
above a function that is not yet annotated will prompt the following completion: