mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 00:15:05 +00:00
JetBrainsPluginClient: Improve error message when no plugin found,
asking the use to open the project in the IDE Resolves #1019
This commit is contained in:
1 parent
db9980f0ed
commit
d66152bc29
1 file changed
+5
-1
@@ -134,7 +134,11 @@ class JetBrainsPluginClient(ToStringMixin):
|
||||
resolved_path,
|
||||
plugin_paths_found,
|
||||
)
|
||||
raise ServerNotFoundError("Found no Serena service in a JetBrains IDE instance for the project at " + str(resolved_path))
|
||||
raise ServerNotFoundError(
|
||||
f"Found no Serena service in a JetBrains IDE instance for the project at {resolved_path}. "
|
||||
"CRITICAL: Before you continue, ask the user to open this folder as a project in a JetBrains IDE "
|
||||
"with the Serena plugin installed and running!"
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def _paths_match(resolved_serena_path: str, plugin_path: str) -> bool:
|
||||
|
||||
Reference in new issue
Block a user