Hi,
I’ve encountered a bug in sublime, where under certain conditions the plugin API reports an incorrect folder for the active window.
Steps to Reproduce:
- Open Sublime
- Choose “File > Open Folder” and open any folder (this will open a new window)
- Close the old window
- Close the new window
- Delete the folder
- Re-open sublime
- Choose “View > Open Console” and type “sublime.active_window().folders()”
What happens:
The now deleted folder is reported
What should happen:
Some default folder should be reported
This issue triggers a bug in the popular anaconda package and may cause problems for other packages as well.