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

split view causes trailing space fixes to stop working #71

Open
prabashn opened this issue May 26, 2023 · 1 comment
Open

split view causes trailing space fixes to stop working #71

prabashn opened this issue May 26, 2023 · 1 comment

Comments

@prabashn
Copy link

prabashn commented May 26, 2023

If you open the same file more than once in split view, the plugin seems to stop working.

repro steps:

  1. open a TS file (for example)
  2. open the same file in Matching seems broken #1 using split view mode
  3. introduce a trailing space in the code
  4. 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.

@mhsmith
Copy link

mhsmith commented Jul 24, 2024

Split view only affects the "trim on save" feature – running the trim command manually still works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants