Menu

#27 Auto Completion

open
None
1
2014-05-09
2014-05-09
No

I think it would be very nice having an auto completion feature on the "Code" section of IsTool.
This auto completion could bring the following:

  • Keywords: like function and begin

  • Support functions: like FileExists and ParamCount

  • Event functions: like NextButtonClick and CurInstallProgressChanged. For this type of completion when the user selects the function on the list, the auto completion feature could insert the function body on the code. For example:

**function** NextButtonClick(CurPageID: **Integer**): **Boolean**;
**begin**
    *{$cursor}*
**end**;



- User functions: functions defined by the user could be listed so that they can be easily inserted on other sections of the code


- Compiler constants: like {userappdata} and {pf}


- Support classes: like TNewButton and TComponent

A good start is to take a look at ANTLR. It is a parser generator with suport to C/C++.
http://www.antlr.org/

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.