Git Product home page Git Product logo

notepadqq-extensions's People

Contributors

qcerasmus avatar scx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

scx

notepadqq-extensions's Issues

Beautifier: Fails when no text is selected

Notepadqq: 1.4.8 (QtWebKit)
Node: 0.12.18
Qt: 5.11

Exception handling would be appreciated.

SyntaxError: Unexpected end of input
    at Object.parse (native)
    at Function.<anonymous> (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/main.js:62:19)
    at MessageInterpreter._processEventMessage (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/message_interpreter.js:55:29)
    at MessageInterpreter.processMessage (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/message_interpreter.js:40:18)
    at NotepadqqApi._onNewMessage (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/notepadqq_api.js:101:34)
    at DataChannel.<anonymous> (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/data_channel.js:20:17)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)
    at Pipe.onread (net.js:540:20)

Hex2Ascii: Missing deps

Notepadqq: 1.4.8 (QtWebKit)
Node: 0.12.18
Qt: 5.11

module.js:338
    throw err;
          ^
Error: Cannot find module 'deasync'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at MessageInterpreter.invokeApi (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.hex2ascii/node_modules/notepadqq-api/lib/message_interpreter.js:25:13)
    at Notepadqq.Stub._methodMissing (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.hex2ascii/node_modules/notepadqq-api/lib/stubs.js:25:45)
    at <error: illegal access>
    at NotepadqqApi.onWindowInitialization (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.hex2ascii/node_modules/notepadqq-api/lib/notepadqq_api.js:69:41)
    at /home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.hex2ascii/main.js:21:6
    at /home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.hex2ascii/node_modules/notepadqq-api/lib/notepadqq_api.js:28:51

Temporary patch:

diff --git a/hex-ascii/package.json b/hex-ascii/package.json
index 31e62b2..e1c5550 100644
--- a/hex-ascii/package.json
+++ b/hex-ascii/package.json
@@ -2,7 +2,10 @@
   "name": "Hex2Ascii",
   "version": "0.0.1",
   "dependencies": {
-    "notepadqq-api": "^0.9.5"
+    "notepadqq-api": "^0.9.5",
+    "bindings": "~1.2.1",
+    "deasync": "^0.1.0",
+    "nan": "^2.0.7"
   },
   "private": true
 }

PR is on the way.

Beautifier: Fails when selected text is not valid XML/JSON

Notepadqq: 1.4.8 (QtWebKit)
Node: 0.12.18
Qt: 5.11

Exception handling would be appreciated.

undefined:1
2.0.7"
   ^
SyntaxError: Unexpected token .
    at Object.parse (native)
    at Function.<anonymous> (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/main.js:62:19)
    at MessageInterpreter._processEventMessage (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/message_interpreter.js:55:29)
    at MessageInterpreter.processMessage (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/message_interpreter.js:40:18)
    at NotepadqqApi._onNewMessage (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/notepadqq_api.js:101:34)
    at DataChannel.<anonymous> (/home/scx/.var/app/com.notepadqq.Notepadqq/config/Notepadqq/extensions/com.lintwurm.beautifier/node_modules/notepadqq-api/lib/data_channel.js:20:17)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)
    at Pipe.onread (net.js:540:20)

Hex2Ascii: Crashes on QtWebEngine

Notepadqq: beta (QtWebEngine)
Node: 0.12.18
Qt: 5.12

Installation is not a problem, but using the extension immediately crashes the program. There is no any output on stdout or stderr.

Beautifier: Doesn't work on QtWebEngine

Notepadqq: beta (QtWebEngine)
Node: 0.12.18
Qt: 5.12

Installation is not a problem, but this extension just doesn't work. Instead of formatted text, it always inserts null (as a string).

Sometimes it just crashes the program.

Extensions are not installed

Hi, I wanted to try out your extensions. So I downloaded the two .nqqext files, then in Notepadqq I selected Extensions -> Install Extension... from the main menu.
The extensions were installed correctly according to Notepadqq, but in the Extensions menu I do not see anything, even after restarting Notepadqq.
Did I do something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.