<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87907/global-searching-in-nrf-connect-1-9-vs</link><description>The global search function does not find search terms that must be in the project. Under SES I could simply do a global search and instantly find the definition of an object. I have tried setting &amp;quot;files to include&amp;quot; to *.*, nothing in files to exclude</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 25 May 2022 08:33:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87907/global-searching-in-nrf-connect-1-9-vs" /><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/369455?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 08:33:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:329798cd-cdc2-4601-ac9b-3833c1e7be6f</guid><dc:creator>user91187</dc:creator><description>&lt;p&gt;So I think I found out where the confusion is from. The project you are referring to is the &lt;a href="https://github.com/NordicMatt/multi-NUS"&gt;Multi-NUS-Master example project&lt;/a&gt;, this is not part of the official &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main"&gt;nRF Connect SDK&lt;/a&gt;(&lt;strong&gt;NCS&lt;/strong&gt;).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Just to clear up what i meant in the previus comment:&amp;nbsp;&lt;br /&gt;I was thinking that you where using one of our sample in the SDK, so when you are using our nRF connect for desktop and the toolchain manager you select the tag you are on, I just used the latest.&amp;nbsp;&lt;br /&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653465478455v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Clicking on the Open in VS code will open the entire SDK directory in VS code, this is what I call the NCS folder since the path is often called &lt;strong&gt;C:\nsc\vX.X.X&lt;/strong&gt; , sorry for the confusion there.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;With VS code now open you can click on the search button or ctrl + shift +F and look for &lt;strong&gt;BT_UUID_VAL&lt;/strong&gt;&lt;br /&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653465710555v2.png" alt=" " /&gt;&lt;br /&gt;This is for tag v1.9.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Looks like the sample is built of rom the NCS v1.4.1&lt;br /&gt;As for the project you are working with, we would need to add it to the workspace if we want to search. Should be possible to unzip the project in the NCS v1.4.1 directory, could try nrf&amp;gt;samples&amp;gt;,&amp;nbsp;and we can add it with the nRF connect for VS code plugin.&amp;nbsp;&lt;br /&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653465957187v3.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Seems to work,&amp;nbsp;&lt;br /&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653467347821v4.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;I dont see a BT_UUID_NUS_VAL in the&amp;nbsp;Multi-NUS-Master example project.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Sorry for the misunderstanding hope this clears things up.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/369331?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 14:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b441c9-7f64-44b6-b711-37208fbf83bb</guid><dc:creator>user68828</dc:creator><description>&lt;p&gt;I think we&amp;#39;re getting close to my disconnect. What the heck is an NCS Folder:&lt;/p&gt;
&lt;p&gt;&amp;quot;Here I have opened the entire NCS folder and using the F12 works as expected. &amp;quot;&lt;/p&gt;
&lt;p&gt;Neither F12 nor ctrl-shift-F find the definitions I&amp;#39;m seeking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/369185?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 07:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14d2c023-01c5-4357-9b40-fec25acbff26</guid><dc:creator>user91187</dc:creator><description>&lt;p&gt;You can use the &amp;quot;go to definition&amp;quot; feature to find the definition of any C, devicetree or Kconfig symbol. You can also search for all symbols by pressing Ctrl+T (works for any language), or Ctrl+Shift+O for the current file.&lt;br /&gt;&lt;br /&gt;If you open the entire NCS folder in VS code then you should be able to use the &amp;quot;go to definition&amp;quot; function(hotkey F12)&lt;br /&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653376641938v1.png" alt=" " /&gt;&lt;br /&gt;Here I have opened the entire NCS folder and using the F12 works as expected.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It is also possible to add the SDK to a workspace, its called multi root workspaces.:&amp;nbsp;&lt;a href="https://code.visualstudio.com/docs/editor/multi-root-workspaces"&gt;https://code.visualstudio.com/docs/editor/multi-root-workspaces&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Using a NCS project you can also use the command&amp;nbsp; &amp;quot;nRF Connect: Add nRF Connect SDK to workspace&amp;quot; to make it pull in the right one as a workspace folder.&lt;br /&gt;&lt;br /&gt;Some documentation here:&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/create_app.html"&gt;https://nrfconnect.github.io/vscode-nrf-connect/connect/create_app.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CRTL + F only searches in the current file you are in, use CTRL + SHIFT + F to search everything in your workspace.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/369085?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 14:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b34742fb-e13e-4275-9d94-e212a9f9bc9a</guid><dc:creator>user68828</dc:creator><description>&lt;p&gt;&lt;span style="color:#000000;"&gt;I have and use nRF Connect but I have no idea where to find the screen you show. My immediate issue (but I want to learn to fish, not just get a fish) is finding the definition of BT_UUID_NUS_SERVICE. Hovering the mouse over it shows the definition as &lt;span class="mtk15"&gt;BT_UUID_DECLARE_128&lt;/span&gt;&lt;span class="mtk1"&gt;(BT_UUID_NUS_VAL), but neither of those items are searchable with the usual ctrlF search.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="mtk1" style="color:#d4d4d4;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/368677?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 16:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ba7ebbf-b590-4502-8836-6f1a2c981b22</guid><dc:creator>user91187</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I belive you can open the project with the nRF Connect &lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;extension&lt;/span&gt;, so when you open the SDK through the Toolchain manager you select from the home page or side bar of the nRF Connect extension.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652978100306v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Select the create or open existing option and the project you want to work with. Then go to definition (F12) should get you to the corrected file where it is defined.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/368655?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 14:24:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:667a7808-e96d-4864-af34-5da34af4c72b</guid><dc:creator>user68828</dc:creator><description>&lt;p&gt;Hello?.....Hello?? Is anyone here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/368399?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 13:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d4c8e2d-c0eb-4414-a45f-35c6a5238c8a</guid><dc:creator>user68828</dc:creator><description>&lt;p&gt;Still standing by here. Both issues are becoming urgent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/368111?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 18:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7903c59f-2db3-433d-b845-11c2ea68d99c</guid><dc:creator>user68828</dc:creator><description>&lt;p&gt;I see no way in Toolchain Manager to open a project directly. Once VS is open, I do &amp;lt;File&amp;gt;&amp;lt;OpenFolder&amp;gt; and point to the folder where the project was unzipped.&lt;/p&gt;
&lt;p&gt;There are really two issues here. The second will also resolve the first, but maybe not as quickly:&lt;/p&gt;
&lt;p&gt;1) I need to find where the value used for the UUID is actually created, so as to be able to modify it for a specific project.&lt;/p&gt;
&lt;p&gt;2) I need to learn how to do a general search of the project (like ctrl-shitf-F in SES) for any particular string. Clearly in the present case the project and thereby the compiler knows about all the files included, but the search isn&amp;#39;t finding them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Global searching in nRF Connect 1.9 VS</title><link>https://test-devzone.nordicsemi.com/thread/368108?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 18:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7897f44-f34f-4bee-9966-e40bff81b0b7</guid><dc:creator>user91187</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;How do you open the project, are you using the toolchain manager an opening a project through there? Or are you suing the VS code exactions on their own ?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>