I see lots of people see this weird behavior in some form. Hope it helps to identify the problem.
Steps i used to reproduce on VM windows 10:
1, clean install of VS code
2, installed this extension
3, turn on options "files.autosave": "onFocusChange" and "editor.formatOnSave":true
4, create two html files ( i used bootstrap starter template), needs to be valid html for formatting to take place
5, open folder with these two files, open each file in separate tab and split tabs to see both files beside each other, for better explanation lets call them file1.html and file2.html
6, both files should be saved
7, modify one file (file1.html) (add comment or something obvious to better see the change) but dont save it, keep it modified
8, now hold ctrl and click on the contents of file2.html (click on the other tab)
9, when the focus changes .. the contents of file2.html will be copied into file1.html
Reproduced on my main machine and one clean VM, both win 10 and actual versions to this date.
I see lots of people see this weird behavior in some form. Hope it helps to identify the problem. Steps i used to reproduce on VM windows 10: 1, clean install of VS code 2, installed this extension 3, turn on options "files.autosave": "onFocusChange" and "editor.formatOnSave":true 4, create two html files ( i used bootstrap starter template), needs to be valid html for formatting to take place 5, open folder with these two files, open each file in separate tab and split tabs to see both files beside each other, for better explanation lets call them file1.html and file2.html 6, both files should be saved 7, modify one file (file1.html) (add comment or something obvious to better see the change) but dont save it, keep it modified 8, now hold ctrl and click on the contents of file2.html (click on the other tab) 9, when the focus changes .. the contents of file2.html will be copied into file1.html
Reproduced on my main machine and one clean VM, both win 10 and actual versions to this date.