Lazarus

Miscellaneous => Suggestions => LCL => Topic started by: Leledumbo on January 14, 2008, 10:40:21 am

Title: About xxx completion
Post by: Leledumbo on January 14, 2008, 10:40:21 am
Word completion:
Why is it necessary to press Ctrl+W for word completion? Can't just the list appear as we type?

Brace (( - ), [ - ], { - }, (* - *)) completion:
Many IDE has this feature, I think Lazarus should implement it, too.

Block (Begin - end) completion:
In most C family language IDEs, there's a block ({ - }) completion. For example, in:
Code: [Select]

while(1)| // | indicates caret position

typing '{' would change the code to:
Code: [Select]

while(1){
  |
}

I think Lazarus can implement this, only in Pascal way. For example:
Code: [Select]

while true do begin|

a line break would change the code to:
Code: [Select]

while true do begin
  |
end;

It looks similar with brace completion, only using words instead of symbols.

I think these are easy to implement, but it needs understanding of code tools (i.e. for parsing).
Title: Re: About xxx completion
Post by: Edson on August 14, 2013, 05:13:08 am
Totally agree.
Title: Re: About xxx completion
Post by: Leledumbo on August 14, 2013, 04:09:21 pm
Err... this is a 5-year old post, and some (if not all) of the features are already implemented.
TinyPortal © 2005-2018