Vector35 / Vector35/snippets

Make snippet from python console contents

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Effort: Low enhancement Impact: Low
Dominant language
Python
Stars
31
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Requested via stream: Joe Rozner​it: would be cool to take the current code from the python console and extract it into a snippet

It would be nice to have an easy "turn my python console text into a snippet" action to speed up the process for creating snippets. Might have to do some fancy logic for taking the correct console history entries in case your history is full of slightly busted revisions and one correct revision. Maybe a popup with the options would work.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing snippet-creation flow and the Python console history entry point. Determine how console contents and revisions can be selected, then define the expected behavior for turning the selected history into a snippet, including how a popup or other choice flow should work. Done means the action creates a usable snippet from the intended console text.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.