Skip to content

Feature idea: Managing gists (with revisions) per user #609

Open
@bluenote10

Description

@bluenote10

This is more of a dream idea, bringing it up anyway in case there are low hanging fruits to improve the situation. The problem: How to easily manage "all my playgrounds".

My initial approach to this was to use the permalink feature, and store each permalink in a local bookmarks collection. When iterating on a snippet, I had to load the bookmark from the bookmarks list, and later add the update bookmark in the bookmark collection. Problems were:

  • Organizing (manually naming) the bookmarks is a bit tedious.
  • When I had a new revision I often wanted to keep the old revision available as well, ending up with many bookmarks v1, v2, v3, ...
  • When I'm on a different PC, I did not had access to my playgrounds.

My next approach was to create the playgrounds directly as gists on GitHub. In the first line I would place a comment containing an appropriate URL for loading the gist on Rust Playground. So the workflow becomes: Go to GitHub gists, open gist, copy URL to new browser tab, iterate on the snippets on Rust Playground. When done, I go back to GitHub, edit the gist, and copy/paste the updated content. This avoids the bookmark mess and makes working with revisions easier, but is still slightly inconvenient.

Solving the problem within Rust Playground would probably require the following (most likely difficult) features:

I'm not even sure if that would be possible theoretically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions