| Version 3 (modified by szabgab, 2 years ago) (diff) |
|---|
Description
Also called Suggest & complete
Padre knows two types of source code auto-complete:
- Manual using a hotkey (Ctrl-P)
- Automatically while typing
Both of them are configurable using the Preferences? dialog.
Only known keys of this hash are suggested within hash brackets.
see also: #67
Test
- Open any Perl source file
- begin typing a variable name used in that file
- Manual: Press Ctrl-P, Automatic: No need to press anything
- A dropdown list should pop up near the cursor suggesting the rest of the variable name
TODO
This feature considers the local file as source for suggestions. A perltags file is used if the project has one.
- Suggest from overall word list if a hash has no known keys
- Enable creation of perltags files using the UI or automatically (the menu item from the Perl menu might not work properly)
- Support references ($www = WWW::Mechanize->new(); type $www-> to show a list of methods; type $www->{ to show a list of useable keys)
- Use all words from a project within all files of this project (configurable!!!)
