Namespace aura is not bound

223 views
Skip to first unread message

v...@kinooko.org

unread,
Aug 25, 2017, 2:48:29 PM8/25/17
to Illuminated Cloud Q&A
Hi,

I am pretty new to Illuminated cloud, but it seem's I've installed it almost right. I've loaded metadata and all the code from my development org. I can create lightning components and upload it to SF with intellij IDEA.
But when I edit *.cmp files I see all <aura:...> tags highlighted with red saying "Namespace aura is not defined". If I try to define it, I get an attribute
xmlns:aura="" and the URL for it is not specified anywhere, so I think it is not the right way to fix that.
Need to say that other namespaces like <ui:...> are not defined too. So I can't benefit from features like autocompletion of attributes. Please help.

Scott

unread,
Aug 25, 2017, 4:29:13 PM8/25/17
to Illuminated Cloud Q&A
How did you install the plugin?  Generally those are automatically bound by the plugin installation based on included XSDs.  Do you mind uninstalling the plugin as-installed and reinstalling via Settings>Plugins>Browse repositories to see if that resolves it?  Please let me know the outcome either way.

Regards,
Scott Wells

Студия КиноОко

unread,
Aug 26, 2017, 1:05:23 PM8/26/17
to Illuminated Cloud Q&A
Hi Scott,

Thank you for your attention... actually the first install was made the standard way with repository. But I've retried to uninstall/install back. And recreated project from scratch connecting the same org... I've loaded all the metadata automatically again and result is the same.
I've grabbed some idea logs of plugin reinstall process, maybe it  has anything interesting...

Here is what I get at the screen...

idea.log

Scott

unread,
Aug 26, 2017, 1:31:08 PM8/26/17
to Illuminated Cloud Q&A
Okay.  If you don't mind, please add the following under Help>Debug Log Settings, close and reopen the project, navigate to a Lightning markup file, and send me the resulting idea.log:

#com.illuminatedcloud.intellij.completion.EmbeddedMarkupUtil
#com.illuminatedcloud.intellij.completion.EmbeddedMarkupFileNsInfoProvider

Here's what I see in the log, and I'd like to compare it to what comes up in your log:

2017-08-26 12:26:53,864 [3198212]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace lightning at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/lightning.xsd 
2017-08-26 12:26:54,004 [3198352]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace design at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/design.xsd 
2017-08-26 12:26:54,054 [3198402]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace force at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/force.xsd 
2017-08-26 12:26:54,109 [3198457]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace ltng at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/ltng.xsd 
2017-08-26 12:26:54,335 [3198683]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace ui at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/ui.xsd 
2017-08-26 12:26:54,995 [3199343]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace forceCommunity at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/forceCommunity.xsd 
2017-08-26 12:26:55,062 [3199410]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace sfdc at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/sfdc.xsd 
2017-08-26 12:26:55,112 [3199460]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace auraStorage at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/auraStorage.xsd 
2017-08-26 12:26:55,162 [3199510]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace forceChatter at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/forceChatter.xsd 
2017-08-26 12:26:55,195 [3199543]  DEBUG - .completion.EmbeddedMarkupUtil - Found XSD for namespace aura at jar:file:/.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/aura.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace lightning at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/lightning.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace ltng at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/ltng.xsd 
2017-08-26 12:26:55,262 [3199610]   WARN - beddedMarkupFileNsInfoProvider - No XSD found for namespace c 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace ui at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/ui.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace auraStorage at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/auraStorage.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace forceChatter at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/forceChatter.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace forceCommunity at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/forceCommunity.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace design at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/design.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace sfdc at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/sfdc.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace force at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/force.xsd 
2017-08-26 12:26:55,262 [3199610]   INFO - beddedMarkupFileNsInfoProvider - Found XSD for namespace aura at jar:file://.../plugins/IlluminatedCloud/lib/IlluminatedCloud.jar!/xsd/lightning/aura.xsd 

Regards,
Scott
Reply all
Reply to author
Forward
0 new messages