Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 300 forks source link

Methods autocompletion not supported for Perl DBI #2334

Open ANSI-C opened 7 years ago

ANSI-C commented 7 years ago

Short Summary

Perl DBI objects dont get autocompletion feature.

Steps to Reproduce

my $dh = DBI->connect... my $sh = $dh->...

Expected results

Komodo should show a list of availale DBI methods

Actual results

nothing happens

Platform Information

Komodo Edit or IDE? IDE Komodo Version? 10.1.4 Operating System (and version)? Win 8.1

Additional Information

autocompletion works for other libraries.

mitchell-as commented 7 years ago

Hi, I cannot use DBI the way you describe:

use DBI;

my $dh->

does not give "connect" as a possible completion. It only gives things like "installed_drivers" and "installed_methods".

I don't know much about Perl, so if I'm leaving something out, please let me know.

ANSI-C commented 7 years ago

Hi, perl DBI is a little peculiar, one can say that connect method is actually the default constructor for this "class", you can regard connect as DBI "new" method. I don't know Komodo IDE internals, but probably your Perl guys can figure out how to get all DBI exported symbols.

mitchell-as commented 7 years ago

Note to self: the Perl stdlib catalog's DBI blob does have a connect method that does not appear to be included in the default DBI completions. Need to investigate that.