Enso Language Support for VSCodeDownloadingEnso Tools for VSCode is available from VSCode marketplace. Simply install it from there. It is possible to download the latest development version of the "VSCode
Extension" artifact from the
latest actions run.
After downloading the ZIP file unzip a Your Enso files will get proper syntax coloring. You'll be able to debug Java/Enso code interchangeably. After installing the Enso Outline ViewSince version 1.40 the extension fills content of Outline View on supported platforms (Linux amd64, Mac, Windows): Debugging a Single Enso FileOpen any Locate Workspace DebuggingTo work with all Enso code base continue with choosing File/Open Folder... and opening root of Enso Git Repository (presumably already built with sbt buildEngineDistribution). Following set of projects is opened and ready for use: With the workspace opened, you can open any Enso or Java file. Let's open for
example It is now possible to place breakpoints into the To debug the The rest of the workflow remains the same as in case of individual (without any
project ) Attach Debugger to a ProcessLet's do a bit of debugging. Select "Listen to 5005" debug configuration: And then just execute the engine distribution in debug mode:
After a while the breakpoint is hit and one can inspect variables, step over the statements and more... ...as one can seamlessly switch to debugging on the Enso interpreter itself! One
can place breakpoint into Java class like Should one ever want to jump back from Java to Enso one can use the "Pause in
GraalVM Script" action. Select it and continue with Read more on Enso & Java Debugging Building VSCode ExtensionTo build this VSCode extension and obtain Enso syntax coloring as well as
support for editing and debugging of
one needs to have Once the ReferenceThere are extensions for NetBeans and also for IGV. Read more here. |