haoxiang-xu / surface-editor

WebCodeEditor+LLMs is a state-of-the-art web-based Code Editor that leverages the power of large language models to assist in coding. By utilizing a vector database, it establishes intricate relationships between files and code segments.
0 stars 0 forks source link

`monaco_editor` `inline completion` cursor jump to the end #116

Closed haoxiang-xu closed 1 month ago

haoxiang-xu commented 1 month ago

kind sloved, this problem occur due to the <StackContainerWrapper mode={mode} command={command} data={data}> wrapper that prevents the unneccessary rerender, needs to look deeper into memo, so to improve and reimplement the wrapper in the future