summaryrefslogtreecommitdiff
path: root/src/plugins/languageclient/languageclienthoverhandler.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-12-15 07:23:55 +0100
committerDavid Schulz <david.schulz@qt.io>2022-12-15 09:49:48 +0000
commit2d0456f08509092b2bd882a723b8b26b2143945a (patch)
tree8e23b8bc61939755f497793cb823073ac95a42ad /src/plugins/languageclient/languageclienthoverhandler.h
parent0b33a08af1e088670e561fad316f4dfe7fcd265e (diff)
downloadqt-creator-2d0456f08509092b2bd882a723b8b26b2143945a.tar.gz
LSP: Support remote LSP file paths
Change-Id: If3cf1b8d675ef091427dbcd703c7d14b384a1b3a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/languageclient/languageclienthoverhandler.h')
-rw-r--r--src/plugins/languageclient/languageclienthoverhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/languageclient/languageclienthoverhandler.h b/src/plugins/languageclient/languageclienthoverhandler.h
index 08840d406f..4aa8099a59 100644
--- a/src/plugins/languageclient/languageclienthoverhandler.h
+++ b/src/plugins/languageclient/languageclienthoverhandler.h
@@ -15,7 +15,7 @@ namespace LanguageClient {
class Client;
using HelpItemProvider = std::function<void(const LanguageServerProtocol::HoverRequest::Response &,
- const LanguageServerProtocol::DocumentUri &uri)>;
+ const Utils::FilePath &path)>;
class LANGUAGECLIENT_EXPORT HoverHandler final : public TextEditor::BaseHoverHandler
{
@@ -49,7 +49,7 @@ private:
QPointer<Client> m_client;
std::optional<LanguageServerProtocol::MessageId> m_currentRequest;
- LanguageServerProtocol::DocumentUri m_uri;
+ Utils::FilePath m_filePath;
LanguageServerProtocol::HoverRequest::Response m_response;
TextEditor::BaseHoverHandler::ReportPriority m_report;
HelpItemProvider m_helpItemProvider;