Sublime Forum

LSP c++: how to use autocomplete to change '.' to '->' for pointers?

#1

I’m using ST4 and LSP (clang) for c++. Is there a way to change . to -> for pointers automatically?

For example, when autocomplete finishes, it can change a.b to a->b automatically.

0 Likes

#2

Sounds like something the language-server backend needs to handle.

0 Likes