Dec 23

QuickText

João @ 22:13

QuickText is a Notepad++ plugin for quick text substitution, including multi field inputs. It’s similar to Tab Triggers in TextMate.

Just type a tag, like html - in a HMTL file. Then hit CTRL+Enter and you’ll enter QuickText mode. Keep hitting CTRL+Enter and you’ll browse through the several hotspots. If you type something inside a hotspot, you can still browse. If you type another tag… say like p, you will enter its hotspots’ fields. Here’s the example I just exposed:

(made with CamStudio)

It’s current version is 0.2, and still lacks many languages’ tags. So if you’d like to contribute, send your tags to me at alph_DOT_pt_AT_gmail_DOT_com.

To download: QuickText on Sourceforge.

40 Responses to “QuickText”

  1. alph » QuickText v0.2 says:

    […] I just released version 0.2 of my QuickText plugin for Notepad++ v3.9. Hope you like it! QuickText right here. […]

  2. Lee says:

    Great job, thank you a lot

    Lee

  3. Tom says:

    Awesome! Great plugin!
    Thank you for good job!
    I’m wainting for next releases

  4. shello | blog » Blog Archive » Notepad++ & QuickText Plugin says:

    […] Notepad++ é um editor de código open source para Microsoft Windows que suporta variadas linguagens de programação/scripting. É muito versátil, sendo possível alterar o seu estilo, adicionar suporte a mais linguagens (e auto completation) e aumentar as suas potencialidades com plugins, como o QuickText. […]

  5. EJ12N says:

    Thank you for the great plugin João.
    Here’s a couple features I would _love_ to see if you don’t mind :)
    ===

    *Instead of CTRL ENTER why not use TAB :) ? Of course while keeping tab indenting/unindenting feature.
    *Control the order of tabstops ala textmate. $1,$2,$3 and of course $0 would be last one.
    *Be able to set shorcuts to snippets :) ? Like textmate does, by default snippets are tab triggered but you can set shorcuts to it.

    And those are my most wanted features for now :D
    Thank you very much for the great plugin and I hope you get some time and implement those features. Muito obrigado ;)

  6. EJ12N says:

    I forgot to mention something.

    *Control the order of tabstops ala textmate. $1,$2,$3 and of course $0 would be last one.

    Able to mirror content too example…

    class ${1:name}(){
    function $1(){
    //code...
    }
    }

    Whatever you type on the ${1:name} hotspot will mirror to any $1 hotspot… I hope you get it, hopefully you already know how textmate works so :)

  7. pilyoto says:

    Hi there! I just recently discovered this plugin for Notepad and i can say that it really made my day. :)

    Thanks for your work on this. I’m looking forward to more improvements to this great plugin.

    Cheers!

  8. Artur says:

    Something is wrong with plugin on Notepad ver 4.0 stable.
    I get message “Load liblary is failed”.
    I also tested it with Notepad 3.8 and 3.9 and it doesn’t work.
    Communicate is the same as earlier.
    I try with notepad installer for win and zip package.
    I’m using Win XP Home sp2 with all actualizations.
    I posted this problem on different forum and few users have the same problem as me.

  9. João says:

    Hey there.

    I’ve been told the plugin has problems loading with lots of users. I’m sorry I can’t work this out now, but I’m working on a stable version with more features. So, stick around, it shouldn’t take long.

  10. norlam says:

    Hi, João,

    Thanks a lot for this very helpfull open source Notepad ’s plugin. As a professional HTML/CSS developer, it is just what I need to perform.

    Because I have the same, I encourage you to consider the EJ12N’s wishes for the next step.

    Sincerely

  11. yair says:

    Hi João,

    This plugin is a great add on to notepad . I have some possible improvements you may consider:

    1. Support a larger substitution text block size. This is important for changing one keyword into several programming lines with parameters. I noticed that the limit is ~500 characters? Can it be unlimited?

    2. Only alphanumerical characters are supported for the tag names. Can this be changed to include symbols such as “_”
    This is good for replacing symbols such as “array_size”.

    Regards,

  12. Alcides says:

    I just love QuickText. And I have some suggestions:

    1) You should be able to change the hotkeys. Like Control-tab (just tab like in Textmate would be great!)

    2) Add a list of snippets in a (if possible standalone) menu deppending on the language selected.

  13. pat says:

    yep, great job, thank you

    pat

  14. Sam Buka says:

    That plugin made my day too works great, only it makes my notepad++ crash on a regular basis, anyone else got that problem?

  15. Luciano says:

    oi João,

    Muito legal esse plugin mesmo! Parabéns.

    Vou fazer umas listas de tags para php e incrementar a de html e depois mando pra você.

    Só tem uma coisa estranha quando crio opr exemplo a tag table (ou outra de muitas linhas) e ela está identada a tag de fechamento fica identada errada e com um tab no meio.

    assim:

    tem solução?

  16. André says:

    Hi, it´s great plugin, but how can I use $ as a character? Maybe you could give the option to choice the hotspot key (tab, or | (pipe)) or a a sequence like other users already said, $1, $2… and just $ only display the character… thanks in advance ;)

  17. João says:

    Hey André,

    You can use the $ character using the escaped form: \$.

    I’m sorry about the paused development right now, but I’ll manage to get some more time to improve and add all those features.

  18. Gregor says:

    Hi,

    I couldn’t find a global language or any other way to define global substitutions (that work in any language), other than to define them everywhere. In my case, I have to insert a GUID into either javascript, C# or SQL (and sometimes into any currently open document, since I just want to cut and insert the text into another program). Can this be done?

  19. MrGroove says:

    Love it. Thnx for the great plug-in.

  20. codenexus says:

    I’ve done a PHP addition and you can find a post about it on the Notepad++ forums. I’ve also sent a copy of my ini file to the author. :)

    Enjoy. Suggest changes. (I haven’t quite figured out how to consistently add classes yet.)

    Post Found Here

  21. codenexus says:

    Any documentation available??

    I would like to know if commenting is an available feature? it would be great to be able to comment your QuickText code. :)

  22. Hugo says:

    Great Plugin but I made my own costume language and I can’t find out the way to make the plugin to work, when I try to configure a new tag to my language it doesn’t apear in the list!. Please how can I make it work?

  23. spamfreefinally says:

    what is the max number of characters that can be used as replacement text? 527? i was wondering since i considered using quicktext to save an entire webpage template of sorts but the content was far too long.
    a very handy tool none the less, Thanks :)

  24. Blixa Bargeld says:

    great plugin! thanks.

  25. Idetrorce says:

    very interesting, but I don’t agree with you
    Idetrorce

  26. Remo says:

    great plugin.
    thank you very much

  27. harel says:

    how about getting the tags that are available for the language i’m using, onscreen, like aside window? would be very help full.
    i’m writing some tags for my assembly course, how to send them, if you like?

  28. jay says:

    hi, i discovered quicktext by accident. when i started using notepad++, i was so busy i didn’t get a good look around. i was very impressed by quicktext so far. not using it as much as i could (old habits…) but i’m making an effort to enter what i need into it and i find it great. i use mostly php and i can see how this will help me avoid typos that invariably lead to those annoying blank pages.. thanks for creating this. it’s very good, as is notepad ++ i’m still having a bit of trouble sometime figuring out if certain things can be added such as CNTL/key combinations, but even with that little issue, quick text is great. I discovered that tab is CNTL-tab which was handy. maybe this is all documented somewhere, i guess i need to search a bit. thanks for the great work.

  29. horix says:

    Hello,
    quicktext don’t run with verilog language.
    can we add a new language in the list ?

  30. Shrihari says:

    Hello,

    Great plugin. I’m loving it. But, i have some features to be included.

    1) Nested QuickText Doesn’t work.
    For eg, if i have a quicktext as “ifelse” as below :
    if($)
    {
    $
    }
    else
    {
    $
    }

    When i get to the second hotspot, i enter “echo” and press ctrl+enter to bring up the the quicktext : echo ‘$’;
    After entering the content in echo’s quicktag, if i press Ctrl+enter, i’m not being taken to the “else” hotspot.
    Enabling such a feature would be great.

    2) As suggested above, using Tab instead of Ctrl+Enter would be great.

    3) Removing Text Size Limit

    Thanks,

  31. Stefan says:

    Just a quick note, you wrote: “Hello there, I changed my domain name to joaomoreno.com. Please update your bookmarks and your RSS feeds as well. Thank you.”
    OK, please do it yourself at http://sourceforge.net/projects/quicktext/, too. ;-)

  32. Lukáš Kucharczyk says:

    Please implement the option to switch to Tab instead of Ctrl+Enter. It will be awesome!

  33. adrian says:

    tab please! :`(

  34. adrian liem says:

    i tried to modify your plugin, so it can mimicking E (my previous text editor) behaviour
    i hope you don’t mind …
    https://sourceforge.net/forum/message.php?msg_id=4991463

    God bless,

  35. chilev says:

    Great plug-in! thanks a lot! I think, the idea “individual shortcuts for the snippets” is great!

  36. Pwhndvve says:

    Honi soit the dazzlingly buy cytotec then announced held.

  37. Christian says:

    I use QuickText with Notepad++ v5.0.3 but the shortcut Ctrl+Enter doesn’t work anymore. The replacement works if I slecet it by the menu navigation.

    Solution:
    Go to Menu: Setting/Shortcuts
    Check if there is another Shortcut set to Ctrl+Enter
    Delete

  38. max says:

    This plugin is awesome!!!
    Christian is right about the shortcut problem. Here are some Keywords for Google in German - so others don’t have to search as long as I did:
    Strg + Enter funktioniert nicht in Notepad++ v5.0.3 für das Plugin QuicktText (Quick Text). Die Lösung: In den Einstellungen die Tastaturkürzel / Tastenkürzel durchsuchen und den Shortcut für die Wörtervervollständigung ändern.
    peace. max.

  39. volkan says:

    Hello,
    Thanks for great plugin.
    Ever1 who wants to change shortcut key for CTRL-Enter, You can use Settings > Shortcut Mapper > Plugin Shortcuts and Double-Click the Quicktext plugin shortcut to change the key combination.

    Thanks…

  40. Jayme Ayres says:

    Olá João,
    Gostaria de agradece-lo por ter criado este plugin que melhora (e muito) o uso do Notepad++
    Tenho uma dúvida, como eu posso portabilizar meus snipets, pois quando formato a minha máquina perco todos os novos snipets que fiz, ou até transferi-los para o meu laptop.

    Cheers!!

    Jayme Ayres

Leave a Reply