jcberquist / sublimetext-cfml

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

[Feature request] Have ORM object creation functions use indexed CFCs #50

Closed mjhagen closed 8 years ago

mjhagen commented 8 years ago

This is a request to have this:

var test3 = entityLoadByPK( "foo", "someId" );
var test4 = entityLoad( "foo", {}, true );
var test5 = entityNew( "foo" );

provide the same functionality as this:

var test1 = new root.model.foo();
var test2 = createObject( "component", "root.model.foo" );

So, after calling any of the first functions, it should provide auto-completion and f1 help for those variables.

Things I think might make this complicated

jcberquist commented 8 years ago

Sounds good. I actually think this is very doable. We will see if I am right :grinning:

jcberquist commented 8 years ago

Hey @mjhagen, I am pushing out a release that supposedly supports this. Please test it for me and let me know how it goes!

mjhagen commented 8 years ago

Cool! Will do and I'll let ya know.

jcberquist commented 8 years ago

I am going to close this now, but please still comment if you do find problems.