Anyone who currently uses PSpad or notepad++ for their text editor with EE?
After just installing the current version and recording a macro by simply hitting record, pasting in an EE tag like:
{exp:weblog:entries weblog=“news_articles” limit=“1”} closing tag {/exp:weblog:entries}
Then hit Stop Recording, and Save current Macro.
You then have the option to name the Macro such as expTag, and then define a keyboard shortcut right there.
Now in the text editor just hitting Ctrl + E and it pastes in that tag as above.
It might not be too tough to transpose the entire Textmate bundle then by recording each as a Macro. Running under user defined functions hopefully the keyboard shortcuts wouldn’t conflict with other shortcuts for the program.
I just figured out I think it was notepad++ not PSpad, I had used to create the macros, liking notepad++ then.
I must be scatter brained, I’m confusing notepad++ docs and PSpad, hold the phones, narrowing down the choices then, both have possibilities.
On the last few days of my E text Editor trial, and the textmate bundle functionality is going to be hard to match anyways. A wise man once said about a thousand times, ya never know.
Some time ago I’ve been working on a “user defined language” for Notepad++ but I never had the chance to finish it as much as I would like. I’m happy to post the data I’ve got thus far, but I’m not sure if it’s the best way to do it. I just started with the few manuals that are at available.
Some time ago I’ve been working on a “user defined language” for Notepad++ but I never had the chance to finish it as much as I would like. I’m happy to post the data I’ve got thus far, but I’m not sure if it’s the best way to do it. I just started with the few manuals that are at available.
I also started on something but haven’t really gotten it to a point where it can be useful. Ronny, if you want to post what you have (or PM/email it to me), I’ll combine the two and maybe add some more. Maybe we’ll end up with a useful language pack for Notepad++?
It’s also large and feels somewhat slow and kludgy to me. These are just personal impression, I’m sure, but I have liked Notepad++ for quite some time.
Seems like we have some windows users here
May I remind you that e-texteditor runs on windows and supports textmate bundles?
Thanks e-man, this would be your namesake editor then huh
I bit the bullet and got a working copy.
Still it will be interesting to check out some of these other free editors to see what they can do by way of custom code snippets, auto-complete, etc.
E-textEditor at $35 bucks is a pretty good deal.
ETE seems to hang up for a while on load, after that it seems to run fine, and it opens remote sites FTP, I was even able to point it directly to my templates folder, so I don’t have to view the entire web, that will save time.
Concerning notepad++ it seems to be a little tricky loading a user defined language xml file. I’ve used notepad++ forever as my default notepad. NP++ also has ftp abilities so it’s a repurposed coding toy.
May I remind you that e-texteditor runs on windows and supports textmate bundles?
Been there, done that! No comparison, I still call Notepad++ home
blues-èé - 27 November 2008 04:20 PM
Where does the userDefineLang.xml file go then?
The “userDefineLang.xml” file needs to be pasted in %appdata% or in Notepad++ installation directory. I usually keep all the files in it’s installation directory and use the same folder with my usb stick as well. It’s a great utility. Did I mentioned it was free (as in “free speech” and also as in “free beer”) too
May I remind you that e-texteditor runs on windows and supports textmate bundles?
Been there, done that! No comparison, I still call Notepad++ home
Hey, I respect that, the choice of editor is a deeply personal one. Was a BBEdit man myself for the longest time but switched to Textmate last year and haven’t looked back since… some shortcuts are so engrained now that I use them even in Word or Pages (where they don’t do squat of course!).
At last I’ve been able to find my xml-file and post it. Sorry for the delay, but I just got a new job and it’s pretty busy.
Just add the xml-file in the attached rar-file to your Notepad++/api folder and in Notepad++ you can select in “Language” the ExpressionEngin language for any “EE intellisense” you need. I called it ExpressionEngin (without the final E) because, if I remember correctly, there was a limit to the length you can use.
The annoying thing is that it will recognize already a lot of EE tags, but ignores any html tags. Perhaps they could be combined? Besides that I’m not sure how to combine this file with Cem Meric’s file.
Anyway, there’s enough knowledge here to get this thing working. At least there are still a whole lot of EE tags that could be added, I believe I finished most of the “exp:weblog” tags
Thanks Ronny I’ll give that one a whirl then, I wasn’t able to get Cem’s to work, as far as I could tell.
Did you have a chance to try using Cem’s file yet?
Cool, cool, that gives me a basic framework to help contribute now! Thanks Ronny and Mem.
I think the trick for using Ronny’s file was first go to notepad++ view | User Define Dialog…
IN the dialog box click Create New and name it the same as Ronny’s XML sheet ExpressionEngin.
Next go to the Program files folder for notepad++, for me it was:
C:\Program Files\Notepad++\plugins\APIs
And paste in Ronny’s file there, after you’ve created the dialogue for it.
Auto-completion should now work for everything in the xml sheet, styling is still another matter though.
No wait styling looks good, seems to be using the Ruby Blue theme fine
More to come then
This is starting to rock now.