0

Is it possible to create a plugin for Notepad++ to read a custom format (an encrypted text file) edit it through notepad++ and save it back to the custom format.

I'm thinking that if notepad++ detects the specific file extension it will process the data through the plugin before displaying the contents.

I want to simplify the process of decode->open->edit->save->encode to just open->edit->save.

Question:

  • Is it possible with notepad++, if not, is there another editor that has this functionality? (I also use Atom, Sublime)
  • Where can I find the related documentation?
  • To read encrypted file it needs some crypto key. What's about it? – Biswapriyo Jun 2 '17 at 14:53
  • @Biswa, And I have it. The question doesn't really have anything to do with encryption. – majidarif Jun 2 '17 at 15:00
1

It's a big question you're asking.

In short...

Notepad++

I don't know how much you can do in Np++ plugins. Documentation can be found at https://notepad-plus-plus.org/contribute/plugin-howto.html, for example this seems to be a good starting place.

Atom

Certainly, you can do what you want by writing your own Atom Package:

Examples,

  • How to open your file however you like (see addOpener), and
  • then manipulating the text (see TextBuffer).

Hope this helps as a starting point.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.