Review of "Paste Presets" version 1

Details Page Preview

Quickly copy and paste frequently used text, like your e-mail address or phone number. This extension lets you specify text presets, which you can then call up and insert anywhere with the mouse or keyboard shortcuts. Default Shortcut: Super-C Type \n into your text presets to add line breaks. This Extension requires write-access to the clipboard.

Extension Homepage
https://github.com/felix-huesken/paste-presets

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

All Versions

Version Status
7 Active
6 Active
5 Rejected
4 Active
3 Active
2 Inactive
1 Rejected

Previous Reviews on this Version

JustPerfection rejected
1. Please add GitHub or GitLab url to the `metadata.json`: [EGO Review Guidelines: url](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#metadata-json-must-be-well-formed) 2. Remove `paste-presets@felixhuesken.de.pot`: [EGO Review Guidelines: unnecessary files](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#don-t-include-unnecessary-files) 3. Remove `preferences` from `metadata.json`. 4. Also null out in disable: ```js this._settings = null; this.keyboard = null; ``` [EGO Review Guidelines: Destroy](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#destroy-all-objects) 5. Move line 193 `extension.js` out of that if condition. 6. Please use aysnc for reading file content since you are in shell process (line 174 `extension.js`): [Gio.File.load_contents_async](https://gjs-docs.gnome.org/gio20~2.0/gio.file#method-load_contents_async) 7. Timeout should be removed on disable and also before creating a new one (line 101 and 133 `extension.js`): [EGO Review Guidelines: Timeout](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#remove-main-loop-sources) 8. Where is the import file? (line 43 `extension.js`). 9. Please don't use deprecated modules (line 181 `extension.js`): [EGO Review Guidelines: deprecated modules](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#do-not-use-deprecated-modules) If you need any help with your extension you can ask us on: - [GNOME Extensions Matrix Channel](https://matrix.to/#/#extensions:gnome.org) - IRC Bridge: irc://irc.gimpnet.org/shell-extensions