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

Use template to determine jakarta namespace in snippets #332

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

datho7561
Copy link
Contributor

  • Use ${jakarta} to point to either javax or jakarta, depending on which is available, and prefering jakarta
  • Rename jaxrc to rest_class and jaxrm to rest_get

Closes #320, closes #229

Signed-off-by: David Thompson [email protected]

datho7561 added a commit to datho7561/vscode-microprofile that referenced this pull request Dec 9, 2022
@datho7561
Copy link
Contributor Author

datho7561 commented Dec 9, 2022

Sorry, this is broken, I need to fix it Okay, should be fixed now!

@datho7561 datho7561 marked this pull request as draft December 9, 2022 16:10
@datho7561 datho7561 marked this pull request as ready for review December 14, 2022 20:01
- Use `${jakarta}` to point to either `javax` or `jakarta`, depending on
  which is available, and prefering `jakarta`
- Rename `jaxrc` to `rest_class` and `jaxrm` to `rest_get`

Closes eclipse#320, closes eclipse#229

Signed-off-by: David Thompson <[email protected]>
@angelozerr angelozerr merged commit 7591749 into eclipse:master Dec 16, 2022
@angelozerr
Copy link
Contributor

It works like a charm,thanks @datho7561 !

@angelozerr
Copy link
Contributor

@kathrynkodama @yeekangc please at look at this merged PR, now we can support jakarta/javax namespace with the same snippet.

@datho7561 datho7561 deleted the 320-jakarta-snippets branch December 16, 2022 14:35
@kathrynkodama
Copy link
Contributor

@angelozerr @datho7561 thank you! This is excellent

angelozerr pushed a commit to redhat-developer/vscode-microprofile that referenced this pull request Jan 4, 2023
@rgrunber rgrunber mentioned this pull request Mar 27, 2023
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.

Snippets using Java EE 8 when project is using Jakarta EE9+ Add support for jakarta namespace
3 participants