The chat responses with code have begun leaving out brackets, characters, etc. randomly throughout the code blocks. An example response:
import React from 'react';
mport { createRoot } from 'react-dom/client';
mport { Provider } from 'react-redux';
mport { store } from './store';
mport App from './App';
mport './index.css';
const container = document.getElementById('root');
onst root = createRoot(container);
root.render(
<React.StrictMode>
<Provider store={store}>
<App />
</Provider>
</React.StrictMode>
;
It will leave off the first character, such as the āiā in import, the ācā in const, and also not have closing brackets. My first few weeks of using Cursor this never happened, but in the last week it has been happening in nearly every code block response, regardless of programming language or model chosen. So far, I have noticed it in Java, Go, and Javascript/Typescript using both Claude and GPT-4o.