<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ruan Vinícius</title>
    <description>The latest articles on DEV Community by Ruan Vinícius (@vinidotruan).</description>
    <link>https://dev.to/vinidotruan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F171583%2F6aa01851-f60c-4a52-bb78-00763ab0baae.jpg</url>
      <title>DEV Community: Ruan Vinícius</title>
      <link>https://dev.to/vinidotruan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vinidotruan"/>
    <language>en</language>
    <item>
      <title>How open jetbrains tools like vscode in wsl 2</title>
      <dc:creator>Ruan Vinícius</dc:creator>
      <pubDate>Fri, 16 Feb 2024 18:22:19 +0000</pubDate>
      <link>https://dev.to/vinidotruan/how-open-jetbrains-tools-like-vscode-in-wsl-2-3pm7</link>
      <guid>https://dev.to/vinidotruan/how-open-jetbrains-tools-like-vscode-in-wsl-2-3pm7</guid>
      <description>&lt;p&gt;First of all the reason why I'm doing it, it's because I was used to using vscode as my main IDE so the vscode has the &lt;code&gt;code .&lt;/code&gt; alias that make the process very easy. But, working with jetbrains tools on a wsl environment it's not a natural thing, so you have to create it. So for each IDE of jetbrains that I use, I've created an alias to not be forced to open it with my windows GUI that was boring and slow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 01: Identify the installation path of IDE
&lt;/h2&gt;

&lt;p&gt;Most of time the JetBrains products are installed all in the same folder, so it will be pretty easy to find it. Just search for the IDE name on the Windows search bar, and go to the &lt;code&gt;Open File Location&lt;/code&gt; option. If it not be shown to you like the image, just click with the right button on the IDE name&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd9ycpkmlv5dbxamuo8ns.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd9ycpkmlv5dbxamuo8ns.png" alt="The Windows search bar showing the php storm app"&gt;&lt;/a&gt;&lt;br&gt;
Now just copy the path and keep it&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn2b876y6mfycsvm4p97w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn2b876y6mfycsvm4p97w.png" alt="Thw Windows file manager showing the path of the program"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 02: Create an alias on your WSL terminal
&lt;/h2&gt;

&lt;p&gt;In my case I'm using Ubuntu as my wsl system so the default alias file is &lt;code&gt;.bashrc&lt;/code&gt; located at &lt;code&gt;/home/&amp;lt;your_user&amp;gt;/.zshrc&lt;/code&gt;. So open it and type:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

&lt;span class="nb"&gt;alias&lt;/span&gt; &amp;lt;nome&amp;gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'/mnt/&amp;lt;caminho_da_ide&amp;gt;'&lt;/span&gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The disk letter should be lowercase and will look like &lt;br&gt;
this:&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

&lt;p&gt;&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;storm&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'/mnt/e/PhpStorm\ 2023.3.2/bin/phpstorm64.exe'&lt;/span&gt;&lt;/p&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Step 03: Let's open&lt;br&gt;
&lt;/h2&gt;

&lt;p&gt;Now just reopen your terminal and type the alias where you want open the IDE like the vscode one &lt;code&gt;storm .&lt;/code&gt;. In this case the &lt;code&gt;.&lt;/code&gt; is the context of the program should be openned.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg406muhthsy7w5k858ff.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg406muhthsy7w5k858ff.png" alt="A terminal displaying the command storm and the phpstorm openned"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
