smallcloudai / refact-intellij

Refact AI: Open-source AI Code assistant with autocompletion, chat, refactoring and more for IntelliJ JetBrains IDEs
https://refact.ai
BSD 3-Clause "New" or "Revised" License
31 stars 12 forks source link

Open second, third project in new window - get new IU_***_****__refact_lsp.exe instance #147

Closed pixkk closed 3 months ago

pixkk commented 3 months ago

Hello. If i open more than 1 projects in intellij, i get few refact lsp instances opened: image image

olegklimov commented 3 months ago

By few you mean as many as there are windows? That's correct behavior (If I understand correctly what's going on), each process maintains it own index of files for AST and VecDB. Think of it the same as Find In Files (Ctrl+Alt+F), it will only look into files present in its own window, but not outside of folders in the current window.

(VSCode starts copies of all plugins for each window automatically btw, to give you another datapoint)

pixkk commented 3 months ago

By few you mean as many as there are windows? That's correct behavior (If I understand correctly what's going on), each process maintains it own index of files for AST and VecDB. Think of it the same as Find In Files (Ctrl+Alt+F), it will only look into files present in its own window, but not outside of folders in the current window.

(VSCode starts copies of all plugins for each window automatically btw, to give you another datapoint)

Yes, thanks for the answer.