redhat-developer / redhat-developer/quarkus-ls
Manage project events (opened, closed, deleted)
@angelozerr is already working on this.
Since Jan 13, 2020.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.