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

maven active profiles set/show #688

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

JavaHello
Copy link
Contributor

Sometimes I need to switch Maven profile settings in my projects, for example "dev", "prod". If I just use mvn -P xxx, it will not update to jdtls compilation.

So I want to add JdtUpdateMavenActiveProfiles, JdtShowMavenActiveProfiles two commands for updating and viewing MavenActiveProfiles

:JdtUpdateMavenActiveProfiles dev,xxx


:JdtShowMavenActiveProfiles
Active profiles: dev,xxx

References:
eclipse-jdtls/eclipse.jdt.ls#3158

@apoorvshah10
Copy link

Love this! I didnt test it though but I like your idea

@mfussenegger mfussenegger merged commit efe8138 into mfussenegger:master Sep 26, 2024
3 checks passed
@mfussenegger
Copy link
Owner

Thanks merged with an additional fixup to remove the new module and public APIs and instead only expose the user commands for now.

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

Successfully merging this pull request may close these issues.

3 participants