Unsubscribed Content

358 views
Skip to first unread message

wendell frohwein

unread,
Oct 29, 2020, 11:20:24 AM10/29/20
to Force.com Development General Discussion
I have been using illuminated cloud 2 for some time at work. Recently I created a new project that is not under git control and each time i save a new apex class i added, I get the popup message "Unsubscribed Content" Apex class BlahBlah is  not part of the subscription for module BlehBlah. Do you want to deploy it anyways?

So i go to that class, right click, go to illuminated cloud, click on "Add to metadata subscription", then go on with my life.

If i save the file again, the message is back again. It's super annoying. Is there any way to silence this message? I even tried opening the package.xml and adding the class into it, but it still nags me.

Thank you.

Scott Wells

unread,
Oct 29, 2020, 11:25:15 AM10/29/20
to Force.com Development General Discussion, wfro...@gmail.com
Hi. My guess is that either your source roots are misconfigured or your metadata subscription is configured in a way that's not what you expect. I could provide more specific guidance after looking at your project's .iml file. Do you mind sending that to sup...@illuminatedcloud.com for review?

Regards,
Scott Wells

wendell frohwein

unread,
Oct 29, 2020, 11:30:31 AM10/29/20
to Force.com Development General Discussion, sc...@illuminatedcloud.com, wendell frohwein
Absolutely. Here it is:

<?xml version="1.0" encoding="UTF-8"?>
<module type="IlluminatedCloud" version="4">
<component name="FacetManager">
<facet type="IlluminatedCloud" name="Illuminated Cloud">
<configuration>
<option name="connectionName" value="COMPANY_Inspect" />
<option name="connectionType" value="MDAPI" />
<option name="defaultSourceRootUrl" value="file://$MODULE_DIR$/src" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="IlluminatedCloud (COMPANY_Inspect/COMPANY_Inspect)" jdkType="IlluminatedCloud" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

Trieste LaPorte

unread,
Jan 12, 2021, 11:57:18 AM1/12/21
to Force.com Development General Discussion, wfro...@gmail.com, sc...@illuminatedcloud.com
I've been using the tool for many years as well.  I'm also seeing this lately.  I've rebuilt projects, used old projects, it doesn't seem to matter.  I can create a new class/thing, add to subscription.  When I reload IntelliJ the content will not be subscribed.  I can re-add it to the subscription but it loses the sub every time I restart.  If I go into the Project Properties and subscribe to the new class through the module configuration it 'sticks' - but not when adding it through the context menus or popup dialogs.

When I create a new project and let IC2 do its thing to subscribe to metadata, it will lose the entire subscription as well, causing a 'project problem' dialog every time I start - until I edit the module and subscribe that way.

Also of note, I can see that the SDK is not properly set when creating new projects, and I have to set it myself.

Source root and content roots look correct, but I've rebuilt them as well and the issue persists.

I can record a video and get debugging if needed.  

Chuan Sun

unread,
Mar 18, 2025, 10:19:16 AMMar 18
to Force.com Development General Discussion, Trieste LaPorte, wfro...@gmail.com, sc...@illuminatedcloud.com
I would love to have the option to disable this popup, that's the only issue I have now that I have to click Yes every time I deploy, even if the remember for this deployment works, there are too many classes to remember. and the issue is we are not using the subscribe XML at all.
Screenshot 2025-03-18 at 13.40.42.png

Scott Wells

unread,
Mar 18, 2025, 11:02:20 AMMar 18
to Force.com Development General Discussion, Chuan Sun
Note that you must have some type of metadata subscription, but you can use a Local Files metadata subscription that is based on the project's configured source roots and not need to perform any kind of additional subscription maintenance. As long as your metadata is under a configured source root, you will not see the Unsubscribed Content warning.

Please let me know if that doesn't help.

Regards,
Scott Wells

Chuan Sun

unread,
Mar 24, 2025, 8:58:18 AMMar 24
to Force.com Development General Discussion, Scott Wells, Chuan Sun
Hi Scott,

thanks for the reply! I just saw your message.
I see what you mean, changing the Subscription to Local Files resolved the issue! It was using the Package.xml which is empty.
Screenshot 2025-03-24 at 13.56.01.png
Thank you Scott!

Best,
Chuan
Reply all
Reply to author
Forward
0 new messages