Christian Lenz created NETBEANS-5565:
----------------------------------------

             Summary: LSP sub processes increases while openeing multiple git 
diff tabs
                 Key: NETBEANS-5565
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5565
             Project: NetBeans
          Issue Type: Bug
          Components: lsp
    Affects Versions: 12.3
         Environment: Product Version: Apache NetBeans IDE 12.3
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.3
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.3
            Reporter: Christian Lenz
            Assignee: Jan Lahoda
         Attachments: image-2021-04-09-17-07-56-802.png

While investigating the situation, why the language server for TypeScript opens 
on an core module of NetBeans "webcommon\typescript.editor" I made further 
investigations. I think I understand the stuff better now. the language server 
for typescript runs, because of the typescript template file. So when I open a 
project with TS files or a TS file from a different project, it will map to the 
mimeType and the project. Everything is fine.

But one problem that I encountered is when I change a TS file and make a Git -> 
Show Changes on the tab, the changes window opens and when I double click, it 
will open the changes and it will create a new node sub process of this, which 
never stops/killed and it does it everytime I double click on the changes.

Steps to reproduce:
- Open the NetBeans core module webcommon\typescript.editor
- Have a look into the Taskmanager or process explorer
- NetBeans opens 1 instance with 2 sub node processes and starts the typescript 
language server.
- Make changes in the typescript file
- Right click on the tab of the typescript file
- Go to git -> show changes
- Diff window opens
- Double click on the changed TS file
- Have a look into the task manager and you will see, it will open a new node 
sub process and starts the language server for ts again.
- Repeat this as often as you want.
- We get more and more sub process of this.

I think this here is related to it, somehow: 
https://issues.apache.org/jira/browse/NETBEANS-5142



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to