Tomasz Kaczkowski
Tomasz Kaczkowski
https://packagecontrol.io/packages/AdvancedNewFile But as far as I can tell ANF closes old file and reopens new one so this is little different.
Ok. Try this: Rename file. Press ctrl+s.
Still fails for me. I was tracing it for a while. Crashed seemed to occur somewhere in call to self.show_errors(view, self.tu.diagnostics) after calling self.tu.reparse() in lib_complete.py. At least that's what...
Yeah that seems to solve the problem. Didn't think of trying that :D
Nope, still fails. Seems that sublime considers view valid.
Hmm still crashes. The difference is that I don't get python trace of crash. Just dead plugin_host notification: error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime...
Ok some more test: View seems to be valid and it point to the new file (after name change).
My trace (print trace FTW!): x y y1 error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted ``` def errors_from_output(self, output): """Parse errors...
I think it's line 2518: diag = conf.lib.clang_getDiagnostic(self.tu, key) I am leaving for a weekend. We can pick this up on Monday.
Just a quick thought on way home - maybe it's due to reparsing file without having it first parsed?