Skip to content

hsn8086/this-is-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

150 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

en-US | zh-Hans

🌟 TIE - This Is Editor

TIE stands for "This Is Editor," a cross-platform competitive programming code editor based on Python and Vue.js. It is designed specifically for programming contests, providing an efficient and user-friendly coding environment.


🖼️ Interface Preview

Light Theme
Light Theme

Dark Theme
Dark Theme

✨ Key Features

  • 🌍 Cross-Platform Support: Compatible with Windows and Linux operating systems.
  • 🌐 Multi-Language Support: Supports multiple programming languages such as Python and C++.
  • 🖥️ Modern Interface: Built with Vue.js, offering an intuitive and clean user interface.
  • ⚡ Integrated Judging System: Comes with a built-in judging system for code testing and evaluation, capable of simultaneously measuring time and space usage.
  • 📂 Quick Test Data Loading: Integrates with the Competitive Companion plugin to directly import test data, compatible with the CPH data format. It also supports importing test data from the clipboard, automatically filling the first empty slot or fetching the full problem statement to improve efficiency.
  • 🔍 Code Completion and Error Hints: Integrates the Language Server Protocol (LSP) to provide intelligent code completion and real-time error hints.
  • 🛠️ Highly Configurable: Allows customization of compile and run commands to meet various contest requirements.
  • 🖼️ Code Snippet Screenshot: Built-in code screenshot feature for easy sharing of code snippets.
  • 🌐 i18n Support: Full internationalization support — UI and documentation available in multiple languages.

🚧 Future Plans

  • SPJ support
  • More language support
  • Configuration interface optimization
  • Code formatting support
  • Quick file creation
  • Code templates/snippets
  • Contest mode
  • Problem time and space limit modification
  • gdb
  • Automatic environment setup

📥 Download and Usage

  1. Download the latest version of TIE here.
  2. Install Python and C++ environments.
  3. Optional installations:
    • python-lsp-server: Enhance Python code completion and error hinting.
    • clangd: Enhance C++ code completion and error hinting.
    • Competitive Companion browser plugin: Quickly load test data.
    • clang-format ruff: Format your code with a single command.

💡 Recommended Font: For better code display, it is recommended to use the Maple Mono font.

python-lsp-server

Please install Python and pip first. Using pipx is recommended.

pip install pipx
pipx ensurepath
pipx install python-lsp-server

clangd

See the official installation guide: https://clangd.llvm.org/installation.html

Competitive Companion


⚙️ Build

  1. Clone this repository:
    git clone https://github.com/hsn8086/this-is-editor.git
  2. Navigate to the project directory:
    cd this-is-editor
  3. Install dependencies:
    uv sync && yarn install
  4. Build:
    yarn build

📜 License

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


🚀 TIE: Take your competitive programming code editing experience to the next level!

About

TIE (This Is Editor) is a cross-platform competitive programming editor built with Python and Vue.js.

Topics

Resources

License

Stars

Watchers

Forks

Contributors