Lightning .app files not handled by IC2

Issue #898 resolved
Aidan Harding created an issue

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)

  1. Scott Wells repo owner

    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.

  2. Aidan Harding 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!

  3. Log in to comment