-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
This VS code plugin makes developing Coldbox apps so much better! Thank you for all the time you've spent working on this. One thing that I feel would be a great addition would be if we could "CTRL + Click" directly to a method in an injected property.
For example, let's say you have the following ColdBox handler:
component {
property name="userService" inject="UserService";
function index( event, rc, prc ) {
prc.user = userService.getById( 1 );
}
}
The idea would be if VS Code could understand that userService.getById() belongs to the UserService model and could take the user right to the definition of getById() in models/UserService.cfc. Unfortunately, this probably adds quite a bit of complexity because there's no way to know from the injection DSL where UserService lives unless the extension would also understand all of Coldbox's conventions. However, this would be pretty slick if it were possible.