Skip to content

v0.2.0-alpha.8: Fix persisting connection even when file is renamed (#540)

Pre-release
Pre-release
Compare
Choose a tag to compare
@kevcunnane kevcunnane released this 17 Dec 09:52
* added new onDidRename function for connection reuse

* detection for renamed file logic started

* simplifying logic for passing connection between a renamed file

* adding a timer check for verifying a file was actually renamed

* adding a constant for the threshold of time for a rename to occur

* reworked previous logic to fit all cases

* updating comments to match function

* adding comments to untitled and rename logic

* test framework setup

* setting up functions to be accessible for testing

* tests to cover onDidCloseTestDoc

* merged into one function called transferFileConnection