<?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>Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92492/problems-with-ncs-on-vscode</link><description>I am in the process of migrating from PlatformIO on VScode to NCS on VScode, but im really struggling. I tried setting everything up on Windows and Fedora. on WIndows my main Problem is that the compiler errors are not shown in the Problems tab.. I read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Oct 2022 11:30:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92492/problems-with-ncs-on-vscode" /><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389993?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 11:30:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:961fc872-f31e-4904-a1a0-0070e063e0a6</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Heheh wow didn&amp;#39;t see that coming, but that&amp;#39;s great! I was about to ask him about this myself.&lt;/p&gt;
&lt;p&gt;Then I&amp;#39;ll consider this practically solved already.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389990?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 11:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1707103-236f-4ea2-9261-a92f7d8b21bd</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;yes exactly.&lt;/p&gt;
&lt;p&gt;I just got an answer from Trond Snekvik, and he told me he is aware of the issue and already started fixing it &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389988?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 11:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbba2804-4848-4ae3-840c-3baba0d073c4</guid><dc:creator>Elfving</dc:creator><description>[quote user="jonas.woerner"]do you know whats different about that nrf terminal in comparison to the normal terminal?[/quote]
&lt;p&gt;I believe some path variables might be set, but not completely sure. I&amp;#39;ll look into that.&lt;/p&gt;
&lt;p&gt;So the issues now only show up when either building a project using west build, using the build action in the extension, or when running &amp;quot;bash&amp;quot; in the nrf terminal?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389364?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 10:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25768402-407b-412b-8778-0f1aefbfacb3</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;I just tried it but its the same. nothing changed.&lt;/p&gt;
&lt;p&gt;do you know whats different about that nrf terminal in comparison to the normal terminal? It doesnt seem to be the environment. If I could get this replicated in a system terminal it would help I guess..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT: I found something I think.&lt;/p&gt;
&lt;p&gt;I think it has something todo with this environment variable: BASH_FUNC_module%%=() {&amp;nbsp; eval $($LMOD_CMD bash &amp;quot;$@&amp;quot;) &amp;amp;&amp;amp; eval $(${LMOD_SETTARG_CMD:-:} -s sh)&lt;/p&gt;
&lt;p&gt;but I dont really know what its doing or how I can disable it. Im trying that now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389336?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 08:27:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0d7afa2-4a78-4163-a884-7f107cd034c5</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I see.&lt;/p&gt;
[quote user="jonas.woerner"]Im going to try the manual install.[/quote]
&lt;p&gt;Great, I can imagine that making a difference. Let me know if it does.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389319?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 07:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98587802-cfe4-45a4-9056-ad8b7f202aa5</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;regarding the &amp;quot;entering bash&amp;quot;. If I open an nRF terminal inside vscode and type sh or bash, I get these errors. I dont get them if I open a normal terminal in vscode.&lt;/p&gt;
&lt;p&gt;I know its not an issue with the extensions perse, but an issue with the extensions on fedora. I just thought Nordic might be interested to fix this, as it doesnt seem like a big bug, but a small one that would enable fedora users a seemless experience.&lt;/p&gt;
&lt;p&gt;my friend is using fedora too.&lt;/p&gt;
&lt;p&gt;Im going to try the manual install.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389310?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 06:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54f5cf99-eca7-4a72-bc01-2c7804bd9ab7</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;Have you installed the nRF Command Line tools in addition to the SDK?&lt;/a&gt;&lt;/p&gt;
[quote user="jonas.woerner"]&lt;p&gt;should there be a manifest file on VScode projects? if so, where should it be as I cannot find it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Well there is one in ncs/(ncs version)/nrf, are you finding that one?&lt;/p&gt;
[quote user="jonas.woerner"]&lt;p&gt;by building an NCS sample, I assumed you mean inside VScode. or did you mean using west CLI directly? I did this a while ago, and I dont remember the errors showing up there.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Any of the two, but yes please try it using the CLI directly too.&amp;nbsp;As long as its a tested sample&amp;nbsp;&lt;/p&gt;
[quote user="jonas.woerner"] I found out that entering &amp;quot;bash&amp;quot; into the nrf terminal also results in these errors.[/quote]
&lt;p&gt;Could you expand on this? Are you saying that by opening the terminal and doing nothing you get these errors?&lt;/p&gt;
[quote user="jonas.woerner"]I think its an issue with the nordic extensions for VScode[/quote]
&lt;p&gt;Well, if you only get these issues on Fedora I wouldn&amp;#39;t say its an issue with the extension per se. nRF Connect officially only supports Windows, Mac and now the LTS version of Ubuntu, so there could be some issues related to it being Fedora. Did you do a manual installation, or did you install it using the Toolchain Manager? As you are not using any of the officially supported OS, I would recommend doing a manual install. And this does look like an installation issue.&lt;/p&gt;
&lt;p&gt;I assume your friend uses Fedora too?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389282?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 21:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d352efa-a846-4fed-ad24-a2b0d098f7d3</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;ALso, I have to add, I just asked a friend of mine to just install the SDK and build a sample, and he can replicate my problem. the errors also show for him. so It has to be a bug in the nRF connect Extensions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389259?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 16:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5115770f-cb98-4a3e-b028-935336348fae</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;I tried some things, and I found out that entering &amp;quot;bash&amp;quot; into the nrf terminal also results in these errors. this does only happen if the terminal is opened as nrf connect terminal. opening a normal terminal (also in vscode) is not a problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389181?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc3405b4-492f-4776-8dbc-309eb79eb4ed</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;I am not able to run the west command from the nrf commandline. I get python errors here, but I fixed these. It still doesnt work though, as west cannot find a manifest file. when using the samples (in VScode, create new app and use a sample there) I get the same problems.&lt;/p&gt;
&lt;p&gt;should there be a manifest file on VScode projects? if so, where should it be as I cannot find it?&lt;/p&gt;
&lt;p&gt;by building an NCS sample, I assumed you mean inside VScode. or did you mean using west CLI directly? I did this a while ago, and I dont remember the errors showing up there.&lt;/p&gt;
&lt;p&gt;I think its an issue with the nordic extensions for VScode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389180?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:404e3d30-0f06-47f1-91eb-1ed9d1706c40</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I believe you can run the exact command that VSC does as long as you do it from the same folder - one with a manifest file.&amp;nbsp;&lt;/p&gt;
[quote user="jonas.woerner"]&lt;p&gt;I am seeing these issues in the commandline output in VScode, but only when building an NCS app, nowhere else.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Are you able to run west commands from there? Could you try to build an NCS sample?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389155?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 09:33:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c83da88-158b-4d61-a89a-3010705eff86</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;I am seeing these issues in the commandline output in VScode, but only when building an NCS app, nowhere else.&lt;/p&gt;
&lt;p&gt;you are right about the not valid build workspace. Is there a way to get the west manifest that VScode uses to build with west? or how could I try to reproduce the exact build procedure that vscode does from CLI? I cant run west from within the folder because the west manifest is missing from what I learned on your provided link.&lt;/p&gt;
&lt;p&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/pastedimage1664876052941v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/389112?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 06:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b8fb14e-a532-4411-8833-467391bc9155</guid><dc:creator>Elfving</dc:creator><description>[quote user="jonas.woerner"]I just installed everything (on Fedora) and it was like this.[/quote]
&lt;p&gt;So if it is like this on Fedora, and you are not building from commandline, then where are you seeing these issues? In VSC? And are you seeing it eg. when opening a project, all the time, or just when building, or what?&lt;/p&gt;
[quote user="jonas.woerner"] I just tried to copy the build command to a terminal but that doesnt seem to work(west says &amp;quot;build&amp;quot; is not a valid option) but I will look into this and try it.[/quote]
&lt;p&gt;Then I assume you are not launching it from a valid build workspace. &lt;a href="https://devzone.nordicsemi.com/support-private/support/290725"&gt;See here for more details&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/388965?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 11:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbeb64e5-efee-41d4-89f8-36718546504b</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/elfving"&gt;Elfving&lt;/a&gt; I dont know how I got there, I just installed everything (on Fedora) and it was like this. Everything builds fine. building from commandline I have not tried. I just tried to copy the build command to a terminal but that doesnt seem to work(west says &amp;quot;build&amp;quot; is not a valid option) but I will look into this and try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/388963?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 11:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fffd5045-09c5-4cc0-ad7d-0b2a1c5b2300</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Could you expand a bit on how you got that issue?&amp;nbsp;Does it necessarily have anything to do with VSC, or are you getting it also by just building a project in a terminal? Is getting hundreds of those &amp;quot;/bin/sh:&amp;quot; lines the only thing you are getting? Are there any errors there as well?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/388940?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 10:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f24aebd2-3278-43fe-ab12-544805843245</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;well, none of these addresses my Problem with the hundrets of error lines I mentioned. and that is the most annoying at the moment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/388918?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 09:00:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c0fb94-7cc7-4f06-a81c-cc07f9b807b6</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Jonas,&lt;/p&gt;
&lt;p&gt;That sounds rough. Like FanBoy mentioned you might&amp;nbsp;have an easier time finding solutions by&amp;nbsp;searching for the issues you run into individually.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When it comes to the issue you&amp;#39;re having with Windows, is the lack of compiler errors in the Problems tab essentially the only issue? I believe this is a VSC problem, and not necessarily NCS related.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with NCS on VScode</title><link>https://devzone.nordicsemi.com/thread/388842?ContentTypeID=1</link><pubDate>Sat, 01 Oct 2022 05:29:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20310809-436c-4601-894b-981aae21a7c5</guid><dc:creator>nRF5xFanboy</dc:creator><description>&lt;p&gt;Hello Jonas,&lt;br /&gt;&lt;br /&gt;A few more people have that VSCode issue, just google for it&lt;br /&gt;&lt;br /&gt;&lt;a id="" href="https://github.com/microsoft/vscode-arduino/issues/890"&gt;https://github.com/microsoft/vscode-arduino/issues/890&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://stackoverflow.com/questions/63372175/visual-studio-code-is-not-highlighting-compile-errors-in-my-code"&gt;https://stackoverflow.com/questions/63372175/visual-studio-code-is-not-highlighting-compile-errors-in-my-code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a id="" href="https://www.reddit.com/r/vscode/comments/o9i9hv/vs_code_not_displaying_errors_in_problems_tab/"&gt;https://www.reddit.com/r/vscode/comments/o9i9hv/vs_code_not_displaying_errors_in_problems_tab/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a id="" href="https://community.sonarsource.com/t/vscode-info-lint-not-showing-in-problems-tab/36602"&gt;https://community.sonarsource.com/t/vscode-info-lint-not-showing-in-problems-tab/36602&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/89866/nrf-extension-on-vscode-doesn-t-doesn-t-bring-compiler-errors-to-problems-tab"&gt;nRF Extension on VScode doesn&amp;#39;t doesn&amp;#39;t bring compiler errors to PROBLEMS tab&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope you find your&amp;nbsp;answers &amp;amp; solutions&amp;nbsp;there&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&amp;nbsp; nRF5XFanBoy&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>