You can use this plugin to share parts of your code by Pastebin.com with a few clicks.
- Plugin gets selected part of code/text and creates Pastebin.com paste with it.
- Clone the repository using the following command.
git clone --recursive https://github.com/Artttdez/PastebinPlugin
- Navigate into the cloned repository and run
./gradlew buildPlugin
. In thebuild/distributions
directory,.zip
file with plugin will be created.
- Go to
IntelliJ IDEA ⟶ Preferences ⟶ Tools ⟶ Pastebin Sender Settings
- Insert your DevKey token from Pastebin.com (to get your DevKey, you should # in Pastebin.com and get your DevKey from the link https://pastebin.com/doc_api)
- Hotkeys -
Ctrl+\ Ctrl+P
- If the DevKey token is correct, a new folder with your Pastebin.com paste will be opened soon in your default browser.
- If something gone wrong, a popup with following message will be shown up:
From Jetbrains plugin repository (soon)
- Go to
IntelliJ IDEA ⟶ Preferences ⟶ Plugins
- Select
Browse Repositories
button at the bottom. - Search for
Pastebin Sender
using the search. Then you can install the plugin using theInstall
button. - Restart IDEA.
From a local build
- Go to
IntelliJ IDEA ⟶ Preferences ⟶ Plugins
- Click
Install plugin from disk
button and select the deployed plugin zip file. Please make sure to install the Zip file, not the extracted Jar files. - Restart IDEA.