ctc-oss / daffodil-vscode

Apache Daffodil VSCode
https://daffodil.apache.org/
Apache License 2.0
3 stars 0 forks source link

Opening infoset while debugging dfdl schema breaks dfdl intellisense #67

Closed rt320 closed 2 years ago

rt320 commented 2 years ago

Opening a infoset view while debugging a schema file breaks dfdl intellisense autocomplete in the schema file. The autocomplete reverts to alphabetic auto complete. Note: this is occurring in the Windows environment Steps to reproduce: Using the ctc repo main branch source code loaded (commit 4401cc860a35821e27b69f3e8057c3ca9c876dd8) Run the code in debug mode, a new VS Code window opens An existing dfdl schema file should already be open in an editor tab, and the language mode should be dfdl Open the debug panel and run "ask for name", supply the name of the already open dfdl schema and the name of a data file Test dfdl intellisense by typing the first few letters of a dfdl element, intellisense will return dfdl schema specific autocomplete options Press the debug step over button command to verify debug is working Re-type the first few letters of a dfdl element, intellisense will return dfdl schema specific autocomplete options Press the display infoset button, a second tab will open showing the infoset Re-type the first few letters of a dfdl element, intellisense will return alphabetic based autocompletions instead of dfdl autocompletions

rt320 commented 2 years ago

This issue was fixed with commit https://github.com/ctc-oss/daffodil-vscode/commit/e1690e7f1a3c06b5cbaf3b3b1510fc610a3a98c3.