forked from qt-creator/qt-creator
LanguageClient: close and reopen renamed documents
That is the way accoarding to https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_didRename Change-Id: Ibed1873ac85eb2e9074481537a34f959a55a6f71 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -110,7 +110,8 @@ public:
|
||||
bool isSupportedFile(const Utils::FilePath &filePath, const QString &mimeType) const;
|
||||
bool isSupportedUri(const LanguageServerProtocol::DocumentUri &uri) const;
|
||||
virtual void openDocument(TextEditor::TextDocument *document);
|
||||
void closeDocument(TextEditor::TextDocument *document);
|
||||
void closeDocument(TextEditor::TextDocument *document,
|
||||
const std::optional<Utils::FilePath> &overwriteFilePath = {});
|
||||
void activateDocument(TextEditor::TextDocument *document);
|
||||
void activateEditor(Core::IEditor *editor);
|
||||
void deactivateDocument(TextEditor::TextDocument *document);
|
||||
|
||||
Reference in New Issue
Block a user