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

feat: [WIP] convert Maven XML dependencies on paste #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fbricon
Copy link
Collaborator

@fbricon fbricon commented Feb 12, 2023

Using vscode's proposed documentPaste API, you can try copying Maven dependencies in XML format (eg. from a pom.xml file) and pasting them to an empty line in a JBang file. The dependencies will automatically be converted to JBang //DEPS dependencies (one per line)

jbang-dep-paste

This requires vscode-insiders and setting "editor.experimental.pasteActions.enabled":true in settings.json.

@fbricon
Copy link
Collaborator Author

fbricon commented Feb 12, 2023

@maxandersen if you want to test this, you can unzip the jbang-vscode zip from the latest build from https://github.com/jbangdev/jbang-vscode/actions/workflows/ci.yaml?query=branch%3Apaste-maven-deps and load it into vscode insiders

Signed-off-by: Fred Bricon <fbricon@gmail.com>
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.

1 participant