Tiny performance trick

Posted by ksv on 13-Jan-2010 06:03

I've had several serious problems with OEA performance I have already told about. But the most annoying one is typing either " or { - it hangs the editor on some files for a minute or so (the ABL parser parses the code for its highlighting). Despairing to find any solution which would improve the behavior I suddenly discovered that ABL templates (Preferences / OpenEdge Architect / Editor / Templates) might help me.

I created two templates

` "{$cursor}"

~ {{$cursor}}

The first one allows me to insert an empty constant string by pressing ` and the second one - a pair of braces by pressing ~ respectively.

I must admit it's incredibly convenient from performance point of view but it bears some problems with memorizing it.

All Replies

Posted by kevin_saunders on 13-Jan-2010 07:13

Hi Sergey,

Excellent idea, thanks. This will help a lot..

Posted by Admin on 14-Jan-2010 06:35

I also had the same problem.

I created a template for insertion of comments:

Example

/ * $ (Cursor) * /

Posted by Admin on 14-Jan-2010 06:48

Add ${DATE} and your name to the template and you've got mine.

This thread is closed