OpenSumi 3.3.0 Release: Multi‑line Completion, Intelligent Rewrite, and New Features
OpenSumi 3.3.0 release adds multi-line inline completion, an intelligent rewrite widget, cross‑file undo/redo for inline diff, multi‑line comment support, UI and accessibility enhancements, numerous bug fixes, and performance tweaks, empowering developers to build highly customizable Web and Electron IDEs more efficiently.
OpenSumi is an open‑source, high‑performance, and highly customizable IDE development framework that enables developers to build dual‑target (Web and Electron) integrated development environments.
Its goal is to make IDE customization simple and smooth.
Key improvements in version 3.3.0 include expanded code‑completion capabilities: multi‑line inline suggestions and an intelligent rewrite widget. Inline diff now supports cross‑file undo/redo and visual enhancements, improving the interaction experience with large language models.
Multi‑line Completion and Intelligent Rewrite
Multi‑line completion extends the original completion by allowing several suggestions to be applied simultaneously within the current cursor range.
Intelligent rewrite is a UI presentation of multi‑line completion when the suggested code differs significantly from the existing code.
How to Integrate
Implement a registerIntelligentCompletionProvider via the IIntelligentCompletionsRegistry . Example:
registerIntelligentCompletionFeature(registry: IIntelligentCompletionsRegistry): void {
registry.registerIntelligentCompletionProvider(async (editor, position, token) => {
return {
items: [
{
content: 'completion value',
range: {
startLineNumber: position.lineNumber,
startColumn: 1,
endLineNumber: position.lineNumber + 3,
endColumn: model?.getLineMaxColumn(position.lineNumber + 3),
},
},
],
enableMultiLine: true,
};
});
}Enable enableMultiLine and provide the range to activate the feature.
Support for Multi‑line Comments
The comment API now supports multi‑line comment display, allowing developers to implement custom multi‑line comment functionality.
Feature Highlights
Register tabbar right component
Adjust editor tabbar height
Configure inline diff style
Add “clear result” button to search panel
Chat slash command shortcut support
Accessibility enhancements for icons and AI‑native features
Support multi‑line inline completion
Register external extension API
Multi‑line edit rewrite widget
Configure extension host spawn options
Inline‑diff data calculation adjustments
Layout thrashing avoidance
Bug Fixes
Tab scrollbar style issues
Scrollbar component style updates
Editor tabbar style fixes
Bottom tab panel visibility
RJSF version inconsistency
Web worker capturer bug
Inline input overflow handling
Inline chat position calculation
Electron reload issue
Keyboard focus and accessibility for editor tabs
Right panel resize handles
Inline chat indentation
Document status synchronization
Model memory leak
Previewer listener updates
Tab list scope handling
Event‑driven state management
Other Improvements
Inline diff previewer snapshot refactor
Editor tabbar scroll optimization
Dependency organization refactor
Thanks to the community contributors for their work on OpenSumi.
Ant R&D Efficiency
We are the Ant R&D Efficiency team, focused on fast development, experience-driven success, and practical technology.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.