microsoft / microsoft/multilspy

Project workspace setup in eclipse_jdtls

Open
#34 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
610
Forks
111
PR merge metrics
No merged PRs in 30d

Description

In the current implementation, the workspace directory for Eclipse JDTLS is generated using a random UUID for every invocation:

ws_dir = str(PurePath(
        MultilspySettings.get_language_server_directory(),
        "EclipseJDTLS",
        "workspaces",
        uuid.uuid4().hex,
    )
)

Two directories are created inside ws_dir:

data_dir = str(PurePath(ws_dir, "data_dir"))
dtls_config_path = str(PurePath(ws_dir, "config_path"))

Shouldn't workspace directories be consistent across invocations for the same project?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the workspace-generation code shown in the issue and trace how the project path is available when Eclipse JDTLS starts. Determine a stable workspace location for repeated invocations of the same project, then verify that the data_dir and config_path locations are reused rather than recreated under a new UUID.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.