Skip to content

Feature Request: Organize parsed problems by online judge by default #660

@Mohamediibra7im

Description

@Mohamediibra7im

Currently, parsed problems are created directly in the workspace root.

Example:

workspace/
├── A.cpp
├── B.cpp

I implemented a feature that automatically organizes parsed problems into folders based on the online judge.

Example:

workspace/
├── Codeforces/
│   ├── A.cpp
│   ├── B.cpp
│
├── AtCoder/
│   ├── abc100_a.cpp

Behavior

  • Detects the online judge from the parsed problem metadata or URL
  • Automatically creates the judge folder if it does not exist
  • Stores source files and testcase files inside that folder
  • Applies this organization by default

Motivation

This improves workspace organization for users solving problems from multiple judges and keeps large competitive programming workspaces cleaner.

Notes

The implementation is minimal and centralized around path resolution logic to avoid affecting unrelated workflows.

I opened a PR for this if the maintainers think this behavior is appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions