Skip to content

Commit

Permalink
update todo
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Oct 18, 2009
1 parent 40a336f commit 506e1a2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions TODO
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ x built-in function search
ORZ->do_so ORZ->do_so


* complete function name from module exported function * complete function name from module exported function
* should support moose 'extends' statement * support moose 'extends' statement
* should support moose 'has' statement * support moose 'has' statement
* should support moose '->meta' statement * support moose '->meta' statement
* support class::accessor
* support $self->{hashes}
parse something like $self->{ \w+ } from class
2 changes: 1 addition & 1 deletion plugin/perl-completion.vim
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ fun! g:PLCompletionWindow.do_complete()
startinsert startinsert
call cursor( line('.') , col('$') - 1 ) call cursor( line('.') , col('$') - 1 )
else else
call setline( line('.') , getline('.') . entry . '(' ) call setline( line('.') , getline('.') . entry )
startinsert startinsert
call cursor( line('.') , col('$') ) call cursor( line('.') , col('$') )
endif endif
Expand Down
2 changes: 1 addition & 1 deletion test-case/perl-completion.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub translate_ticket_state {
$class->translate_ticket_state() $class->translate_ticket_state()
$ticket-> $ticket->
Params::Validate-> Params::Validate->
Jifty-> Jifty->handler
Jifty::DBI::Record-> Jifty::DBI::Record->




Expand Down
2 changes: 1 addition & 1 deletion utils/parse_moose_accessor.pl
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
my @types = qw(Item Undef Defined Bool Value Ref Str Num Int ScalarRef CodeRef RegexpRef GlobRef FileHandle Object Role ClassName RoleName); my @types = qw(Item Undef Defined Bool Value Ref Str Num Int ScalarRef CodeRef RegexpRef GlobRef FileHandle Object Role ClassName RoleName);


# XXX: # XXX:
#
# should skip basic data types: Str , Int , Hash ... etc # should skip basic data types: Str , Int , Hash ... etc

my $file = shift; my $file = shift;
my $d = PPI::Document->new( $file ); my $d = PPI::Document->new( $file );


Expand Down

0 comments on commit 506e1a2

Please sign in to comment.