<?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>VSCode Compiler errors &amp;amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97388/vscode-compiler-errors-warnings-do-not-appear-in-vscode-problems-tab</link><description>Hey, For some reason I don&amp;#39;t get compile warnings or errors listed in the VSCode problems tab. Any ideas why? See video below for a demo.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Feb 2024 10:27:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97388/vscode-compiler-errors-warnings-do-not-appear-in-vscode-problems-tab" /><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468983?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 10:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ae7d64c-085d-496f-815d-c2ba9c8875d5</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;Great, thank you for your attention on this! :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468961?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 09:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3a12535-9254-4800-adf6-453c2a1dfa9f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Thank you! I have posted this as a feature request to the team developing our VS Code extensions, together with a summary of what we have discussed.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468877?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 15:12:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d61a075-ee91-44be-b1a1-e26cfb01e644</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;Here is a simple example, two projects, each have &amp;quot;unused variable&amp;quot; warnings. For Espressif, you see if shows in the problems tab, for the NCS SDK, which I&amp;#39;m using the latest of everything, it does not show in the problems tab&lt;/p&gt;
&lt;p&gt;&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-2024_2D00_02_2D00_14-at-9.05.43_2F20_AM.png" /&gt;&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-2024_2D00_02_2D00_14-at-9.06.01_2F20_AM.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&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-2024_2D00_02_2D00_14-at-9.07.29_2F20_AM.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&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-2024_2D00_02_2D00_14-at-9.07.36_2F20_AM.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468873?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 14:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71e0c3d5-674b-4f5b-9b4a-f36e98252819</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I understand.&lt;/p&gt;
&lt;p&gt;Obviously, it is probably difficult for you to show what the build errors used to look like, if you are not seeing them anymore. Do you see them if you roll back to an earlier version of nRF Connect for VS Code?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707922697368v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707922730962v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If not, perhaps you can show an example of what it looks like from one of the other MCUs?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468835?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 13:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6f294e3-09fd-4718-b63a-7740a0f1a3bd</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;That&amp;#39;s not a build issue of errors reported from the nRF SDK, that&amp;#39;s a C/C++ issue as reported from the Microsoft C/C++ extension. So there is a&amp;nbsp;difference in warnings / errors with the nRF sdk vs a C/C++ warning / error. All other MCU&amp;#39;s have warnings / errors reported, i.e. Espressif, Silicon Labs, etc... Nordic does not...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468832?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 13:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cbdb8f5-f527-4621-8a08-55a245351ba0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;So you wouldn&amp;#39;t see this?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707918023372v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468777?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 10:19:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32a5e38c-bc7c-4f95-a805-c9c24b2f7156</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;Yes, only Kconfig warnings show, but not build warnings / errors of actual C/C++ code...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468774?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 10:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d89948d-0964-43af-a1a4-d46fbb6adefe</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What I see is that the Kconfig warnings in the problems tab, for example if I set:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707905418249v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Is that not present in your case?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468565?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 11:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbf7d3f9-4684-46a3-915b-4775524d05a4</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;yes, I also think its a huge inconvenience. its really bad to always have to search the build output if it could be so so so much better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468410?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 13:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ef2c5cb-9888-4326-9f97-a3af86ddc774</guid><dc:creator>robsrick</dc:creator><description>&lt;p&gt;+ This definitely used to work and some release of the nrf tooling broke it - whether or not it was intended as a feature.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;... but it&amp;#39;s hard to understand how this isn&amp;#39;t an intentional feature when every other compiler integration with VSCode uses the problemMatchers. Pretty basic feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468377?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 10:47:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf60624e-9db0-482c-942c-cf083f541c01</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;Hmmm... strange, as others have posted, these warnings / errors had shown in the problems tab before, so this must be a new change / stance on the state of the plugin. Huge inconvenience, so it would be nice to have this added as a feature request as soon as possible...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468319?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 07:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c57fd5c-62d1-4965-bf92-e89902e2a82e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Oh, Sorry. I misunderstood. Yes. The build errors have never been part of the problems tab, no. And as far as I know, it is not planned to be. I can add it as a feature request. However, for now you must use the build output.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468238?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 14:14:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fbce09a-69fe-4ad9-9b27-2714b6b45671</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;The problem is exactly as the original posting states, nothing has changed, errors / warnings still do not appear in the &amp;quot;problems&amp;quot; tab...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468237?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 14:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca8f701b-542d-4db9-8eda-4cb855b526bf</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t think this was ever removed. What missing errors do you refer to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/468095?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 14:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c517786b-b1c5-4047-9ee5-f442bcce48ae</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;We need this feature added back in, any further status on this? Why were warnings / errors removed? We need the option to turn on/off at will, please advise...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/418339?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 13:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fb2685a-b78f-4ff1-a216-0e9b0ed1119b</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;I also would love to have the problems tab work, or at least some error highlighting (red=error, yellow=warning) in the terminal output. where is that task.json? I cant find one on my system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/414864?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 10:36:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b17537b-2777-4432-ace1-2e5f6e8b24fe</guid><dc:creator>robsrick</dc:creator><description>&lt;p&gt;No worries about the build errors. I&amp;#39;ve solved those it was just a general question on how to utilise the vscode problem matcher.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It turns out, by setting &amp;quot;$gcc&amp;quot; to the top entry in the ProblemMatcher array for each build in task.json it will direct the build errors and warnings to the problems tab on vscode. I read a post last week that suggested the feature had been removed around 5-6 months ago due to a clash with intellisense? not really sure why though it seems to add a lot of value having it&amp;nbsp;enabled.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Task.json&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
	&amp;quot;version&amp;quot;: &amp;quot;2.0.0&amp;quot;,
	&amp;quot;tasks&amp;quot;: [
		{
			&amp;quot;type&amp;quot;: &amp;quot;nrf-connect-build&amp;quot;,
			&amp;quot;config&amp;quot;: &amp;quot;c:\\dev\\nrf\\neptune\\build&amp;quot;,
			&amp;quot;runCmake&amp;quot;: false,
			&amp;quot;clean&amp;quot;: true,
			&amp;quot;problemMatcher&amp;quot;: [
				&amp;quot;$gcc&amp;quot;,
				&amp;quot;$cmake&amp;quot;,
				&amp;quot;$kconfig&amp;quot;,
				&amp;quot;$kconfig_syntax&amp;quot;,
				&amp;quot;$kconfig_syntax_files&amp;quot;,
				&amp;quot;$dts&amp;quot;,
				&amp;quot;$dts_syntax&amp;quot;,
			],
			&amp;quot;group&amp;quot;: &amp;quot;build&amp;quot;,
			&amp;quot;label&amp;quot;: &amp;quot;nRF Connect: Build [clean]: neptune/build (active)&amp;quot;
		},
		{
			&amp;quot;type&amp;quot;: &amp;quot;nrf-connect-build&amp;quot;,
			&amp;quot;config&amp;quot;: &amp;quot;c:\\dev\\nrf\\neptune\\build&amp;quot;,
			&amp;quot;runCmake&amp;quot;: true,
			&amp;quot;clean&amp;quot;: false,
			&amp;quot;problemMatcher&amp;quot;: [
				&amp;quot;$gcc&amp;quot;,
				&amp;quot;$cmake&amp;quot;,
				&amp;quot;$kconfig&amp;quot;,
				&amp;quot;$kconfig_syntax&amp;quot;,
				&amp;quot;$kconfig_syntax_files&amp;quot;,
				&amp;quot;$dts&amp;quot;,
				&amp;quot;$dts_syntax&amp;quot;,
			],
			&amp;quot;group&amp;quot;: &amp;quot;build&amp;quot;,
			&amp;quot;label&amp;quot;: &amp;quot;nRF Connect: Build [pristine]: neptune/build (active)&amp;quot;
		},
		{
			&amp;quot;type&amp;quot;: &amp;quot;nrf-connect-build&amp;quot;,
			&amp;quot;config&amp;quot;: &amp;quot;c:\\dev\\nrf\\neptune\\build&amp;quot;,
			&amp;quot;runCmake&amp;quot;: false,
			&amp;quot;clean&amp;quot;: false,
			&amp;quot;problemMatcher&amp;quot;: [
				&amp;quot;$gcc&amp;quot;,
				&amp;quot;$cmake&amp;quot;,
				&amp;quot;$kconfig&amp;quot;,
				&amp;quot;$kconfig_syntax&amp;quot;,
				&amp;quot;$kconfig_syntax_files&amp;quot;,
				&amp;quot;$dts&amp;quot;,
				&amp;quot;$dts_syntax&amp;quot;,
			],
			&amp;quot;group&amp;quot;: &amp;quot;build&amp;quot;,
			&amp;quot;label&amp;quot;: &amp;quot;nRF Connect: Build: neptune/build (active)&amp;quot;
		}
	]
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/414857?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 10:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96c2a1dc-2c01-4c9c-b6a2-1eb74a29acc0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Marte is out of office, so I will handle this ticket.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as I know, there are no plan to change where the compile errors are printed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As for the compiler errors themselves, I was not able to see the build log from your video. Please copy the output from the build, and paste it here using Insert -&amp;gt; Code, as Marte said.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/413812?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 12:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bb1af37-124e-49af-b673-4c0411aab660</guid><dc:creator>robsrick</dc:creator><description>&lt;p&gt;Oh right, I&amp;#39;m sure I saw it happen sporadically in the past. Is there a plan to add this? It would be very nice to have the formatted error / warnings in the standard VSCode way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Compiler errors &amp; Warnings do not appear in VSCode problems tab</title><link>https://devzone.nordicsemi.com/thread/413807?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 12:35:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6c25c53-1cf3-4c52-a49f-5a7ab87bc513</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Build errors and errors from the nRF Connect for VS Code extension do not appear in the problems tab. You must look at the terminal output.&amp;nbsp;If you need help solving the errors you are getting, please copy and upload the entire build log here using Insert &amp;gt; Code.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>