Skip to content

This is the repo of XOJ's online editor, which consists an extension for VSC (desktop & web IDE).

License

Notifications You must be signed in to change notification settings

XOJ-Team/Playground

Repository files navigation

XOJ Playground

Stable Build Status Preview Build Status

This is the repo of XOJ's online editor, which consists an extension for VSC (desktop & web IDE).

Features & To-dos

  • VS code extension
    • Connection status checker
    • Connect to OJ backend and retrieve problem (description, sample input/output, etc)
    • Actions
      • Language chooser
      • Run code (check) on XOJ
      • Code submission
      • Refresh
    • Problem display
      • Description
      • AC rate
      • Total submission count
      • Time limit
      • Memory limit
    • Result Viewing
      • Submission Status
      • Submission Details
    • Desktop URI activation
    • Preferences
      • Setting XOJ backend API URL
      • Setting Judge API URL
  • Modified version of VS code web
    • User authentication
    • User preference storage

Getting Started

Installation

To install the extension, you can download the prebuilt extension package (VSIX) from GitHub Actions, or download directly from Visual Studio Marketplace or Open VSX Registry.

Development

To start the development, open this project in VScode and then run

yarn install

to initialize the dependencies.

To debug the extension, simply press F5 and a debug session would popup.

To package the extension, run

yarn pack-vsix

Extension Configuration

  • xoj-playground.targetServer: set the target server for backend connection.
  • xoj-playground.judgeServer: set the target server for judger.

About

This is the repo of XOJ's online editor, which consists an extension for VSC (desktop & web IDE).

Topics

Resources

License

Stars

Watchers

Forks