Skip to content

Feature: IDE - Replace BasicTextField with a brand new component #23

@surajkumar

Description

@surajkumar

Context

The Editor we have for displaying code, editing code, syntax highlighting suffers from a really big problem which is that we are using BasicTextField.

The problem with a BasicTextField is that on every edit, a recompose is triggered which greatly degrades the performance of editing. Additionally when loading large files (e.g. 2000+ lines), the UI will hang for ages because BasicTextField and well... any Compose/Swing component isn't suited for such tasks.

What we need is to create a brand new custom component that can be a replacement for BasicTextField.

The component needs to cover:

  • Multi line selection
  • Virtualization
  • Syntax highlighting
  • Support 1000s of lines of code
  • Line numbers

As a way of giving back to the community, making the new component an independent open source unit would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions