topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 9:25 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: NANY 2009 Release: Notepad++ plugins  (Read 35639 times)

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
NANY 2009 Release: Notepad++ plugins
« on: December 25, 2008, 12:51 PM »
NANY 2009 Entry Information

Application Namef0dder's Notepad++ plugins
Version1.1
Short DescriptionA small set of NP++ plugins that I find useful, and hope others will too :)
Supported OSesWin32/x86-64, tested on XP64 and Vista64 - might work on Win9x as well ;)
Web Pagehttp://f0dder.dcmembers.com/npp_plugins
Download Linkhttp://f0dder.dcmembers.com/npp_plugins
System Requirements
  • 32bit or 64bit (x64) version of Windows
  • Some version of Notepad++ (tested on 5.1.2)
Version History
  • 1.1 - switcher can now open "filename under cursor"
  • 1.0 - initial release is done :)
Authorf0dder


Description
I've used a small set of small Notepad++ plugins for a while, to make my programming life a bit easier. Since mouser kept nagging me to do a NANY 2009 submission, I decided to clean up the plugins and package them so they're suitable for general use. The plugins are mainly biased towards C++ development.

Features
  • GuidGen - generate header-file inclusion guards, GUID style.
  • Switcher - switch between header and source file (.h<>.cpp , .asm<>.inc, etc.)
  • RegRexPlace - regular regular expression replacer :) (process files with preset regex templates)

Planned features
  • more flexibility in switcher - the ability to define custom header/source pairs
  • more plugins? :)
  • GUI + replacement groups for RegRexPlace

Screenshots
To come... perhaps :)

Usage
Installation
Extract the distribution .zip file, and copy the plugins you want to you Notepad++ plugins folder. Both ANSI and UNICODE versions are available, pick the ones suitable for your Notepad++ version. If using RegRexPlace, copy the .ini file to the Notepad++ plugin configuration folder, and edit to your taste.

Using the Application
Activate the plugins from the Notepad++ plugins menu, or bind keyboard shortcuts to the plugin functions. You might want to set up some RegRexPlace templates as well, check out the existing ones for ideas.

Uninstallation
Exit Notepad++ if running, delete the .dll files from the plugin folder.
- carpe noctem
« Last Edit: January 14, 2009, 01:15 AM by f0dder »

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2009 teaser: Notepad++ plugins
« Reply #1 on: December 25, 2008, 12:59 PM »
Please consider Text Generating plugin ;)

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 teaser: Notepad++ plugins
« Reply #2 on: December 25, 2008, 01:03 PM »
Please consider Text Generating plugin ;)
-fenixproductions (December 25, 2008, 12:59 PM)
You mean FabtasticMindReader plugin? That's planed for version 666 :P
- carpe noctem

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2009 teaser: Notepad++ plugins
« Reply #3 on: December 25, 2008, 02:06 PM »
Please consider Text Generating plugin ;)
-fenixproductions (December 25, 2008, 12:59 PM)
You mean FabtasticMindReader plugin? That's planed for version 666 :P

Nope. I mean something like this:
https://www.donation....msg141354#msg141354

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 teaser: Notepad++ plugins
« Reply #4 on: December 25, 2008, 07:40 PM »
Please consider Text Generating plugin ;)
-fenixproductions (December 25, 2008, 12:59 PM)
You mean FabtasticMindReader plugin? That's planed for version 666 :P
Nope. I mean something like this:
https://www.donation....msg141354#msg141354
-fenixproductions (December 25, 2008, 02:06 PM)
Ah, I do remember seeing that. A full regex combinatorial thing like that would probably be nontrivial to write, but tools to help with stuff like bbcode lists (and whatnot) could be doable - that's actually one of the purposes of the RegRexPlace plugin :)
- carpe noctem

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: NANY 2009 teaser: Notepad++ plugins
« Reply #5 on: December 25, 2008, 07:44 PM »
Yay npp plugins :Thmbsup:, :-* f0dder.

Ehtyar.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2009 teaser: Notepad++ plugins
« Reply #6 on: December 25, 2008, 08:05 PM »
tools to help with stuff like bbcode lists (and whatnot) could be doable - that's actually one of the purposes of the RegRexPlace plugin :)

Nice to hear that.

BTW I've just imagined two ridiculous plugins:
1st - takes selected math formula and generates ASCI art plots,
2nd - takes selected LaTeX string and generates ASCI art equations (maybe mimeTeX could be used).

That would be all for my crippled mind ;)

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 teaser: Notepad++ plugins
« Reply #7 on: December 29, 2008, 10:18 PM »
OK, the "core" of regrexplace is done now (a bit embarrassing that it took me so long to set up PCRE :-[). There's currently no GUI for it, though, so all it does is transform a text like...
This gets *bold*, and that gets __italic__. And here's a fast way to do google MSDN search: CreateProcess()
-original
This gets bold, and that gets italic. And here's a fast way to do google MSDN search: CreateProcess()
-transformed

...In other words, core done and three preset regex replacements being performed. I'm not sure I'll have time to finish GUI before NANY deadline, so I might include the hardcoded version as a teaser :). I do plan on fixing it eventually though, since I believe it could be a somewhat useful tool - it could be used, for instance, for all kinds of bbcode (or other forum) transforms that are faster to type than the regular codes, and you could do forum-specific replaces (like, I might use one set for DonationCoder and another for the ASM Community).
- carpe noctem
« Last Edit: December 29, 2008, 10:20 PM by f0dder »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #8 on: December 31, 2008, 05:55 AM »
There, first release done :)
- carpe noctem

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #9 on: January 14, 2009, 01:16 AM »
14th January, 2009: small update. Switcher can now open "filename under cursor".
- carpe noctem

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #10 on: January 14, 2009, 11:50 AM »
How do I know if I want ANSI or UNICODE?

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #11 on: January 14, 2009, 05:11 PM »
Deozaan: oops, still haven't updated document wrt. that :-[

Anyway: if you run ANSI Notepad++, you want ANSI plugins. Same way for UNICODE. If you don't need super-funky characters in filenames (like Chinese of Russian), ANSI build of NP++ is just fine - and does support those fancy character in your documents, just not in the filenames.
- carpe noctem

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #12 on: January 14, 2009, 05:17 PM »
I use the Portable Apps build of Notepad++.

I'm guessing from this that it's the UNICODE version:
Unicode: Users wishing to use the Unicode version of Notepad++ can extract the files from the unicode directory in the zip version and place them in the Notepad++Portable\App\Notepad++ directory. Many plugins have not yet been updated for Unicode and will fail to load.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #13 on: February 16, 2009, 11:30 AM »
2f0dder
I've read about looking for better website after clicking on http://f0dder.dcmembers.com/npp_plugins so... take a look on attachment.

Use it if you want to but remember to customise meta-info for your needs.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #14 on: February 16, 2009, 12:59 PM »
Oh, that looks pretty nice :)

A question, though (haven't looked at the CSS source yet): how easy is it to add more boxes? Does it require new CSS classes with pixel positions, or is stuff relatively positioned so I can just use an existing CSS class?
- carpe noctem

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #15 on: February 16, 2009, 01:30 PM »
I use the Portable Apps build of Notepad++.

I'm guessing from this that it's the UNICODE version:
Unicode: Users wishing to use the Unicode version of Notepad++ can extract the files from the unicode directory in the zip version and place them in the Notepad++Portable\App\Notepad++ directory. Many plugins have not yet been updated for Unicode and will fail to load.
Unless you're using the portableapps npp with the menu/launcher, you needn't use it at all. Installing notepad++ from the zip as opposed to the installer yields a portable npp install. You can also do it from the executable installer if you so wish by creating 'doLocalConf.xml' in the installation directory.

Ehtyar.
« Last Edit: February 16, 2009, 01:42 PM by Ehtyar »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #16 on: February 16, 2009, 01:33 PM »
Ehtyar: huh? What was that a reply to? :huh:
- carpe noctem

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #17 on: February 16, 2009, 01:42 PM »
Sorry, edited.

Ehtyar.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2009 Release: Notepad++ plugins
« Reply #18 on: February 16, 2009, 01:57 PM »
2f0dder
It's based on: http://960.gs/
Adding new boxes is easy as working with tables :)