<?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>How to fix unittest IntelliSense in VS Code + nrf SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118212/how-to-fix-unittest-intellisense-in-vs-code-nrf-sdk</link><description>Hi! I created a unittest in my project using Zephyr CRC Unittest Example . It passes nicely using command line. However I cannot fix squiggles error in test code. I get following error: 
 Any idea how to point nrf Connect SDK to include unittest as an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jan 2025 13:07:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118212/how-to-fix-unittest-intellisense-in-vs-code-nrf-sdk" /><item><title>RE: How to fix unittest IntelliSense in VS Code + nrf SDK</title><link>https://devzone.nordicsemi.com/thread/519560?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 13:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b60aa7d-fe2c-4f2d-a423-b14e9cfe6b3c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;By the way, have you seen our &lt;a href="https://devzone.nordicsemi.com/support-private/support/339366/academy.nordicsemi.com"&gt;Developer Academy&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix unittest IntelliSense in VS Code + nrf SDK</title><link>https://devzone.nordicsemi.com/thread/519559?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 13:06:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb3eadf9-8174-4ab9-911c-bdd770aa4f67</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please provide the output from Generate Support Information (e.g. called from Command Palette)? I need for more information on what SDK version you are building with and for what board in the Add build configuration. This way I can try to replicate and understand the issue.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix unittest IntelliSense in VS Code + nrf SDK</title><link>https://devzone.nordicsemi.com/thread/519378?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 16:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a12d5c0-d588-4647-bdcf-700fd6b624ff</guid><dc:creator>Tomasz Szewczyk</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using VSCode 1.96.4 and nRF Connect for VS Code 2024.12.55. I&amp;#39;m building tests using&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;twister -T src/tests/ -vvv&lt;/pre&gt;&amp;nbsp;and they are build for x86_64 I believe.&lt;br /&gt;&lt;br /&gt;What does not work is code completion, documentation hints etc in VS Code which is very annoying. I don&amp;#39;t know how to run this via VS Code nor how to make VS Code understand unittests code - this is my question.&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/pastedimage1737478103345v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix unittest IntelliSense in VS Code + nrf SDK</title><link>https://devzone.nordicsemi.com/thread/519357?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 15:31:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5471d93d-04db-4138-8c73-db9dbb5d9c9a</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What version of the nRF Connect SDK are you using in VS code? And for what device are you trying to build for?&lt;/p&gt;
[quote user=""]However I cannot fix squiggles error in test code.[/quote]
&lt;p&gt;What exactly does this mean?&lt;/p&gt;
[quote user=""]It passes nicely using command line.[/quote]
&lt;p&gt;Can you share the comparison of building with command line and building with VS code?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>