Lightning .app files not handled by IC2
Issue #898
resolved
Lightning Application files (.app) aren't handled by IC2. IntelliJ suggests that I should install a plugin for them.
I'm pretty sure that they worked in IC1, and should be treated much like .cmp files.
Comments (6)
-
repo owner -
reporter You were right, not a bug at all. It wasn't in the file types, but refreshing the caches has worked for me.
Sorry about using your bug tracker for a support issue!
-
reporter - changed status to resolved
As per comment, wasn't a bug. Just needed to invalidate the IntelliJ cache and restart.
-
repo owner Glad that helped and not a problem at all!
-
repo owner - changed component to Lightning (Aura)
-
repo owner - changed component to Aura
- Log in to comment
Aidan, the way that IC (both 1 and 2) handles
.app
files is a little different from how it handles.cmp
files. This is because Salesforce uses that extension for both custom applications and Lightning applications, and the editor used is different based on which is opened. This is more similar to how.resource
and.email
files are handled in that the file type association is dynamic. Can you verify that the.app
extension hasn't become associated with another file type explicitly under Settings>Editor>Files Types? Worst case scenario you might use File>Invalidate Caches / Restart to tell IntelliJ IDEA to reset its cached dynamic file type associations (unfortunately I haven't found a way to do this selectively so you have to rebuild all caches) and see if that resolves the issue. If it doesn't, just let me know and I'll see if I can figure out what's going on.