Skip to content

LSP Rename: add word under cursor to input line

Waqar Ahmed requested to merge work/lsp-rename into master

This is a minor change to lsp rename.

Currently when you click "LSP->Rename", it presents you with an input dialog with an empty line edit. With this change, the word under cursor will be in the line edit. This has a couple of benefits

  • easy to make sure that you are renaming the word you want
  • easy to modify existing text, rather than retyping it. Consider a change from "var" -> "m_var"

Merge request reports