The program seems to delete all other code except for the suggested one when making code suggestions. I didn’t realize that if I closed the program in this state, the sections marked with red blocks would be completely deleted and saved that way. I almost lost the file entirely.
It’s annoying to manually accept every code suggestion, so I wanted to disable this feature. I found out that turning off the ‘Cursor Tab’ was supposed to solve this issue.
I also looked into the small ‘Accept/Reject’ block at the top, but since I’m using a VS Code-based setup, such buttons don’t appear on my screen. Moreover, it doesn’t seem to be related to disabling the feature in the first place
I also came across suggestions to disable the ‘AIpreview’ feature, but on my end, clicking it doesn’t result in any response or allow me to switch it to disabled.
After turning off the Cursor Tab and reopening Cursor, the automatic application of suggestions seemed to stop for a while. However, the AI-suggested code no longer had syntax highlighting, so there was no font color change reflecting the code’s characteristics. On top of that, unnecessary line numbers appeared next to the code, like this:
1|
2|
3|
To figure out how to enable syntax highlighting for AI-suggested code, I tried disabling all items in the ‘Cursor Tab’ and restarting the program, but I couldn’t identify the root cause.
Now, even when the Cursor Tab is completely disabled, the issue persists, and the green and red blocks still appear.
The code suggestion feature is very powerful and helpful, but please, I just want to get rid of the green and red blocks appearing in the script body.