views
4
likes
1

Comments

What do you think?
No comments yet.
Free

CodeForge 2

Version: 0.1.35 days ago
Single .exe file.

Welcome to the long awaited sequel for CodeForge! Now with modern features! Unlike the first editor which was written entirely in the "Scratch/Turbowarp" Development framework, this is completely made using python.

Lets look at some features!
Here's a comprehensive list of every feature in the CodeForge 2 text editor:

Core Editing Features

  1. Text Manipulation

    • Insert text

    • Delete text

    • Copy text (Ctrl+C)

    • Cut text (Ctrl+X)

    • Paste text (Ctrl+V)

    • Multi-level undo (Ctrl+Z)

    • Multi-level redo (Ctrl+Y)

  2. Selection Modes

    • Character selection

    • Word selection

    • Line selection

    • Text highlighting

  3. Line Operations (Similar to CodeForge 1)

    • Duplicate line (Ctrl+D)

    • Delete line (Ctrl+Shift+K)

    • Move line up (Alt+Up)

    • Move line down (Alt+Down)

    • Join lines (Ctrl+J)

Navigation & View

  1. Line Numbers

    • Absolute line numbering

    • Auto-resizing width based on line count

    • Synchronized scrolling with text

    • Toggle on/off in settings

    • Dark themed (#252526 background, #858585 text)

  2. Zoom Controls

    • Zoom in (Ctrl++)

    • Zoom out (Ctrl+-)

    • Reset zoom (Ctrl+0)

    • Applies to all open tabs

    • UNLIMITED ZOOM IN!!!!!!!!!!!!!!!

    • screenshot_2026-02-01_145712.png
  3. Scrolling

    • Synchronized vertical scrolling (line numbers + text)

    • Independent horizontal scrolling

    • Dark themed scrollbars

    • Hover effect on scrollbars (blue highlight)

File Management

  1. File Operations

    • New file (Ctrl+N)

    • Open file (Ctrl+O)

    • Save file (Ctrl+S)

    • Save as (Ctrl+Shift+S)

    • Multiple file format support (.txt, .py, .html, .md, etc.)

  2. File Explorer

    • Tree-view file browser

    • Browse button to select folder

    • Refresh button to reload folder

    • Double-click to open files

    • Recursive folder navigation

    • Dark themed interface

  3. Multiple File Tabs

    • Create unlimited tabs

    • Tab switching

    • Each tab maintains separate file state

    • Displays filename in tab title

  4. Encoding Support

    • Automatic encoding detection (using chardet)

    • UTF-8, ASCII, ISO-8859-1, Windows-1252

    • Encoding display in status bar

    • Encoding conversion

  5. Line Ending Support

    • LF (Unix/Linux)

    • CRLF (Windows)

    • CR (Classic Mac)

    • Auto-detection on file load

    • Conversion on file save

    • Display in status bar

  6. Auto-save (Optional)

    • Toggle in settings

    • 5-minute interval (configurable)

    • Only saves files with existing paths

    • Runs in background

Search & Replace

  1. Find Function

    • Find text dialog (Ctrl+F)

    • Case-sensitive search option

    • Regular expression (regex) support

    • Highlights all matches in yellow

    • Jumps to first match

    • Find next functionality

  2. Replace Function

    • Replace dialog (Ctrl+H)

    • Replace all occurrences

    • Case-sensitive option

    • Works with plain text

Customization

  1. Dark Theme (Only Mode)

    • Editor background: #1e1e1e

    • Text color: #d4d4d4

    • Line numbers: #252526 / #858585

    • Selection: #264f78

    • Cursor: White

    • Consistent across all UI elements

  2. Font Customization

    • Font family selection (Consolas, Courier New, Monaco, Monospace)

    • Font size adjustment (6-72 points)

    • Applies to text editor and line numbers

    • Saved to configuration file

  3. Tab Size

    • Configurable tab width (2-8 spaces)

    • Measured in spaces

    • Applied to all tabs

  4. Custom Keybindings

    • Pre-configured shortcuts for all major functions

    • Standard text editor bindings

    • All shortcuts listed in menus

  5. Settings Persistence

    • Configuration saved to ~/.text_editor_config.json

    • Auto-loads on startup

    • Preserves: font, size, tab size, auto-save, line numbers

Code Features

  1. Code Snippets

    • Predefined snippets for common code patterns

    • def - Python function template

    • class - Python class template

    • if - If statement template

    • for - For loop template

    • Insert with Ctrl+Tab

    • View all snippets in dedicated dialog

    • Find result highlighting

    • screenshot_2026-02-01_150151.png

Advanced Features

  1. Integrated Terminal

    • Toggle terminal (button or click)

    • Command input field

    • Command execution with shell

    • Output display in black console-style text widget

    • Clear terminal function

    • Close terminal function

    • Command history in output

    • 30-second timeout for commands

    • Threaded execution (non-blocking)

    • screenshot_2026-02-01_145951.png
  2. Markdown Preview

    • Preview button/menu (Ctrl+M)

    • Uses markdown library

    • HTML conversion with extensions (extra, codehilite)

    • Opens in separate window

    • Read-only display

    • Dark themed preview window

    • Scrollable content

    • screenshot_2026-02-01_145633.png

User Interface

  1. Menu Bar

    • File menu (New, Open, Save, Save As, Exit)

    • Edit menu (Undo, Redo, Cut, Copy, Paste, Find, Replace)

    • View menu (Markdown Preview, Zoom controls)

    • Line menu (All line operations)

    • Settings menu (Preferences, Snippets)

    • All with keyboard shortcuts displayed

  2. Toolbar

    • Quick access buttons for common actions

    • Light mode buttons (#f0f0f0)

    • Separated by visual dividers

    • New, Open, Save, Undo, Redo, Find, Terminal, MD Preview

  3. Status Bar

    • Current line and column position

    • File encoding (UTF-8, etc.)

    • Line ending type (LF, CRLF, CR)

    • Word count

    • Character count

    • Dark themed labels

  4. Tab System with Close Buttons

    • Visual X button on each tab

    • Click to close individual tabs

    • Hover effect (red X on hover)

    • Prevents closing last tab (creates new one first)

    • Custom notebook implementation

  5. Dialogs

    • Find dialog

    • Replace dialog

    • Settings dialog (tabbed: General, Encoding)

    • Snippets dialog

Technical Features

  1. Configuration Management

    • Automatic save on changes

    • Default values fallback

    • Error handling for corrupt files

  2. Error Handling

    • File operation errors with user messages

    • Regex error handling in find/replace

    • Terminal command timeout

    • Permission error handling in file explorer

    • Encoding fallback (UTF-8 with ignore errors)

  3. Window Management

    • 1200x700 default size

    • Resizable interface

    • PanedWindow for adjustable explorer width

  4. Performance Features

Coding is like.... uh..... coding....



all-ages
Nothing has been posted to this project page yet. Check back later!