Open Akuli opened 3 years ago
What does the pastebin plug-in do?
I updated the docstring. I'll copy here:
"""Allows you to share snippets of code to others easily.
To use this plugin:
1. Select some code in the editor
2. Select "Pastebin selected text to dpaste.com" (or some other site)
3. Wait until you get the link
4. Send the link to someone else
"""
So automatically creates the link?
Yes, it sends the code to a pastebin site. Just like you copy/pasting it to the website and clicking the submit button, but with less clicks and copy/pastes to get the same thing done.
It works, but...
My idea is to use a subprocess for pasting, and make the "Cancel" button kill that subprocess.