.app files are not supported anymore
Hi, it seems like aura application .app files are not supported anymore. The color scheme is not applied at all, there is no possibility to navigate using f4 shortcut to elements included in .app files, code completion as well as integrated API documentation are out of order. I didn’t notice such an inconvenience with any other metadata type. My colleague faces the same issue. She uses Intellij Comunity + IC2 while my configuration is Webstorm with IC2.
Comments (12)
-
repo owner -
repo owner - changed status to resolved
I'm going to resolve this, but if the provided steps do not fix the issue for you, please reopen and let me know so I can help figure out what's going on.
-
reporter @Scott Wells It works Thanks!
-
repo owner Glad that did it! Sorry for the temporary issue, but unfortunately it's the nature of the beast given the overloaded file extension.
-
reporter @Scott Wells One more question. Do I have to repeat that operation every day? Yesterday, when the fix helped, I noticed that I had to apply it for each project but after the restart of IDE, everything was fine. Unfortunately, today morning code in aura .app was again grayed out and I had to repeat the fix, although I already did it yesterday for the specific project.
-
repo owner - changed status to open
No, you shouldn't have to do that repeatedly. Reopening so I can investigate.
-
repo owner I've confirmed that there's something wrong happening here, and it seems that it's a recent regression in the way that the JetBrains IDEs invoke these dynamic file type detectors. I'm speaking with JetBrains about it now. Hopefully there will be some kind of workaround until a true fix can be produced. I'll post updates here as they're available.
-
repo owner Yup, seems quite broken. JetBrains has asked me to file a bug, and they've provided what seems to be a decent workaround for the interim. I'll include it in the next build.
-
repo owner Bug that was filed against JetBrains if you're curious:
-
reporter Thanks for taking care of it so quickly! I'm impressed and of course, looking forward to the next build.
-
repo owner - changed status to resolved
Delivered in 2.1.2.1.
-
repo owner - changed component to Aura
- Log in to comment
There's no distinct file type association for
*.app
because Salesforce overloaded that extension for bothCustomApplication
(in metadata format projects) and Aura application bundles. As a result, IC derives the file type dynamically. This can get into a weird state if a concrete file type association is created for that extension. The workaround is to force IC to re-detect the file type associations. Try the following and let me know if it doesn't work for you:*.app
as a registered pattern.*.app
as a registered pattern.That should fix it. It's unfortunate that this is required, but the overloading of that extension requires it.