Code Snippet Library

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Code Snippet Library

Postby juls » Mon Mar 07, 2005 6:09 pm

UltraEdit looks fantastic so far!

Just wondering: does UltraEdit have a code snippet library or something similar to store frequently used bits of code? Zend Studio has this and it is useful, but Zend is so slooooow... Used the evaluation for 30 days and it almost drove me mad. UltraEdit, on the other hand, is super fast! If there is not a code library in UltraEdit, is there a library that can integrate with UltraEdit.

Thanks
Juls
User avatar
juls
Newbie
 
Posts: 4
Joined: Mon Mar 07, 2005 12:00 am

Re: Code Snippet Library

Postby MrBillG » Mon Mar 07, 2005 8:02 pm

Hi Juls

UltraEdit has 50 templates!
Pull down menu "Advanced" --> "Display/Modify Templates..."

You can name the templates and the first 20 have keystrokes assigned to them. Alt-0 thur Alt-9 & Alt Shift 0 thur Alt Shift 9.

I'm thinking that's as close to snippet library as UE has.

In the Help file lookup "Display/Modify Templates command"

Lets see what others come up with.
User avatar
MrBillG
Advanced User
Advanced User
 
Posts: 65
Joined: Sat Aug 07, 2004 11:00 pm

Re: Code Snippet Library

Postby robomike » Tue Mar 08, 2005 9:10 am

I misuse the taglist for that. The original taglist is a simple textfile with its own syntax, and you can write own versions of this file, not containing html-tags, but code snippets. Even some regular expressions are possible in UE-syntax, for example "^p" for a line wrap, if you need snippets containing more than one line.

With a right click in the taglist, and then opening the dialogue and quitting it with "ok", the file will be checked, sorted and overwritten and also the taglist is actualized then.

I now use an own taglist for code snippets up to 10 lines, and with a count of more than 50 different in 5 groups without problems, and it works fine. But it's a bit of work, some more than copy'n paste, because of replacing line wraps with "^p", setting quotation marks and so on...

robomike
User avatar
robomike
Newbie
 
Posts: 4
Joined: Tue Mar 08, 2005 12:00 am

Re: Code Snippet Library

Postby juls » Wed Mar 09, 2005 10:03 am

Thanks for the replies!

I'm going to try both solutions right now.

- Juls
User avatar
juls
Newbie
 
Posts: 4
Joined: Mon Mar 07, 2005 12:00 am


Return to UltraEdit General Discussion