This is the repo of XOJ's online editor, which consists an extension for VSC (desktop & web IDE).
- 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
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.
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
xoj-playground.targetServer
: set the target server for backend connection.xoj-playground.judgeServer
: set the target server for judger.