-
Notifications
You must be signed in to change notification settings - Fork 323
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
Downloadable VSCode extension #7861
Conversation
CI actions run has just produced a ZIP file with VSCode Extension. Download "VSCode Extension" artifact from the latest actions run, unzip, install into VSCode: Your Enso files will get proper syntax coloring. You'll be able to debug Java/Enso code interchangeably. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! I have just downloaded the VSIX artifact and installed it in my VSCode. Everything works as expected. Thanks.
In the future, we might want to add these artifacts as additional assets to nightly releases. |
One can test "pristine" code --extensions-dir /tmp/code/ext --user-data-dir /tmp/code/usr then the With the workspace opened, you an open any Enso or Java file. Let's for example open It is possible place breakpoints into the Let's do a bit of debugging. Select "Listen to 5005" debug configuration: And then just execute the engine distribution in debug mode:
The same way you can place breakpoint into Java class like Enjoy. And if you ever want to jump from Java to Enso, please remember there is the "Pause in GraalVM Script" action. Select it and continue with |
367a8e0
to
7999dfc
Compare
7999dfc
to
1456304
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool that it will be now much easier for users to get the extension.
And the docs look great!
@@ -5,7 +5,7 @@ | |||
<artifactId>enso4igv</artifactId> | |||
<packaging>nbm</packaging> | |||
<name>Enso Language Support for NetBeans & Ideal Graph Visualizer</name> | |||
<version>1.13-NAPSHOT</version> | |||
<version>1.15-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the "major and minor" version of the .nbm
file and .vsix
extension. Bump it up when some important functionality changes.
@@ -30,7 +27,7 @@ jobs: | |||
- name: Update project version | |||
working-directory: tools/enso4igv | |||
run: | | |||
mvn versions:set -DnewVersion=`mvn -q -DforceStdout help:evaluate -Dexpression=project.version | cut -f1 -d -`.$GITHUB_RUN_NUMBER | |||
mvn versions:set -DnewVersion=`mvn -q -DforceStdout help:evaluate -Dexpression=project.version | cut -f1 -d -`.`expr $GITHUB_RUN_NUMBER - 1666` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every build of enso4igv.yml
github action produces extension with a unique version. The major and minor numbers are specified by human and are taken from the pom.xml
. The "micro" version is the $GITHUB_RUN_NUMBER
.
To avoid the "micro" version to reach the sky, feel free to bump the minor version and then decrease the $GITHUB_RUN_NUMBER
by a constant (currently 1666
) to start counting from zero again.
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
Jaroslav Tulach reports a new STANDUP for yesterday (2023-09-21): Progress: - publishing VSCode extension: #7861
Next Day: Getting ready for next week's GraalVM workshop |
Jaroslav Tulach reports a new STANDUP for yesterday (2023-09-22): Progress: - merged GraalVM21 support: #7855
Next Day: Getting ready for next week's GraalVM workshop |
Pull Request Description
Updating the Enso4Igv GitHub action to also archive the
.vsix
extension.Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
XML
formatting