Skip to content

swiftscripts0/luaeditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Neon Lua Editor

Neon Lua Editor is a sophisticated, neon-themed Lua code editor designed for both Roblox Lua development and general Lua programming. Built with the Monaco Editor, it features advanced syntax highlighting, intelligent autocompletion, and a visually stunning cyberpunk-inspired design.

Editor Preview

Features

Core Features

  • 🎨 Cyberpunk-inspired neon theme with dynamic glow effects
  • 🚀 Intelligent Lua code autocompletion for efficient coding
  • 📝 Real-time syntax highlighting for improved readability
  • 🗺️ Interactive code minimap for quick navigation
  • 🔍 Advanced search and replace functionality
  • 📱 Responsive design optimized for all screen sizes

Advanced Features

  • 🤖 Context-aware Roblox API suggestions for enhanced development
  • 🎯 Smart variable and function tracking to streamline coding
  • 💡 Intelligent scope-based completions for better context understanding
  • 🔄 Real-time code parsing and analysis for immediate feedback
  • 📦 Built-in Lua and Roblox service snippets for rapid development
  • Performance-optimized animations for a smooth user experience

Visual Enhancements

  • Neon text effects for syntax elements
  • 💫 Smooth cursor and selection animations
  • 🌈 Custom scrollbar styling for a unique look
  • 🎆 Animated code folding for better organization
  • 🎇 Dynamic hover effects for interactive feedback
  • 🖼️ Beautiful font rendering with Fira Code

Technical Specifications

Editor Features

  • Custom Lua parser for intelligent code analysis
  • Real-time variable and scope tracking
  • Service-specific method suggestions
  • Dynamic completion scoring system
  • Optimized rendering performance
  • Custom token highlighting

Supported Languages

  • Lua 5.1/5.2/5.3
  • Roblox Lua
  • Custom API integrations

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/neon-lua-editor.git
  1. Open index.html in your web browser

Usage

Basic Operations

  • Start typing to see intelligent autocompletion suggestions.
  • Use the minimap for quick navigation through your code.
  • Drag and drop .lua files to open them directly in the editor.
  • Utilize keyboard shortcuts for common operations.

Keyboard Shortcuts

  • Ctrl/Cmd + Space - Trigger autocompletion
  • Ctrl/Cmd + F - Find
  • Ctrl/Cmd + H - Replace
  • Ctrl/Cmd + / - Toggle comment
  • Ctrl/Cmd + Z - Undo
  • Ctrl/Cmd + Y - Redo
  • Ctrl/Cmd + A - Select all

Code Intelligence

  • Automatic service method detection for Roblox APIs
  • Context-aware variable suggestions for improved coding efficiency
  • Smart function parameter hints to guide your coding
  • Real-time error detection to catch issues as you code
  • Scope-aware completions for better context understanding

Development

Prerequisites

  • Modern web browser
  • Basic understanding of HTML/CSS/JavaScript
  • Familiarity with the Monaco Editor API

Customization

The editor can be customized by modifying:

  • Theme colors in CSS variables
  • Autocompletion behavior in the Lua parser
  • Animation timings and effects
  • Minimap rendering options

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Submit a pull request

Performance Notes

The editor includes several optimizations:

  • Debounced autocompletion triggers
  • Optimized animation frames
  • Efficient DOM updates
  • Cached parser results
  • Smooth scrolling implementation

License

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

Acknowledgments

Support

For issues and feature requests, please use the GitHub issues tracker.