When I :w a new buffer to a .ts (or .tsx) file, it creates a hidden ^untitled buffer and keeps re-opening it until I restart Coc.
What i would expect
I use hidden buffers to work on multiple files at a time. This unclosable buffer clutters my workspace and seems to be unused anyway (nothing to see in it). I would expect that tsserver doesn't create it.
Demo
(what happens in the gif: I save a new, empty buffer as a .ts file. Coc-tsserver kicks in, and for some reason opens the hidden buffer. I try to close it and go back to my .ts file, but tsserver opens it again.)
What happens
When I :w a new buffer to a .ts (or .tsx) file, it creates a hidden
^untitled
buffer and keeps re-opening it until I restart Coc.What i would expect
I use hidden buffers to work on multiple files at a time. This unclosable buffer clutters my workspace and seems to be unused anyway (nothing to see in it). I would expect that tsserver doesn't create it.
Demo
(what happens in the gif: I save a new, empty buffer as a .ts file. Coc-tsserver kicks in, and for some reason opens the hidden buffer. I try to close it and go back to my .ts file, but tsserver opens it again.)
Logs
CocCommand tsserver.openTsServerLog
CocCommand workspace.showOutput tsserver
Thanks for your help!