Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose API / command to get all quarkus properties as k/v pairs #632

Open
fbricon opened this issue Oct 31, 2023 · 1 comment
Open

Expose API / command to get all quarkus properties as k/v pairs #632

fbricon opened this issue Oct 31, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@fbricon
Copy link
Collaborator

fbricon commented Oct 31, 2023

In a JBang file with quarkus dependencies, we can use the //Q:CONFIG directive to configure the application

From jbang-vscode, I'd like to be able to fetch the list of available key/value pairs by calling a vscode-quarkus command (as a follow up of jbangdev/jbang-vscode#102).

The "project" not being a Maven/Gradle project might be an issue. Hopefully not. We just need to find the properties from the underlying project's classpath.

I imagine the command would just need the file URI as a parameter. From there it should be able to find the Java project it belongs to, then collect all dependencies from the classpath. Getting deployment jars when it's neither a maven or gradle project might be tricky.

Anyways, nothing urgent, really a nice to have.

@fbricon fbricon added the enhancement New feature or request label Oct 31, 2023
@angelozerr
Copy link
Contributor

I think we will need this feature to support in Qute template {config:|}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants