I noticed whenever there is a syntax error in the code and I want to follow up the error in the composer chat it’s not sending the message to the model at all (just generating it says) but never a response from a model.
When I copy paste the code lines in a new composer it does reply, however when using the actual file as context it won’t send anything to the model.
Hi, does this help?
Strangely when going into chat, instead of composer it does respond.
So seems related to composer only.
Also chat is able to resolve the syntax error but the composer is not able to, while all code was provided by the composer, so not my own code.
Correct, composer works fine unless there is a syntax error in the file, then any message is no longer send to the model it seems (I tried all models) when sending a message from Chat it does reply.
Hi, yes when there are syntax errors it happens with any script in composer.
Update: I used this latest guide to clear the cache:
The guide says code folder but there is also a cursor folder in my case.
C:\Users\AppData\Roaming*Code*\
I believe it started working after deleting the CachedData folder, but maybe deleting the others is also needed. Anyway you may have to set up cursor again.
Hi, another update to this, I think I figured out the issue only happens when this in settings.json: "php.validate.executablePath": "C:\\php\\php.exe"
Or Xampp, same issue. Only first time of using it, it seems to work. When you retry it does not.
The path is correct. When removing it from settings and using php Intelephense instead, it does work correctly.