redhat-developer / redhat-developer/quarkus-ls

Recognize `config/application.properties` as a config source

Open
#410 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As per, https://quarkus.io/guides/config-reference, there is a config source $PWD/config/application.properties that has an ordinal of 260.

See https://github.com/redhat-developer/quarkus-ls/blob/3dbed3e2c02cc4f02ed0f31178fd2ece13242d12/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/providers/QuarkusConfigSourceProvider.java for where the config sources are currently registered.

It might be a bit tough to register this config source, since this doesn't reside in the resources folder of the project.

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.

Research direction

Start in quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/providers/QuarkusConfigSourceProvider.java, where the existing config sources are registered. Trace how sources are located outside the resources folder and determine how $PWD/config/application.properties can be recognized. Done means this config source is registered with ordinal 260.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.