jcberquist / sublimetext-cfml

CFML (ColdFusion and Lucee) package for Sublime Text
MIT License
115 stars 24 forks source link

Add support for super keyword #93

Closed mjhagen closed 7 years ago

mjhagen commented 7 years ago

Would it be possible to have function auto complete/insight for functions residing in the parent component(s)?

So have this auto-complete:

super.myFunc();

When the component mentioned in extends is available.

jcberquist commented 7 years ago

@mjhagen: If I understand you, this should be working already. The limitation is that the parent component has to have been indexed. Perhaps in your case it wasn't?

mjhagen commented 7 years ago

Oh, it is? It wasn't for a cfc that had other insight working. Let me double check.

Aah! Right you are :) The super cfc was found using f1 I guess through the defined mappings, but it wasn't indexed using the cfc_folders setting.

Thanks! (Closing this now.)