<?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>nRF Connect Example Function &amp;quot;Go to Definition&amp;quot; returns &amp;quot;No definition found... &amp;quot; in VS Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88031/nrf-connect-example-function-go-to-definition-returns-no-definition-found-in-vs-code</link><description>Hi, 
 I started using nRF Connect SDK in VS Code recently. Everything works well, start a new Application, configure a new board, build, and flash. 
 While I found &amp;quot;Go to Definition&amp;quot; by right click on the function name or Macro always return &amp;quot;No definition</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 May 2022 12:26:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88031/nrf-connect-example-function-go-to-definition-returns-no-definition-found-in-vs-code" /><item><title>RE: nRF Connect Example Function "Go to Definition" returns "No definition found... " in VS Code</title><link>https://devzone.nordicsemi.com/thread/368834?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 12:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a379ffaa-7034-4160-86e5-425b353126df</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have noticed that in your provided screenshot, below &amp;quot;IntelliSenseMode&amp;quot;, you should have &amp;quot;ConfigurationProvider&amp;quot;:&amp;quot;nrf-connect&amp;quot;&lt;br /&gt;You can use CTRL+SHIFT+P and &amp;quot;C/C++ Change Configuration Provider&amp;quot; to change your configuration provider.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Example Function "Go to Definition" returns "No definition found... " in VS Code</title><link>https://devzone.nordicsemi.com/thread/368800?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 10:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ab59de-d489-4389-b04e-b2bfca16eda6</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am glad that now the problem is not present anymore.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Example Function "Go to Definition" returns "No definition found... " in VS Code</title><link>https://devzone.nordicsemi.com/thread/368649?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 14:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43bf0f7f-6681-428a-8133-1e1f24e32ce4</guid><dc:creator>landing</dc:creator><description>&lt;p&gt;Hi Dejan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just started a new VSCode window and created a new application in a brand new folder.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &amp;quot;Go to Definition&amp;quot; feature works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t see any difference in the settings, include the zephyr path in the same way,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/800x300/__key/communityserver-discussions-components-files/4/pastedimage1652968697578v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Not sure what&amp;#39;s the reason behind. It might be something related to &amp;quot;Workspace&amp;quot;.&amp;nbsp; Let me know if you have something to share.&amp;nbsp;Thanks for your help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Ji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Example Function "Go to Definition" returns "No definition found... " in VS Code</title><link>https://devzone.nordicsemi.com/thread/368522?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 07:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28789251-b133-43c4-b728-2f53c29fa55b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="landing"]I can create a C project with multiple files and use “Go to definition&amp;quot; to traverse among the files.&amp;nbsp;[/quote]
&lt;p&gt;&amp;quot;Go To Definition&amp;quot; did not originally work. Does &amp;quot;Go To Definition&amp;quot; work now?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="landing"]For the command. &amp;quot;Ctr + Shift + p&amp;quot; and type &amp;quot;nRF Connect: Add nRF Connect SDK to Workspace&amp;quot;, afterwards, I can see it in the Command list.&amp;nbsp;[/quote]
&lt;p&gt;What do you refer to as Command List? Can you show the Command List with it? It seems you uploaded something, probably an image. However, I am not able to see it. Could you reupload it?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="landing"]I tried going through the&amp;nbsp;VS code &amp;quot;Workspace&amp;quot;&amp;nbsp;and add all the &amp;quot;zephyr&amp;quot;, SDK version &amp;quot;v1.9.1&amp;quot; folders to the &amp;quot;Nordic_App.code-workspace&amp;quot;[/quote]
&lt;p&gt;Could you please show this?&amp;nbsp; Where is&lt;span&gt;&amp;nbsp;&amp;quot;Nordic_App.code-workspace&amp;quot; located? How did you add mentioned folders?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Example Function "Go to Definition" returns "No definition found... " in VS Code</title><link>https://devzone.nordicsemi.com/thread/368488?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 02:37:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daa0f004-123f-4c9f-9767-4a3be24b913c</guid><dc:creator>landing</dc:creator><description>&lt;p&gt;Thanks Dejan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I installed C/C++ extension.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can create a C project with multiple files and use &amp;ldquo;Go to definition&amp;quot; to traverse among the files.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the command. &amp;quot;Ctr + Shift + p&amp;quot; and type &amp;quot;nRF Connect: Add nRF Connect SDK to Workspace&amp;quot;, afterwards, I can see it in the Command list.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-components-multipleuploadfilemanager/59b4ccc4_2D00_d06b_2D00_4aa6_2D00_b042_2D00_383e410537a6-102962-complete/pastedimage1652902720094v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to VS Code, not sure does it mean the command has been excuted, please recommend.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I followed &amp;quot;&lt;a class="yt-simple-endpoint style-scope yt-formatted-string" dir="auto" href="https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl"&gt;nRF Connect for VS Code tutorials&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=2cv_jjqk5hg&amp;amp;list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl"&gt;https://www.youtube.com/watch?v=2cv_jjqk5hg&amp;amp;list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried going through the&amp;nbsp;VS code &amp;quot;Workspace&amp;quot;&amp;nbsp;and add all the &amp;quot;zephyr&amp;quot;, SDK version &amp;quot;v1.9.1&amp;quot; folders to the &amp;quot;Nordic_App.code-workspace&amp;quot;&lt;/p&gt;
&lt;p&gt;It does not work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think it&amp;#39;s just a &amp;quot;Path&amp;quot; setting problem.&amp;nbsp;I like the VS Code environment and don&amp;#39;t want go back to SES, hopefully you can give me some guide to work it out, thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Ji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Example Function "Go to Definition" returns "No definition found... " in VS Code</title><link>https://devzone.nordicsemi.com/thread/368415?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 14:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62214798-c883-4648-902c-f22a81d8f9a7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You can find more information about VS Code workspaces&amp;nbsp;&lt;a href="https://code.visualstudio.com/docs/editor/workspaces"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Have you installed C/C++ extension?&lt;br /&gt;&lt;br /&gt;Could you provide more information on how you invoked the command &amp;quot;Add nRF Connect SDK to Workspace&amp;quot;? What was the content of your workspace before the command and what is the content of the current workspace (after you run the command)?&lt;br /&gt;&lt;br /&gt;You could use File -&amp;gt; Add Folder to Workspace to add your NCS folder to workspace..&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>