VSCode extension for pasting to npaste.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kim Grytøyr f5d20a316e
0.1.0
6 miesięcy temu
.vscode Initial release 6 miesięcy temu
test Initial release 6 miesięcy temu
.eslintrc.json Initial release 6 miesięcy temu
.gitignore Fixes #3 and #4. Version bumped 6 miesięcy temu
.vscodeignore Initial release 6 miesięcy temu
CHANGELOG.md Cleanup in CHANGELOG and README 6 miesięcy temu
README.md Merge branch 'master' of src.grytoyr.io:kim/npaste-vscode 6 miesięcy temu
extension.js fixes #4 - upload all content if the editor have no selection 6 miesięcy temu
jsconfig.json Initial release 6 miesięcy temu
package-lock.json 0.1.0 6 miesięcy temu
package.json 0.1.0 6 miesięcy temu

README.md

npaste-vscode README

This is a simple extension for pasting the selection of your current editor to an npaste server.

Requirements

In general, you’ll need to have access to an npaste server to use this extension.

For encryption to work you need to have GPG in your path.

Keyboard shortcut

The default keyboard shortcut for pasting something is CTRL+ALT+P (CMD+ALT+P on a Mac).

Extension Settings

This extension contributes the following settings:

  • npaste.url: The url to the server with trailing /
  • npaste.username: Your API username.
  • npaste.password: Your API password.
  • npaste.age: Paste age (s,m,h,d,y)
  • npaste.archive: If a paste should be archived instead of deleted after it has expired.
  • npaste.encrypt: If a paste should be encrypted using GPG.
  • npaste.encryption_key_length: If using encryption, this will set the encryption key length.

Enjoy!