Code completion of extended class of a helper fails
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When trying to complete the extended type of a class helper this fails with "Identifier not found".
Steps to reproduce:
Following code ("|" is the cursor position):
program thlp; {$mode objfpc} type TMyClass = class end; TMyClassHelper = class helper for TMy| begin end.
Now press Ctrl + Space (or whatever hotkey invokes code completion)
Expected result: TMy is completed to TMyClass
Actual result: IDE complains about missing identifier "TMy"
Additional information:
Same problem also occurs for record and type helpers.
Mantis conversion info:
- Mantis ID: 36814
- OS: Win64
- OS Build: NT 6.1 (7)
- Build: 62780
- Platform: x86_64
- Version: 2.1 (SVN)