stimulus-lsp icon indicating copy to clipboard operation
stimulus-lsp copied to clipboard

New created controllers are not picked up while LSP is running

Open Gert-JanPeeters opened this issue 2 years ago • 9 comments

Hi,

Not sure if this is a known issue or this is due to our project setup.

If I create a new controller, as the LSP is running, it is not getting picked up? When I restart the LSP they do get picked up.

Gert-JanPeeters avatar Nov 13 '23 16:11 Gert-JanPeeters

Thanks for opening the issue!

I'm pretty sure this worked at one point, but it could be that I somehow broke it. In which folder are you creating the new controllers? Maybe the client is not watching the right folders for picking up the changes.

marcoroth avatar Nov 16 '23 19:11 marcoroth

The behaviour described by Gert-JanPeeters happens as well on my machine.

divagueame avatar Jan 10 '24 21:01 divagueame

The behaviour described by Gert-JanPeeters happens as well on my machine.

Hey @divagueame, thanks for the report!

Are you using it in NeoVim or VS Code?

marcoroth avatar Jan 11 '24 00:01 marcoroth

Neovim v0.9.5

divagueame avatar Jan 12 '24 20:01 divagueame

Oh interesting, seems like this is specific to NeoVim then. Let me try to reproduce it in NeoVim.

marcoroth avatar Jan 12 '24 21:01 marcoroth

I think the problem is that the NeoVim config doesn't register the file events

CleanShot 2024-02-11 at 04 00 34

marcoroth avatar Feb 11 '24 03:02 marcoroth

I'm seeing this issue too (using LazyVim / Neovim 0.9.5)

Changes to controller actions (renaming, adding, deleting) are not being picked up whilst the LSP is running either.

BLGTech-simon avatar Mar 15 '24 22:03 BLGTech-simon

Looks like this also happens on VS Code Insiders (Version: 1.93.0-insider (Universal))

MatheusRich avatar Sep 12 '24 11:09 MatheusRich

I need to revisit this soon, seems like there's something off somewhere along the line

marcoroth avatar Sep 18 '24 07:09 marcoroth