Skip to content

Data file position indicator shows in ALL open data editor files #1531

@lrbarber

Description

@lrbarber

Description

If you have multiple data editor windows open, the current file position marker tracks the current offset in all windows/files rather than just the one actually being targeted/read by the parsing session being debugged.

Image

Steps to Reproduce

[
Open a data editor window (via command palette) and select a file other than the one you will be parsing in your debug session.
Start debugging session.
Execute several debugging steps until the location indicator has moved.
Look at both of the data editor windows and see that they both have location indicators.
]

Expected Behavior

File location tracker should not be present in data editor windows that are not the file being parsed.

Actual Behavior

Additional files open in data editor windows have location trackers -- not just the one being parsed.

Additional Notes and Screenshots (optional)

With current main branch, you can't open a second data editor while debugging, so you have to open the alternate file before starting the debug session.

Environment

  • Operating System(s): Windows 11
  • Browser/VS Code version: 1.105.0
  • Extension version: 1.5.0 release candidate
  • Daffodil version: 4.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdata editorIssues related to the Data Editor capability

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions