Learn egui in Neovim — Ep 10: Scroll Area (Log Viewer with Auto-Scroll)

9views
00
8:28
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Build a log viewer with scrollable content using egui's ScrollArea! In this episode, we create a log viewer that displays entries in a scrollable region with stick_to_bottom auto-scrolling and a button to add new logs. Student code: https://github.com/GoCelesteAI/egui_scroll_area **What You'll Learn:** - ScrollArea::vertical() creates a scrollable region - stick_to_bottom(true) auto-scrolls to newest content - ui.button() triggers adding new log entries - format!() with enumerate() for numbered log lines - Vec for dynamic log storage - Neo-tree s key opens file in horizontal split **egui Concepts:** - egui::ScrollArea::vertical().stick_to_bottom(true).show() - ui.button("Add Log").clicked() - ui.label() inside scrollable region - Dynamic content with auto-scroll pattern **Neovim Key:** - s — Open file in horizontal split (Neo-tree) **Series:** Learn egui in Neovim This series teaches you how to build desktop apps with egui in Rust, all from within Neovim. Each episode adds a new concept and includes a complete working project. **Previous Episode:** Ep 9 — Side Panel **Next Episode:** Ep 11 — Top and Bottom Panels #rust #egui #neovim #rustlang #programming #tutorial #gui #desktop #scrollarea #autoscroll Tags rust, egui, neovim, rust gui, egui tutorial, scroll area, scrollable, stick to bottom, auto scroll, log viewer, rust desktop app, learn egui, neovim tutorial, neo-tree, rust programming

Tags

rusteguineovimrust guiegui tutorialscroll areascrollablestick to bottomauto scrolllog viewerrust desktop applearn eguineovim tutorialneo-treerust programming
Back to tutorials

Duration

8:28

Published

March 11, 2026

Added to Codegiz

March 15, 2026

Open in YouTube