'Go To Definition' stopped working in next js (js) project

‘Go To Definition’ is not working any more

This is going on for some time, and I had to restart the IDE every 30 minutes to get to work again, but after the update this morning it happens immediately as soon as the IDE start (after finishing ‘initializing jsconfig.json’)

If I disable all extension it doesn’t happen, but if I do Bisect, I get
Extension Bisect is done but no extension has been identified. This might be a problem with Cursor.

This makes Cursor absolutely useless for me

Reinstall cursor seems to help:

rm -rf ~/Library/Application\ Support/Cursor
rm -rf ~/Library/Caches/Cursor
rm -rf ~/Library/Saved\ Application\ State/com.cursor.editor.savedState
rm -rf ~/Library/Logs/Cursor

No it didn’t help - after a minute I get


and the problem repeats


after reinstall it became worse

I don’t get auto import, it doesn’t recognised react code, goto definition not working.

I just reinstall it from scratch and it just became worse, what the ■■■■ should I do?

the missing syntax issue was resolved by importing all ext from vs code, though I don’t know which one resolved it


the ‘Go To Definition’ can be mitigating by restarting the TS server every time it happens - the strange thing is that these are js files, and the problem doesn’t reproduce on other project I have in TS

I believe that it is this extension that create the issue

@ext:vscode.typescript-language-features

but I don’t know why, and which feature is the one causeing the issue

it seems that the problem is partially solved by creating a tscondig.json file

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.