Feature: Code completion should also complete/update const array definition
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
Best would be if FPC supported a different syntax for const arrays, so that you wouldn't need to define upper bound for it. I guess it will not happed soon.
So, next best is if code completion in Lazarus (Crtl-Shift-C) completes the array definition by counting its elements, or updates the definition if number of elements has changed.
Text cursor would need to be anyway on the array (definition or elements) while using code completion shortcut.
The idea is originally from Seppo Suutarla.
Mantis conversion info:
- Mantis ID: 15548
- Version: 0.9.29 (SVN)