<?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>Can&amp;#39;t find includes in Visual Studio Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60228/can-t-find-includes-in-visual-studio-code</link><description>Hello! 
 I&amp;#39;ve got a small problem in Visual Studio Code for Windows, the intellisense can&amp;#39;t seem to find the nordic header files from the downloaded sdk. It compiles just fine, its the intellisense that is complaining. I&amp;#39;ve added the C/C++ extension to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Apr 2020 19:33:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60228/can-t-find-includes-in-visual-studio-code" /><item><title>RE: Can't find includes in Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/245089?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 19:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18af0956-43cd-42eb-a18a-5b2a060b6c28</guid><dc:creator>Lars Fagerbakke</dc:creator><description>&lt;p&gt;Thank you for your reply Jared!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve opened a folder and created a workspace in Visual Studio Code. I&amp;#39;m actually in&amp;nbsp;ble_app_blinky example folder where I created the workspace.&lt;/p&gt;
&lt;p&gt;But I got it working, i had&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="json"&gt;&amp;quot;${env:NRF_SDK}/components/**&amp;quot;&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;but adding&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="json"&gt;&amp;quot;${env:NRF_SDK}/components/softdevice/s132/headers&amp;quot;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;solves the problem. I thought components/** would do the trick, but maybe VSCode got confused and skipped them altogether since this file is in multiple folders? Strange. Intellisense is working now.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Follow up; whats the difference for the header files in&amp;nbsp;modules\nrfx folder and the softdevice folders?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't find includes in Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/245002?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 13:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41c08e63-6273-4ea6-ba21-77e37dc72275</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you open the whole project or just the file itself? Is VS able to open the file if you right-click and press &amp;quot;Go to definition&amp;quot;? I see that intellisense is indeed showing its error squiggles when a project is opened, but you should still be able to go to included files and definitions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>