0

I would like to be able to perform lsp-mode operations on code comments, for example I would like to be able to run lsp-find-definition on this.


void my_fn(struct Foo bar)
{
   /** This is a doxygen comment, this is some code: `bar.member` */
   //                                                     ^ my cursor is here!
}

Is there a way to place my cursor over the code in the comment and perform a lookup on bar.member just as it would if it was not in a comment?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.