Skip to content

kirinonakar/Ueditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ueditor

Ueditor Logo

Ueditor

A Premium WinUI 3 Desktop Text Editor Shell with WebView2 Hybrid Core

Target Framework UI Framework SDK Version License


🌟 Overview

Ueditor is a high-performance, elegant, and modern desktop text editor shell built for Windows. It marries the robust, native desktop capabilities of WinUI 3 (.NET 10.0) with the rendering flexibility of a WebView2-based custom core.

Designed for developers, writers, and power users, Ueditor provides a fluid, distraction-free environment. It features standard workspace tools like a live Markdown/HTML/LaTeX previewer, a built-in terminal, comprehensive Git integration, multi-provider secure AI assistance, and a virtualized editor core capable of opening and editing files from small snippets to 200MB+ logs seamlessly.

Ueditor Screenshot


✨ Key Features

📝 Virtualized Editor Core

  • Massive File Support: Instantly open and edit extremely large files (200MB+ logs or source code) with zero lag, keeping the editor highly responsive.
  • Virtual Scrolling: Renders only visible viewport lines plus an overscan buffer, keeping DOM elements minimal and rendering fast.
  • Syntax Highlighting: Premium, high-performance syntax coloring for Markdown (headers, lists, blockquotes, bold/italic, code blocks, links), C#, JavaScript, Python, HTML, CSS, LaTeX, and many more.
  • Auto-Completion & Snippets: Intelligent auto-completion suggesting variables, keywords, and customizable snippets (such as Markdown tables, LaTeX matrices, HTML5 shells, C# notifier properties) that insert seamlessly via Enter or Tab.
  • Rich Markdown Toolbar: Quick-apply styling (bold, italic, underline, list, color, tables) to selected text.

🖥️ Native Premium Windows UI

  • Mica Backdrop & Dark Mode: Native Windows themes using a high-fidelity Mica backdrop.
  • Multi-Pane Splitters: Easily adjust sidebars, preview sections, and terminal panes via interactive C# split-controls.
  • Always on Top & Sticky Notes: Pin your editor window or transform to sticky notes directly from the toolbar.

👁️ Real-Time Preview

  • Live Renderer: View Markdown, HTML, Aozora or LaTeX (powered by KaTeX) in a split view or an external browser.

🤖 Secure AI Assistant

  • Multi-Provider: Connect with Gemini, OpenAI, or local LM Studio endpoints.
  • Secure Storage: API keys are securely saved via native Windows Credential Manager.
  • AI Translation: Fast translation of selected text to/from Korean, English, Japanese, Chinese, French, Spanish, German, etc. while safely preserving code structure, markdown formatting, and commands.
  • AI Custom Commands: Execute custom prompts, instructions, and arbitrary questions directly on selected editor blocks or file contexts.
  • Context Actions: Quick AI actions (Explain, Refactor, Summarize, Fix) on selected text.

💻 Embedded Native Terminal

  • PowerShell: Launch terminal sessions directly beneath your editor canvas.
  • Path Syncing: Automatically matches the terminal's working directory with the active workspace.

🌿 Git Panel

  • Status Tracker: View staged/unstaged changes, stage/unstage files, execute commits, and push to remotes.
  • History Viewer: Visual repository branch and commit history logs.

⭐ Favorites

  • File & Folder Bookmarks: Pin any file or folder to your Favorites panel for instant one-click access — no more digging through deep directory trees.
  • Right-Click to Add: Simply right-click any file or folder in the Explorer panel and select "Add to Favorites" from the context menu.

🔍 Advanced Search

  • Global Lookup: Folder-wide multi-file search with Match Case, Whole Word, and Regex filtering.
  • Jump-to-Source: Double-click search results to open the file and focus the exact line.

⌨️ Keyboard Shortcuts & Special Features

Ueditor is designed for speed and productivity, packing standard IDE shortcuts and premium interactive elements.

🔌 Keyboard Shortcuts

Shortcut Description
Ctrl + N New Tab - Opens a brand new blank editing tab.
Ctrl + S Save File - Instantly saves the active file.
Ctrl + O Open File - Opens the native file picker to select documents.
Ctrl + F Find/Search - Opens the inline search bar within the editor.
Ctrl + W Close Tab - Closes the active editing tab.
Ctrl + P Print Document - Prints the active document using standard print flow.
Ctrl + 1 Toggle Left Panel - Instantly shows or hides the left workspace sidebar (explorer, search, git, bookmarks).
Ctrl + 2 Toggle Right Panel - Instantly shows or hides the right side live preview/assistant pane.
Ctrl + ` Terminal Toggle - Instantly shows or hides the native embedded terminal.
Ctrl + Z Undo - Reverts the last text editing action.
Ctrl + Y Redo - Re-applies the last reverted text editing action.
Ctrl + C Copy - Copies selected text to the clipboard.
Ctrl + V Paste - Pastes text from the clipboard to the active cursor position.
Ctrl + X Cut - Cuts selected text to the clipboard.
Ctrl + Mouse Wheel Zoom In/Out - Scale the editor's text size dynamically.
Ctrl + Enter Send AI Prompt - Fast submit inside the AI input text prompt box.

🛠️ Interactive Tool Buttons

  • Custom Text Color Selector:
    • Right-Click on the TextColor button to summon the native Color Picker dialog, allowing you to select and configure custom text colors precisely.
  • AI Target Language Selector:
    • Right-Click on the translate button to open a context menu enabling you to switch target translation languages (Korean, English, Japanese, Chinese, French, Spanish, German) instantly.
  • Add to Favorites:
    • Right-Click any file or folder in the Explorer panel and choose "Add to Favorites" to instantly pin it to your Favorites sidebar for quick access.

🚀 Getting Started

📥 Download

You can download the latest installer (built using Inno Setup) from the Releases Page.

Manual build Prerequisites

To build and run Ueditor locally, make sure you have:

  • Windows 10 / 11
  • Visual Studio 2022 (v17.10 or later recommended)
  • .NET 10.0 SDK
  • Windows App SDK component installed inside Visual Studio.
  • WebView2 Runtime (installed by default on modern Windows).

How to Run

  1. Clone the Repository:
    git clone https://github.com/kirinonakar/Ueditor.git
    cd Ueditor
  2. Open the Solution: Open the Ueditor.slnx (or Ueditor.csproj) inside Visual Studio.
  3. Restore & Build: Visual Studio will automatically restore NuGet packages (such as Microsoft.WindowsAppSDK).
  4. Run: Set the startup project to Ueditor and press F5 to build and run in unpackaged mode.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2026 kirinonakar. All rights reserved.

About

Ueditor

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors