redhat-developer / redhat-developer/quarkus-ls

Manage project events (opened, closed, deleted)

Open
#184 0 comments 0 reactions 1 assignee View on GitHub

@angelozerr is already working on this.

Since Jan 13, 2020.

enhancement
Dominant language
Java
Stars
50
Forks
18
Avg merge
22h 11m
Merged PRs (30d)
3

Description

The JDT LS extension should manage project event (opened, closed, deleted) only if project is MicroProfile project (classpath contains for instance a JAR with microprofile )and send a LSP notification to the MicroProfile LS.

The MicroProfile LS can react to those events:

  • opened : it call getProjectInfo to load Quarkus properties on background and register it in the cache. When user will open the application.properties all properties could be available.
  • closed, deleted : evict the cache.

The actual cache from MicroProfile LS side has an application.properties URI as key. it should be better to have the project URI and the classpath kind (SRC or TEST) as test. It will give the capabilityto share those properties between several files (microprofile-config.properties, application.yaml, etc).

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.