I'm implementing a custom language plugin where I create a new file via a quick fix and open it in the editor.
This works great but I have found no way of not moving editor focus to the newly opened file.
To circumvent this I'm currently "opening" the file this call comes from again so the focus moves back immediately but this feels kindof hacky.
The code for opening the files currently looks like this:
I personally thought that the second argument focusEditor controlled this behavior but that is apparently false.
Sending in true or false seems to have no effect.