title: When do I want to install VSCode extensions in WSL2:Ubuntu vs VsCode Windows?
body: <p>Most of my coding is in WSL2:Ubuntu. I typically open a terminal into WSL2:Ubuntu, change to a project directory and then start VSCode by typing <code>code .</code></p>
  <p>When I look for extensions, they appear (?) to install in Windows VSCode itself, and then sometime later, VSCode will recommend installing the extension in WSL:Ubuntu</p>
  <ul>
  <li>When should I install extensions into WSL:Ubuntu?</li>
  <li>What do I gain by installing extensions in WSL:Ubuntu in addition to installing it into VSCode Windows?</li>
  <li>What sorts of VSCode extensions installed into VSCode Windows would not work on WSL2:Ubuntu projects?</li>
  </ul>
  <p>If I understand the diagram below, then any extension that operates on code, snippets, formatter, intellisense/kite/tabnine needs to be installed into WSL, but what about extensions that change text colors depending on indent level, or place hints about the cost of an import?  Are those &quot;UI Extensions&quot; or &quot;Workspace Extensions&quot;?</p>
  <p><a href="https://i.stack.imgur.com/fqrhF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fqrhF.png" alt="enter image description here" /></a></p>
  <p>And are the answers here good for all remote vscode development or particular to developing under WSL2?</p>
  <p>What do I need to understand about VSCode Windows and VSCode WSL2:Ubuntu to grok this?</p>