Closed OscarL closed 10 years ago
Hi,
I've created a new branch "tempfile_and_scratch_buffers" that reworks the scratch buffer handling and creation+deletion of tempfiles. If you find some time, please test it with WinXP, with scratch buffers (->temp files), single files on disk, and projects (dirs on disk).
Julian
I've just tested the "tempfile_and_scratch_buffers" branch. Both with scratch buffers and with files on disk (from projects and independent files). It works OK, although the temp files are not being deleted from %temp% after closing ST and waiting for the servers to die.
That was kinda expected, as __del__
in Python cannot be trusted.
So. Yes, your code works on WinXP :-D Thanks for the fix!
Is now in master branch, closing.
Using the latest version, on Windows XP.
When trying to test the autocomplete functionality, I get (using SERVER_DEBUGGING = True):
I have managed to make it work by changing line number 90 of server.py, from this:
to this:
(this was the default behavior in SublimeRope)
That means that the server won't automatically remove the temp files when shutting down (they keep pilling up on the user's %temp% folder), but at least works ok.
Maybe we should use delete=False if os.name == 'nt'?