Akuli / porcupine

A decent editor written in tkinter
MIT License
162 stars 49 forks source link

code in pastebin plugin looks like puke #715

Open Akuli opened 3 years ago

Akuli commented 3 years ago

It works, but...

<Arrinao> it looks very gross and terrible
<Arrinao> pitiful even
<Arrinao> I'd be ashamed
<Arrinao> did it motivate you? :D

My idea is to use a subprocess for pasting, and make the "Cancel" button kill that subprocess.

Moosems commented 1 year ago

What does the pastebin plug-in do?

Akuli commented 1 year ago

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
"""
Moosems commented 1 year ago

So automatically creates the link?

Akuli commented 1 year ago

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.