[Feature Proposal] Toggleable File Explorer & Opt-In AI Assistant (via C ABI Plugin)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Lee CONTRIBUTING.md para conocer los objetivos indicados sobre ligereza y plugins, y luego inspecciona src/tui.rs, src/framebuffer.rs y src/buffer. Este issue es una propuesta para dos funcionalidades amplias, no una tarea de implementación definida; para darlo por terminado primero sería necesario recibir comentarios de los maintainers sobre el alcance, la arquitectura y si el trabajo debería dividirse.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello maintainers,
I have been exploring the edit repository and really appreciate the homage to the classic MS-DOS editor combined with the strict lightweight philosophy. I would love to contribute to the project by introducing two modern workflow features that respect the editor's minimal footprint: a toggleable file explorer and an AI assistant.
Because keeping the binary size small is a stated priority in CONTRIBUTING.md, I want to propose an architecture for these features before writing any code.
Feature 1: Toggleable File Explorer (Native UI)
Navigating multi-file projects currently requires leaning heavily on the terminal or file picker. I propose adding a lightweight, toggleable folder tree sidebar.
-
UI Integration: This would be built using the existing immediate mode UI primitives in src/tui.rs and drawn to src/framebuffer.rs.
-
Behavior: It would remain completely hidden by default to preserve the classic layout, toggleable via a specific hotkey or menu bar option.
-
State Management: It would read the local directory structure lazily to ensure it does not impact the editor's extremely fast startup time.
Feature 2: AI Assistant & Live Editing (Plugin Architecture)
Bringing AI-powered live editing and an AI chat tab to the editor would be highly valuable, but introducing an HTTP client and JSON parser directly into the Rust core violates the zero-dependency philosophy.
-
The Plugin Approach: I propose laying the groundwork for the plugin system mentioned in the contributing guidelines. We could expose a simple C ABI that allows external dynamic libraries to read from and write to the text buffer.
-
External Execution: The actual AI logic, network requests, and text parsing would live entirely in a separate, optional C/C++ dynamic library that the user must explicitly load. If the user does not load the plugin, edit retains its sub-megabyte size.
-
Capabilities: The ABI would allow the plugin to either open a dedicated "AI Tab" using the TUI or manipulate text directly in the active src/buffer at the current cursor position.
Proposed Next Steps
I am happy to take the lead on building these features. Would the core team prefer to see these as two separate pull requests?
Specifically, I would like feedback on:
-
Is the team open to adding a persistent, toggleable sidebar layout to tui.rs?
-
Would you accept a PR that introduces the initial FFI/C ABI bindings to support the external AI plugin concept?
Looking forward to your thoughts!
- Lenguaje dominante
- Rust
- Estrellas
- 14.7k
- Forks
- 737
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 15
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/edit
-
Assertion fails when passing `C:` as command line argumentPosiblemente ocupada @rhysd la tomó hace 500 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
microsoft/edit#367 · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
[bug]: Cursor misalignment occurs when displaying inline code in Markdown under word wrapPosiblemente ocupada @xiaoditx la tomó hace 23 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
microsoft/edit#948 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 75/100
microsoft/edit#947 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
microsoft/edit#928 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[feature request] more shortcutsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
microsoft/edit#904 · 3 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/edit
Issues similares
-
agent:sonnet-high enhancement priority: P2 ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
shep-pm/shep-kelpie#652 ·
Los mantenedores suelen responder en 1 día
-
install.ps1: Windows PowerShell 5.1 aborts after a successful cosign verification (NativeCommandError on 'Verified OK')Posiblemente ocupada @sly321-pixel la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
ai_p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ClickHouse/ClickHouse#125522 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter servedPosiblemente ocupada @Mrun25 la tomó hoy. Abiertobug llm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
BerriAI/litellm#46095 · 1 comentario ·
Los mantenedores suelen responder en 1 día