Lightning components do not Autocomplete {!c.xxxxx}
Specifically when completing the onclick of a lightning:button and in almost all other scenarios, the autocomplete does not suggest the c.[function] nor does the goto reference (CMD-B) work
Comments (7)
-
repo owner -
repo owner -
assigned issue to
- changed version to 1.7.9.9
-
assigned issue to
-
Maybe related to this, I've noticed in IC2 2.0.1.0 on Mac OSX in WebStorm that when you are in a Lightning Component controller/helper file that the
v.[attribute]
is not autocompleting. Has that always been the case because I want to think that this did autocomplete when I was on Windows in earlier versions of the plugin. Autocompleting of thev.[attribute]
works fine when I'm in the.cmp
file, just nothing is showing up when I'm in the Controller.js or Helper.js files.For example,
var selectedIndex = component.get( 'v.s' );
after typingv.
orv.s
nothing is autocompleting even though I have an attribute namedselectedIndex
in the.cmp
file. -
repo owner Yeah, these are just omissions in the current Lightning completion/reference injection stuff. I'm planning to make a full pass and get all of these addressed once I wrap up a few IC2 code inspection false negatives.
-
repo owner - changed component to Lightning (Aura)
-
repo owner - changed status to resolved
Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.
-
repo owner - changed component to Aura
- Log in to comment
Yeah, there are still some missing completions and reference injections in Lightning that I hope to address very soon. Thanks for putting this concretely on my radar.