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:
link lost in the Internets
(made with CamStudio)
It’s current version is 0.2, and still lacks many languages’ tags.
To download: QuickText on Sourceforge.
Quicktext is currently not being developed further.
86 Comments
Great job, thank you a lot
Lee
Posted 04 Jan 2007 at 4:32 pm permalinkAwesome! Great plugin!
Posted 04 Jan 2007 at 8:04 pm permalinkThank you for good job!
I’m wainting for next releases
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.
? Like textmate does, by default snippets are tab triggered but you can set shorcuts to it.
*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
And those are my most wanted features for now
Posted 20 Jan 2007 at 10:32 pm permalinkThank you very much for the great plugin and I hope you get some time and implement those features. Muito obrigado
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…
Posted 21 Jan 2007 at 1:27 am permalinkclass ${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
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!
Posted 30 Jan 2007 at 1:03 pm permalinkSomething is wrong with plugin on Notepad ver 4.0 stable.
Posted 01 Feb 2007 at 7:40 am permalinkI 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.
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.
Posted 01 Feb 2007 at 10:41 am permalinkHi, 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
Posted 03 Feb 2007 at 1:46 pm permalinkHi 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,
Posted 06 Feb 2007 at 3:28 pm permalinkI 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.
Posted 12 Feb 2007 at 7:57 pm permalinkyep, great job, thank you
pat
Posted 21 Feb 2007 at 6:09 pm permalinkThat plugin made my day too works great, only it makes my notepad++ crash on a regular basis, anyone else got that problem?
Posted 27 Feb 2007 at 8:42 am permalinkoi 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?
Posted 29 Mar 2007 at 12:05 pm permalinkHi, 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
Posted 26 Jun 2007 at 6:48 pm permalinkHey 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.
Posted 26 Jun 2007 at 8:05 pm permalinkHi,
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?
Posted 03 Jul 2007 at 8:17 am permalinkLove it. Thnx for the great plug-in.
Posted 31 Jul 2007 at 1:02 am permalinkI’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
Posted 12 Aug 2007 at 10:14 pm permalinkAny 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.
Posted 12 Aug 2007 at 10:18 pm permalinkGreat 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?
Posted 10 Sep 2007 at 3:02 pm permalinkwhat 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.
Posted 04 Oct 2007 at 1:37 pm permalinka very handy tool none the less, Thanks
great plugin! thanks.
Posted 23 Oct 2007 at 5:08 pm permalinkvery interesting, but I don’t agree with you
Posted 15 Dec 2007 at 2:12 pm permalinkIdetrorce
great plugin.
Posted 19 Dec 2007 at 9:26 pm permalinkthank you very much
how about getting the tags that are available for the language i’m using, onscreen, like aside window? would be very help full.
Posted 08 Jan 2008 at 10:58 am permalinki’m writing some tags for my assembly course, how to send them, if you like?
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.
Posted 28 Jan 2008 at 9:15 pm permalinkHello,
Posted 05 Feb 2008 at 10:04 am permalinkquicktext don’t run with verilog language.
can we add a new language in the list ?
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,
Posted 13 Feb 2008 at 12:41 pm permalinkJust 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.”
Posted 12 Mar 2008 at 6:57 pm permalinkOK, please do it yourself at http://sourceforge.net/projects/quicktext/, too.
Please implement the option to switch to Tab instead of Ctrl+Enter. It will be awesome!
Posted 20 May 2008 at 11:09 am permalinktab please! :`(
Posted 27 May 2008 at 5:58 pm permalinki 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,
Posted 28 May 2008 at 7:59 pm permalinkGreat plug-in! thanks a lot! I think, the idea “individual shortcuts for the snippets” is great!
Posted 02 Jun 2008 at 9:25 am permalinkHoni soit the dazzlingly buy cytotec then announced held.
Posted 09 Aug 2008 at 5:19 pm permalinkI 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:
Posted 13 Aug 2008 at 6:59 pm permalinkGo to Menu: Setting/Shortcuts
Check if there is another Shortcut set to Ctrl+Enter
Delete
This plugin is awesome!!!
Posted 17 Aug 2008 at 11:31 pm permalinkChristian 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.
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…
Posted 24 Aug 2008 at 11:35 am permalinkOlá 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
Posted 29 Aug 2008 at 4:52 pm permalinkGreat but my ctrl+enter does not work I have to do it manually.
Posted 13 Sep 2008 at 6:24 pm permalinkThanks Christian that worked for me.
Posted 13 Sep 2008 at 6:31 pm permalinkMy Ctrl+Enter does not work. Thanks.
Posted 17 Sep 2008 at 8:50 pm permalinkIt´s Work Now. It’s a simple KeyMapper configuration conflict. Great Plugin.
Posted 17 Sep 2008 at 8:54 pm permalinkI couldn’t get QuickText working at all. The options dialog had no languages listed.
I discovered that if I changed the Hide Menu setting in Preferences, the Quick Text options dialog suddenly appeared filled with the languages!
There should be no connection between these two things!
2nd problem was simpler: I had to change a default hotkey setting in the “Main” section that was set for Ctrl+Enter, or simply make a new binding for the QuickText tag replacement operation.
Anyway, I got it working and it’s great!
But… When I return to my normal setting with the main menu hidden, the QuickText *Options* dialog doesn’t appear correctly, but QuickText tag replacement still works normally!
What’s going on? I noticed other Notepad++ plugins don’t work right when the main menu is hidden.
Posted 15 Oct 2008 at 1:53 am permalinkOne other point: It’s not a problem for me that the QuickText Options dialog doesn’t work when I have the Menu Bar hide setting on, because I just enter the tag replacement rules directly into the QuickText.ini file and restart Notepad++. I’m very happy with QuickText so far!
Posted 15 Oct 2008 at 2:05 am permalinkBut I’m not happy about this bug with Notepad++ and the Menu Bar hiding…
Hi Mike,
Well that’s just how messy the plugin interface for Notepad++ is. And for that reason and some other ones, I won’t be providing support for QuickText. I made it an extremely experimental project, but anyone can feel free to pick it up from where it stands.
Posted 15 Oct 2008 at 7:22 pm permalinkI was exactly looking for something like that. Do you have a sense of wonder about my capacity count Wanna very nice joke?)) Why are cowboy hats turned up at the sides? So three cowboys can ride in a pickup truck.
Posted 26 Oct 2008 at 9:42 pm permalinkGreat plugin !!! It should be a native Notepad++ functionnality !
A great improvement would be to add aliases in the snippet .ini file, so you can define only once some strings (blocks, …). This behavior exists in Geany snippets.
Also, I created snippets for PHP by concatenating C/C++ snippets (and rewrite some of these), and HTML snippets. I think it would be better just to “call” these in the PHP section instead of copy them…
Posted 21 Nov 2008 at 9:37 am permalinkJust created a rather large PHP snippets list, for all your HTML/PHP/MySQL-y needs. Check it out!
Posted 25 Nov 2008 at 11:02 pm permalinkIt’s a pity quicktext doesn’t work anymore with Notepad++ 5.1+ …
Posted 16 Dec 2008 at 3:44 pm permalinkGreat plugin! Thx for the Hard Word Mate
FYI, Working with my notepad++ 5.1.4
Just go to:
http://notepad-plus.wiki.sourceforge.net/QuickText+HowTo
To view how to configure it.
And like volkan said, change the shortcut mapper for QuickTest.
Settings -> Shortcut Mapper -> Plugin Commands -> Replace Tags (number 212)
I change ctrl+enter with alt+enter
Posted 14 Jan 2009 at 1:29 am permalinkSorry, forgot to mention – doesn’t work with the UNICODE build
Posted 18 Jan 2009 at 6:27 pm permalinkThe quicktext not working in notepad + + 5.1.x
Posted 24 Jan 2009 at 3:23 pm permalinkanyone know how to solve?
QuickText 0.2 is not compatible with the latest Notepad++ 5.2. Please update it. It is a great plugin and very useful to save time in coding scripts. Thanks.
Posted 09 Mar 2009 at 4:46 am permalinkAny chance someone could make a Unicode version of this plugin? Would be very much appreciated!
Posted 19 Mar 2009 at 1:50 am permalink“Any chance someone could make a Unicode version of this plugin? Would be very much appreciated!”
i agree!
Posted 24 Mar 2009 at 5:56 pm permalinkI am really sad about this not working with the unicode version, I’m thinking of just switching back. Does anyone know when the UC version is coming out (if ever)? thanks!
Posted 28 Mar 2009 at 2:49 pm permalinkUnicode version: http://sourceforge.net/forum/message.php?msg_id=6041956
Posted 29 Mar 2009 at 8:40 pm permalinkQuickText works in my Notepad++ v5.0.3
Posted 08 Apr 2009 at 2:19 pm permalinkHi,
I’m still using this thing with today and I think it’s great so thank you to joao. If it helps anyone, I’m using Notepad 5.2 Ansi because of the mentioned UNICODE issues and have mapped TAB with the built in Notepad key mapper. Those other ‘textmate’ style features would be fantastic but I don’t know if anyone is currently developing this plugin anymore :\
Posted 10 May 2009 at 1:59 am permalinkHey!!!.. this plugin is great… I’m Sorry that you wont continue developing this great tool.
But all of you above whit your coments.. they keep the spirit of this… reading all the coments gave me a lot of support to run it on my np++ v5.4.1 very fine
Posted 28 May 2009 at 10:55 pm permalinkCocinerox’ link above is to a discussion among coders – including some very able ones – of how to fix the Unicode problem with QuickText and the latest version of Notepad++. Several contributed fixes have been uploaded. I used the one by Heindrich and it seems to work fine. Source is available with the download. Joao, it would be a small step to make this fix official. In any event, thanks for your very fine work.
Posted 03 Jun 2009 at 3:19 am permalinkThe plugin is not working on NPP 5.1.3 or the latest (as of today) 5.4.2, i have both unicode and ansi versions, cant understand what i am doing wrong, but i would really like to try this. if anyone knows what the problem is, please tell me.
Posted 05 Jun 2009 at 11:04 am permalinki worked out what it was, and wish someone had picked up on this earlier, the ctrl+enter combo is ALREADY ASSIGNED TO WORD COMPLETION , ARGH
Works fine now that ive reassigned it.
Posted 05 Jun 2009 at 11:25 am permalinkjust a suggestion, we should get a QuickText.ini set up on Github, shouldn’t take long to get a decent number of languages in there hopefully.
Posted 05 Jun 2009 at 2:44 pm permalinkquicktext doesn’t work in notepad++ under Wine on Ubuntu.
(cry)
Posted 06 Jun 2009 at 2:23 pm permalinkI feel a bit better to know gedit on Ubuntu has similar functionality, so its not all bad.
Posted 06 Jun 2009 at 6:16 pm permalinkGreat plug-in for a terrific editor. Working fine on NPP 5.4.3–just remap the under Settings > Shortcut Mapper… (I use Ctrl+Right — you must first turn of that combo under scintilla).
I agree with others that this should be part of the core.
Posted 02 Jul 2009 at 8:39 pm permalinkGreat and very wanted plugin, but unfortunately I can’t use it because of minor bug: smart selection stop working correctly after using plugin’s hot key.
E.g., when I have the following code:
Posted 21 Oct 2009 at 7:53 am permalink…
function run() {
…
and dobleclick on ‘run’ word I am going to have exactly ‘run’ word selected – this is usual behavior of NP++. But if I have QuickText called before I need to close and reopen NP++ to restore smart selection feature: instead of ‘run’ I am having ‘run()’ selected.
I’m sorry everyone. I really stopped development on this. There are, although, people that have demonstrated some interest in continuing the project, and I’m sure that if you post your comments here, they will eventually read it!
Posted 21 Oct 2009 at 1:34 pm permalinkHow can I use QuickText with user defined languages?
When i try to use it via setting for Global it shows message every time I press Tab.
Posted 29 Oct 2009 at 1:54 pm permalinkSad to hear that u stopped the development.
I really love this plugin…
Are u planning to release the latest 0.2.1 source code?
Posted 04 Nov 2009 at 10:20 pm permalinkAll the source-code is free to use and complement on Sourceforge.
Posted 05 Nov 2009 at 2:29 am permalinkow… there is only 0.2.0 source … or I was blind :$
Changelog of 0.2.1 had some important changes, so I wanted to begin with that.
Is that 0.2.1 version from someone else already?
Posted 05 Nov 2009 at 1:38 pm permalinkI couldnt find the source…
could you please give me the exact link to download it…
Thanks
Posted 13 Nov 2009 at 4:14 am permalinkJá instalei o QuickText há algum tempo e só agora descobri que foi criado por um tuga
Acho que a funcionalidade de tab trigger está muito boa e semelhante ao textmate (eu utilizo o e-texteditor para windows que é igual).
No entanto acho que poderias adicionar numa nova versão a funcionalidade de wrap around. Ou seja, ao seleccionar uma porção de texto, e depois ao pressionar uma combinação de teclas (no e-texteditor é alt+shift+w) colocar tags à volta desse texto seleccionado. Do género, tens por exemplo e seleccionas toda esta tag. Depois ao pressionar as teclas de atalho, poder colocar por exemplo
No e-texteditor como já tenho algumas opções definidas, ao pressionar as teclas de atalho aparece-me uma janela com , $, $, $.
Esta funcionalidade é muito produtiva…
Imagino que isto seja complicado. Não sou programador… sou web designer com alguns conhecimentos de PHP.
Cumprimentos João.
Luís
Posted 17 Nov 2009 at 5:38 pm permalinkHumm… no meu post não aparecem as tags… Imagino que é por razões de segurança…
Posted 17 Nov 2009 at 5:40 pm permalinkOla Luís. Agradeço as sugestões mas como referi mais acima já não estou activo no desenvolvimento deste plugin.
Posted 17 Nov 2009 at 7:31 pm permalinkThank you so much for the Unicode Version Update. I use Notepad for scripting, Visual Basic programs, Office Automation and so much more.
This little program makes creating all the little common things that much easier.
Thank you very much!
Posted 19 Jan 2010 at 9:51 pm permalinkI am enjoying your QuickText plug-in for NP++. But can you please fix the multiline tab indentation. Please! Please!
Posted 21 Feb 2010 at 1:07 am permalinkQuickText is not being updated lately, so I took the initiative and started implementing the same functionality in WebEdit since v2.0 (see the announcements at http://sourceforge.net/projects/notepad-plus/forums/forum/482781/topic/1959856/index/page/4 ).
lbotao, you could check out WebEdit for the “wrapping tags” functionality. That’s what it was made for originally, though I’m not sure I understood your post very well (blame Google Translate).
BTW, big respect to the ETH. I’m writing WebEdit, as well as the rest of my plugins, in Oberon-2 – the language created by prof N. Wirth of ETH.
Posted 31 Mar 2010 at 12:01 pm permalinkThe latest version 0.0.2.1 released by owner4once at SourceForge does not work as gloriously as you versions did, Joao. First of all, it breaks Scintilla’s “word characters” setup, so after using the tag replacement once double-clicking an identifier does not only select the word, but also adjacent punctuation characters, parenthesis, special symbols, etc. Secondly, the plugin has grown almost 4 times in size for no apparent reason. Thirdly, it can no longer be compiled with VS2008 Express. Finally, the new default hotkey is Tab, which conflicts with indentation: you can’t indent multiple lines anymore.
I was a big fan of QuickText, I used it all the time. Unfortunately, due to lack of support from pwner2once, the fact that I could not contribute to QuickText using VS2008 Express and some other reasons I had to let it go. I added the “Replace Tag” function in the recent release of my WebEdit plugin, and that’s what I’m using now.
I wish pwner1once all the best in his efforts. Hopefully he’ll be able to eventually pick up where you left off.
Posted 06 Apr 2010 at 4:36 pm permalinkgreat plugin but are you ever going to fix the multiline tab problem?
Posted 01 Aug 2010 at 1:53 pm permalinkIt’s not likely, from my side. There was some developer that picked it up a few months ago, I don’t know if he has solved it.
Posted 01 Aug 2010 at 2:31 pm permalinkdo you know who the developer is? maybe a link to the site?
Posted 01 Aug 2010 at 6:20 pm permalinkYou can find him in the Quicktext’s SourceForge page:
http://sourceforge.net/users/pwner4once
Thanks for your interest, though.
Posted 01 Aug 2010 at 7:34 pm permalinkfix the multiline tab…. =P
1- settings > Shortcut Mapper…
Posted 17 Aug 2010 at 9:22 pm permalink2- Plugin Commands
3- “Replace Tag” > modify
4- trade for “INS” (example) > Close
Trackbacks & Pingbacks 4
[...] I just released version 0.2 of my QuickText plugin for Notepad++ v3.9. Hope you like it! QuickText right here. [...]
[...] 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. [...]
[...] o sublime text, hasta netbeans lo tiene. U_U Antes existía un plugin para notepad++ llamado quicktext que hacia eso pero debido a cambios en notepad++ el plugin es incompatible con versiones actuales, [...]
[...] Eğer kodlama için siz de benim gibi Notepad++ programını kullanıyorsanız, kodlama hızınızı muazzam derecede hızlandıracak bir eklenti yapılmış: Quicktext. [...]
Post a Comment