Re: Hello!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Alexa wrote:

> 1) Did anybody already write some kind of preprocessor for eu 
> which supports shortcuts for keywords (like proc->procedure, 
> func->function, endp, endf, endw, endfor, endif, ...)?

EE has an autocomplete function, so if you type:

   if |

(where "|" represents the cursor) you will automatically get:

   if | then
   
   end if

and so on. pressing <Enter> will move you to the next line, properly 
indenting, and leaving the "then" on the prior line.

   if someTest() then
      |
   end if

It wouldn't be that hard to make "seq" autocomplete to "sequence", but you're 
probably better off redefining "sequence" as "seq". Personally, I had 
redefined "integer" as "int".

This feature is also available in Judith's IDE, although the editor isn't as 
complete as the one in EE. However, Judith's IDE has cool "intellihints", or 
whatever nonsense the Microsoft marketers call those things. So if you type a 
routine name:

   bitBlt( |

you'll get a nice popup showing you the arguments that the routine takes.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu