Skip to content
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

DFDL intellisense not working correctly when starting a debug session from scratch #66

Open
rt320 opened this issue May 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@rt320
Copy link

rt320 commented May 9, 2022

DFDL Intellisense doesn't work when starting a debug session from scratch. This behavior happens in Windows 10 environments.
Steps to reproduce:
Using the ctc repo main branch source code loaded (commit 4401cc8),
Run the the extension in debug mode, which opens a new VS Code window running the extension.
The new VS Code window opens to the "getting started" tab only.
Open the debug panel and run "ask for file name", supply the schema file and data file.
On a new line in the schema type the first few letters of a dfdl element.
The language mode is set to xml
Instead of showing the dfdl specific auto completion, a generic auto completion of alphabetic, xml, and dfdl snippets are returned.
Change the language mode to dfdl and re-type the first few letters of a dfdl element.
A set of alphabetic only autocompletions will result.
Stop debugging the extension, leave the schema file open.
Stop the debugger in the source code VS Code window.
Restart the extension in debug mode.
The extension will open in a new VS Code window. The schema from the previous run will still be open.
Open the debug panel and run "ask for file name", supply the same file names as the previous run.
Type the first few letters of a dfdl element, the dfdl intellisense autocomplete will return only items relevant to dfdl schemas.

@rt320 rt320 added the bug Something isn't working label May 9, 2022
@rt320 rt320 changed the title DFDL intellisense not working correctly DFDL intellisense not working correctly when starting a debug session from scratch May 9, 2022
@rt320 rt320 closed this as completed May 10, 2022
@rt320
Copy link
Author

rt320 commented May 10, 2022

Closed wrong issue.

@rt320 rt320 reopened this May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant