DFDL language. Initial omega-edit client integration:
authorShane Dell <32347414+Shanedell@users.noreply.github.com>
Fri, 18 Feb 2022 15:53:44 +0000 (10:53 -0500)
committerShane Dell <32347414+Shanedell@users.noreply.github.com>
Wed, 15 Jun 2022 23:05:23 +0000 (19:05 -0400)
commit5e77da6269dc4d3daa0f7f6159d4311c00673241
tree11921f368835e278bf7249e0fc01866758188b5e
parentfb943fca2965e72d7b608342001c3268eb229a5b
DFDL language. Initial omega-edit client integration:

- Created DFDL language extension, to be used to replace the snippets
- Initial implementation of omega-edit client
  - By default it is hidden
  - Prompt for file to edit. In the future once it is to replace the hex view it will auto open the data file instead of prompting
  - Downloads Scala server from release pacakges then runs it
  - Will prompt if you want to stop the omega_edit server once you exit out of the webview
  - Supported functions:
    - Insert
    - Delete
    - Overwrite (workaround method, going to make an issue for making this function call the Scala server once the bug is worked out over there)
    - Undo (workaround method, issue will be made to update code to call Scala server once the undo method is fully implemented in the server)
    - Redo  (workaround method, issue will be made to update code to call Scala server once the undo method is fully implemented in the server)
    - Copy & Paste
    - Save Session
  - undo/redo will be updated later to use the Scala implementation once it is complete

Closes #127
Closes #128
Closes #129
Closes #133
Closes #134
Closes #135
Closes #142
Closes #144
Closes #152
Closes #153
Closes #154
Closes #155
Closes #156
Closes #157
Closes #158
Closes #159
Closes #126
39 files changed:
.github/workflows/CI.yml
.gitignore
.vscodeignore
LICENSE
build/bin.LICENSE
build/bin.NOTICE
language/dfdl.json [new file with mode: 0644]
language/syntax.json [new file with mode: 0644]
language/syntaxes/dfdl.tmLanguage.json [new file with mode: 0644]
package.json
project/Rat.scala
project/build.properties
snippets/dfdl.json [deleted file]
snippets/json-license.txt [deleted file]
src/adapter/activateDaffodilDebug.ts
src/adapter/extension.ts
src/daffodilDebugger.ts
src/hexView.ts
src/language/dfdl.ts [new file with mode: 0644]
src/language/providers/attributeCompletion.ts [new file with mode: 0644]
src/language/providers/closeElement.ts [new file with mode: 0644]
src/language/providers/closeElementSlash.ts [new file with mode: 0644]
src/language/providers/elementCompletion.ts [new file with mode: 0644]
src/language/providers/endSingleBrace.ts [new file with mode: 0644]
src/language/providers/intellisense/DFDLGeneralFormat.dfdl.xsdf [new file with mode: 0644]
src/language/providers/intellisense/attributeItems.ts [new file with mode: 0644]
src/language/providers/intellisense/elementItems.ts [new file with mode: 0644]
src/language/providers/utils.ts [new file with mode: 0644]
src/launchWizard/launchWizard.ts
src/omega_edit/client.ts [new file with mode: 0644]
src/omega_edit/download.ts [new file with mode: 0644]
src/omega_edit/interface.html [new file with mode: 0644]
src/omega_edit/omega_edit.js [new file with mode: 0644]
src/omega_edit/omega_edit.ts [new file with mode: 0644]
src/omega_edit/server.ts [new file with mode: 0644]
src/omega_edit/utils.ts [new file with mode: 0644]
src/position.ts [new file with mode: 0644]
src/styles/styles.css [moved from src/launchWizard/styles.css with 54% similarity]
yarn.lock