Release v1.0.0-rc3
Multiple updates from rc2 release:

- Update daffodilVersion from 3.2.1 to 3.3.0.
- Add plugins to project/plugins.sbt.
  - These plugins allow for checking dependencies for updates, CVEs and viewing the tree of dependencies.
- Update scalaVersion from 2.12.13 to 2.12.15.
  - Can move to 2.13.8 at some point not sure when we want to do this however.
- Update "logback-classic" version from 1.2.3 to 1.2.11 to fix CVEs.
- Update "com.microsoft.java.debug.core" version from 0.31.1 to 0.35.0.
- Update "fs2-io" version from 3.0.4 to 3.0.6.
  - Updating to 3.2.5 breaks the build.
- Update "decline-effect" from 2.1.0 to 2.2.0.
- Update "log4cats-slf4j" from 2.1.0 to 2.1.1.
  - Updating to 2.2.0 breaks the build.
  - CVEs seem to be false positives here.
- Add dependencyOverrides for commons-lang3 to fix a CVE item.
- Update bin.NOTICE files as some of the incorated projects NOTICE's were updated.
4 files changed
tree: 5a598af930d5b28b77d9f1ce267d7be970b75614
  1. .github/
  2. .vscode/
  3. build/
  4. images/
  5. project/
  6. server/
  7. snippets/
  8. src/
  9. .asf.yml
  10. .gitignore
  11. .prettierignore
  12. .prettierrc
  13. .scalafmt.conf
  14. .vscodeignore
  15. build.sbt
  16. LICENSE
  17. NOTICE
  18. package.json
  19. README.md
  20. tsconfig.json
  21. yarn.lock
README.md

Apache Daffodil VS Code Extension

Unit Tests Code Formatting Rat Check

This is a VS Code extension which enables the interactive debugging of DFDL schema parsing using Apache Daffodil.

Build Requirements

Download - Prebuilt

Until the extension is available in the VS Code Extension Marketplace, please download the latest .vsix file from the releases page.

Build VSIX and Debugger

:exclamation:NOT necessary if using prebuilt VSIX:exclamation:

:exclamation:NOT necessary if running extension via VS Code without VSIX but a yarn install will be required:exclamation:

Run full build

yarn build
  • This command performs the following tasks:
    • Create sbt zip package
    • Install dependencies
    • Compiles Extension
    • Packages Extension
    • Creates Files
      server/core/target/universal/daffodil-debugger-*.zip
      daffodil-debugger-*.vsix
      

Running Debug Server

The debug server will automatically be ran by the extension unless useExistingServer is to set to true inside of .vscode/launch.json

If you wish to ran the debug server manually the scripts to do so are at the following locations:

  • Debugging through VS Code with or without VSIX:
    • Linux = /home/USERNAME/.local/share/daffodil-dap
    • Mac = /Users/USERNAME/Library/Application\ Support/daffodil-dap
    • Windows = C:\\Users\\USERNAME\\AppData\\Roaming\\daffodil-dap

Installation

Once you have either downloaded the VSIX file or created it you can now install it. There are two options to do this:

  • Via “Extensions: Install from VSIX” command from within VS Code.

    • Open the Command Palette with Shift-Command-P (Mac) OR Shift-Ctrl-P (Windows/Linux)
    • Type vsix to bring up the command and pointing it at the vsix file
  • Via command line

    code --install-extension daffodil-debugger-*.vsix
    

Usage

Please refer to the Wiki page at https://github.com/apache/daffodil-vscode/wiki

Getting Help

You can ask questions on the dev@daffodil.apache.org or users@daffodil.apache.org mailing lists. You can report bugs via GitHub Issues.

License

Apache Daffodil VS Code Extension is licensed under the Apache License, v2.0.

This product includes the logback library, which is available under the Eclipse Public License v1.0.

This product includes the Java Debug Server for Visual Studio Code library, which is available under the Eclipse Public License v1.0.