neoclide/coc-java

unable to run several instances of jdt.ls

gagara opened this issue · 0 comments

Workspace path of jdt.ls is hardcoded here https://github.com/neoclide/coc-java/blob/master/src/extension.ts#L121
In older versions there was some hash appended there

    const id = crypto_1.createHash('md5').update(coc_nvim_1.workspace.root).digest('hex');
    let workspacePath = path.resolve(storagePath + `/jdt_ws_${id}`);

which allows running several instances of jdt.ls in parallel.
Now it is not possible anymore as all instances share the same dir.