Vector35 / snippets

plugin for storing and using snippets of useful Binja script
MIT License
22 stars 9 forks source link

Make snippet from python console contents #38

Open CouleeApps opened 1 year ago

CouleeApps commented 1 year ago

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.

galenbwill commented 1 year ago

Probably should have a simple picker UI to let you browse the history and choose which one you want.