<?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>Questions about the nrf connect tool on VS code.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81182/questions-about-the-nrf-connect-tool-on-vs-code</link><description>Hello, All, 
 I am using the nrf connect tool on VS code for development, but i have a questions: 
 The west and some other python plug-ins used by this tool are installed on the local computer uniformly. When I develop or maintain multiple ncs versions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Oct 2021 08:25:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81182/questions-about-the-nrf-connect-tool-on-vs-code" /><item><title>RE: Questions about the nrf connect tool on VS code.</title><link>https://devzone.nordicsemi.com/thread/336604?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 08:25:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a21384ae-fde1-4e53-a0b9-e70fbc0133d2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you try the below mentioned method and it did not work?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the nrf connect tool on VS code.</title><link>https://devzone.nordicsemi.com/thread/336461?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:59:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5645d1e9-2755-4e27-bbf1-9a679549d0d6</guid><dc:creator>Kenny</dc:creator><description>&lt;p&gt;I am using Windows.&lt;/p&gt;
&lt;p&gt;This method has not been found yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the nrf connect tool on VS code.</title><link>https://devzone.nordicsemi.com/thread/336458?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:54:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3efcfc35-848e-4529-9da1-26e1ed53b4b9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;I am using the nrf connect tool on VS code for development, but i have a questions:&lt;/p&gt;
&lt;p&gt;The west and some other python plug-ins used by this tool are installed on the local computer uniformly. When I develop or maintain multiple ncs versions at the same time, it will be very inconvenient.&lt;/p&gt;
&lt;p&gt;There may be some other python development software on the computer. These plug-ins are installed on the computer to cause conflicts, which leads to the need to switch the python environment all the time.&lt;/p&gt;
&lt;p&gt;Before installing this tool, I have been using a virtual environment. Different projects have different environment configurations. West and other plug-ins are installed in the virtual environment, so there will be no conflicts caused by different projects.&lt;/p&gt;
&lt;p&gt;I hope to be able to run these west commands in a virtual environment, so I need to enter the corresponding virtual environment before compiling the firmware,&amp;nbsp;I don’t understand the task setting of your compile command, so I can’t enter the virtual environment first.&lt;/p&gt;
&lt;p&gt;So I want to ask what type of terminal the nrf connect tool uses. Can I have a chance to enter a virtual environment before running &amp;quot;BUILD&amp;quot; or &amp;quot;FLASH&amp;quot;.&lt;/p&gt;
&lt;p&gt;If allowed, what should I do?&amp;nbsp;Or is there any other way to solve it?&lt;/p&gt;
&lt;p&gt;Hope to get your reply soon, thank you !&lt;/p&gt;[/quote]
&lt;p&gt;This is a scenario that we are aware of, but do not have specific documentation/howto&amp;#39;s on.&lt;/p&gt;
&lt;p&gt;Which OS are you using?&lt;/p&gt;
&lt;p&gt;Could you try to start vscode from within the&amp;nbsp;environment where all PATHs are set to your wanted toolchain? This should help vscode to inherit the same environment.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>