Changes between Version 4 and Version 5 of Features/Autocomplete


Ignore:
Timestamp:
Mar 27, 2011, 9:33:22 AM (4 years ago)
Author:
szabgab
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Features/Autocomplete

    v4 v5  
    1 == Description == 
     1= Autocompletition of variables, functions and methods = 
    22 
    33Also called Suggest & complete 
    44 
    55Padre knows two types of source code auto-complete: 
    6  * Manual using a hotkey (Ctrl-P) 
     6 * Manual '''Edit -> Autocomplete''' or pressing the hotkey '''Ctrl-Space''' 
    77 * Automatically while typing 
    88 
    9 Both of them are configurable using the [wiki:Preferences] dialog. 
     9Both of them are configurable using the [wiki:Features/PreferenceSystem Preference System] '''Tools -> Preferences -> Perl Auto Complete''' 
     10 
     11Options: 
     12 
     13 * Autocomplete always while typing 
     14 * Autocomplete new methods in packages 
     15 * Autocomplete new subroutines in scripts 
     16 * Minimum length of suggestions: 3 
     17 * Maximum number of suggestions: 20 
     18 * Minimum characters for autocompletition: 1 
    1019 
    1120Only known keys of this hash are suggested within hash brackets. 
     
    2231 * A dropdown list should pop up near the cursor suggesting the rest of the variable name 
    2332 
     33== Implementation == 
     34 
     35Each document class should implement its own method called 'autocomplete'. For Perl here are the implementations: 
     36 
     37 * [http://padre.perlide.org/trac/browser/trunk/Padre/lib/Padre/Document/Perl.pm Padre::Document::Perl] 
     38 * [http://padre.perlide.org/trac/browser/trunk/Padre/lib/Padre/Document/Perl/Autocomplete.pm Padre::Document::Perl::Autocomplete] 
     39 
    2440== TODO == 
    2541