Skip to content

DHE: Python Language Server #156

@bmingles

Description

@bmingles

The vscode extension needs to be able to use a language server running on the server in the context of the Core+ worker.

  • Extension needs to talk to language service specific to the Core+ worker the editor is running against
  • There are certain global objects available to Python scripts. These should show up in intellisense
  • What to do when worker is not connected?
  • DHE: Workspace dependencies #105 is related and should probably be addressed via the LSP

Notes
We have a LSP implementation that can be used as a starting point:

https://github.com/deephaven-ent/iris/blob/b10dd884acd3deae810ca85d391b029ee655d95b/web/client-api/src/main/java/com/illumon/iris/ide/shared/IdeSession.java#L141

We might also consider a stop gap solution for this by providing a requirements.txt to the user to mirror their local env with the server. This would get around the need to have access to the server's language service.
Related docs:

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions