vscode-trailingspaces
vscode-trailingspaces copied to clipboard
split view causes trailing space fixes to stop working
If you open the same file more than once in split view, the plugin seems to stop working.
repro steps:
- open a TS file (for example)
- open the same file in #1 using split view mode
- introduce a trailing space in the code
- save the file (making sure "fix on save" setting is enabled)
expected: The trailing space on the file should be fixed, and should reflect on both split view panes.
actual: the trailing space remains even after the save.
Split view only affects the "trim on save" feature – running the trim command manually still works.