1

I am not sure what exactly to google, on this issue. I have emacs 28.1 installed, with LSP-clangd and company-mode installed.

Suppose a function have signature int func(int i, int j), then emacs autocomplete it as func(${1:int i}, ${2:int j}). What are these {$:int 1} things? How can i make sure these are not written to buffer on autocomplete? Or are they part of some workflow I dont know about? (Like in sublime text you can jump to such fields using tab).

1
  • I'm guessing you need to install yasnippet. It should be mentioned in the docs of whatever LSP client you are using.
    – Dmitry
    Aug 7 at 13:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.