DEVSENSE / phptools-docs

PHP Tools public content
Apache License 2.0
83 stars 10 forks source link

Actual command not found, wanted to execute devsense:peekReferences /80387 #659

Open php4fan opened 2 months ago

php4fan commented 2 months ago

I clicked on "3 references" above a function definition and got this error:

Actual command not found, wanted to execute devsense:peekReferences /80387

and of course it fails to find the references.

php4fan commented 2 months ago

After a couple of minutes and having done nothing, it's working again

jakubmisek commented 2 months ago

Interesting; thank you for reporting that.

It seems VSCode did not register our custom commands soon enough, causing this kind of issue. I'll take a look if we can handle the command registration sooner.

jakubmisek commented 2 months ago

VSCode may remember Code Lenses from a previous session, and it shows that even before our language server started. That would cause the problem.

When this happen, do you know if PHP Language Server is started already?