<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VS Code intellisense not finding kconfig options</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127666/vs-code-intellisense-not-finding-kconfig-options</link><description>Something seems to have broken in my VSC and/or Nordic extensions. Intellisense seems to be working for code, but cannot resolve any of my custom kconfig options. 
 I use some boolean kconfig CONFIG_WHATEVER along with some #if defined(CONFIG_WHATEVER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Apr 2026 18:34:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127666/vs-code-intellisense-not-finding-kconfig-options" /><item><title>RE: VS Code intellisense not finding kconfig options</title><link>https://devzone.nordicsemi.com/thread/564660?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 18:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18ed3463-8e29-4a9b-a26e-bcca37b8c529</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;Okaaay thanks.. Yes I think I get something similar. My builds are sysbuild: if I click MYBUILD in the applications window then it doesn&amp;#39;t work but if I click like so:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;MYBUILD sysbuild &amp;lt;- click here not OK
|
|- myapp &amp;lt;- click here OK
|-mcuboot&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;then it works. That doesn&amp;#39;t really explain why the copy of the project works though...?&lt;/p&gt;
&lt;p&gt;I noticed also that I get this error in the status bar:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2026_2D00_04_2D00_08-191953.png" /&gt;&lt;/p&gt;
&lt;p&gt;I may well have messed up my extensions anyway. I was experimenting disabling extensions because starting up was SLOW (&amp;gt;30 sec waiting). So maybe I have something wrong here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code intellisense not finding kconfig options</title><link>https://devzone.nordicsemi.com/thread/564656?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 16:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd6f875-89f1-4816-9ec2-12939ccf9188</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Same problem here when using sysbuild.&lt;/p&gt;
&lt;p&gt;Fix is relatively simple: Select the application build folder (example: MyProject/build/MyProject) in &amp;quot;Applications&amp;quot; tab. This allows the extension to read correct .config variables.&lt;/p&gt;
&lt;p&gt;The bad thing here is that it breaks Segger Ozone debug support, which wants the &amp;quot;build&amp;quot; folder to be active in order to work correctly. Could be a problem with my &lt;em&gt;very&lt;/em&gt; custom cmake scripts, though.&lt;/p&gt;
&lt;p&gt;Note that I am still on the oldstable nrf connect extension version (2026.1.1327) so YMMV.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code intellisense not finding kconfig options</title><link>https://devzone.nordicsemi.com/thread/564646?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 14:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f8aa295-6931-44b2-a346-b6aa3070e9cb</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;No, it&amp;#39;s also the same for other build configurations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code intellisense not finding kconfig options</title><link>https://devzone.nordicsemi.com/thread/564644?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 13:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e98bc513-e862-45f7-8b5d-87df15ceaeaf</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Nick_RA"]I can only guess there is a cached file somewhere making it go wrong?[/quote]
&lt;p&gt;Looks like it yes, does manually delete the build folder work?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code intellisense not finding kconfig options</title><link>https://devzone.nordicsemi.com/thread/564642?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2026 13:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f5ac2b8-7e4a-4179-ab3c-4303fcc57122</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;Probably not. The really weird thing is I recently made a copy of the entire project folder in order to do some hacking about to troubleshoot a subtle power consumption problem I had, and this copy works OK!&lt;/p&gt;
&lt;p&gt;I have tried cleaning the build configuration and doing a pristine build but that makes no difference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the &amp;quot;good&amp;quot; copy I can hover over for example CONFIG_MY_CUSTOM_FOO and it looks up the value. On the &amp;quot;bad&amp;quot; copy it doesn&amp;#39;t. Yet if I right-click and select &amp;quot;go to definition&amp;quot; on the bad copy it jumps to&amp;nbsp; \include\generated\zephyr\autoconf.h and shows &amp;quot;1&amp;quot; if configured.&lt;/p&gt;
&lt;p&gt;The contents of the ./vscode folder c_cpp_properties.json and settings.json match between the two.&lt;/p&gt;
&lt;p&gt;I can only guess there is a cached file somewhere making it go wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code intellisense not finding kconfig options</title><link>https://devzone.nordicsemi.com/thread/564542?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2026 14:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee77cc0c-3c5c-40fe-9ae6-dfccc21f7c35</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Any way we can recreate it here?&lt;/p&gt;
&lt;p&gt;Normally I would suggest that you do a pristine build and that you have the specific build active in the APPLICATIONS window in nRF Connect extension in VS code.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>