<?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: Arkadiusz Chatys</title>
    <description>The latest articles on DEV Community by Arkadiusz Chatys (@iamarek).</description>
    <link>https://dev.to/iamarek</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%2F209629%2F9b5169a1-6cd9-4a9e-9824-a1dbc4f25f52.jpg</url>
      <title>DEV Community: Arkadiusz Chatys</title>
      <link>https://dev.to/iamarek</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iamarek"/>
    <language>en</language>
    <item>
      <title>Why is it worth to attend local meetups?</title>
      <dc:creator>Arkadiusz Chatys</dc:creator>
      <pubDate>Wed, 28 Aug 2019 22:36:40 +0000</pubDate>
      <link>https://dev.to/iamarek/why-is-it-worth-to-attend-local-meetups-5b9m</link>
      <guid>https://dev.to/iamarek/why-is-it-worth-to-attend-local-meetups-5b9m</guid>
      <description>&lt;p&gt;In April 2019, I've moved from a medium-sized city in Poland to London, one of the biggest cities in Europe, with really big front-end community.&lt;/p&gt;

&lt;p&gt;One of the first things that I've started to explore, was attending front-end meetups. Recently I started to wonder what is it about meetups, that makes me still want to attend?&lt;/p&gt;

&lt;p&gt;I'll try to write down a few reasons. I'm really curious what are your reasons for attending meetups or what keeps you away from attending them?&lt;/p&gt;

&lt;h1&gt;
  
  
  Why do I attend local meetups?
&lt;/h1&gt;

&lt;h3&gt;
  
  
  1. I mean... who doesn't like free pizza, right?
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/ZBJqytmfwTzW0/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/ZBJqytmfwTzW0/giphy.gif" alt="Free pizza"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm obviously joking, as it's the least important part, but it's always nice to treat yourself with a complimentary slice of pizza and drink. It truly helps to gather people in one space and start a bit of networking (I'll get back to networking a bit later though).&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Inspire vs Learn
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/ItJ661qScbngs/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/ItJ661qScbngs/giphy.gif" alt="Inspiration"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It may sound weird but I'm not looking for new knowledge there. I look for inspiration. People have great ideas, they are passioned about what they do. It gives you a kick of positive energy to explore new things, to try harder, to find new ways of enjoying it.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. What's trending?
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/CVzBWk1EsIpck/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/CVzBWk1EsIpck/giphy.gif" alt="Trenidng"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Attending local meetups can help you understand current trends and what's popular at the moment (React Hooks were on the list of almost every single meetup I attended in last few months, so were PWAs last year). Thanks to that, you can try to follow the new technologies and stay up to date &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Don't treat it too serious though! Solid knowledge of JavaScript is more important than some trending framework, which we will all forget about in 2 years.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  4. Learn how to speak in public
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/fxBXWzY85vC2GJ9dAb/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/fxBXWzY85vC2GJ9dAb/giphy.gif" alt="public speaking"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you ever thought about public speaking, the first step can be to attend local meetups and observe the speakers. How do they talk? What's their body language? How does their slide deck look like? When the crowd seems to be more interested? What tricks do they use to engage people? What mistakes did they make?&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Just doing something different for a change
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/yIxNOXEMpqkqA/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/yIxNOXEMpqkqA/giphy.gif" alt="no money"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's just something different, then watching Netflix, going to the pub with friends or playing sports. It doesn't require any effort from you and it doesn't cost you a dime. Might come handy when the payday is far away and you already spent your budget for entertainment that month.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Tell your colleagues about something cool!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/yCAoGdVUCW5LW/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/yCAoGdVUCW5LW/giphy.gif" alt="respect"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Surprise your work friends with some cool new thing you've seen on meetup and gain those RESPECT POINTS.&lt;/p&gt;

&lt;h3&gt;
  
  
  Networking?
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/SZur792USciju/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/SZur792USciju/giphy.gif" alt="networking"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I promised to get back to that topic, and I purposely haven't put number 7 next to the title. Networking is something that you can try to do during meetups, but I find it surprisingly difficult. Part of the problem is definitely that I'm a massive introvert and I find it uncomfortable and stressful to speak to people I don't know. If there's one pro tip that I can give people like me is, try to come to the conference a few minutes after the doors are open. There will be most likely only a couple of people, not too many so it's easier to start talking to someone, but at the same time, you won't be sitting there alone waiting for other people to come.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which meetups do I attend?
&lt;/h2&gt;

&lt;p&gt;There are few meetups that I genuinely like and I think people who organise them are doing a great job, so if you are currently living in London, I highly recommend those meetups:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.frontendlondon.co.uk/"&gt;https://www.frontendlondon.co.uk/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.meetup.com/js-monthly/"&gt;https://www.meetup.com/js-monthly/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://meetup.react.london/"&gt;https://meetup.react.london/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What are your reasons [to attend]/[not to attend] local meetups?&lt;br&gt;
What are your favourite meetups in your town?&lt;/p&gt;

</description>
      <category>career</category>
      <category>codenewbie</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Use snippets in VS Code, to boost your productivity and simplify your work!</title>
      <dc:creator>Arkadiusz Chatys</dc:creator>
      <pubDate>Thu, 15 Aug 2019 17:20:21 +0000</pubDate>
      <link>https://dev.to/iamarek/use-snippets-in-vs-code-to-boost-your-productivity-and-simplify-your-work-1nim</link>
      <guid>https://dev.to/iamarek/use-snippets-in-vs-code-to-boost-your-productivity-and-simplify-your-work-1nim</guid>
      <description>&lt;p&gt;Let's talk about snippets. How often you repeat particular parts of code within your repository or look for a syntax of some mixin or function? &lt;/p&gt;

&lt;p&gt;How often you need to use media queries or functions that you'd just wish to type as quickly as possible and move on with your code?&lt;/p&gt;

&lt;p&gt;There's a really easy way of making this process way more pleasant. You can create code snippets, that will boost your productivity A 👏 L👏O👏T.&lt;/p&gt;

&lt;h1&gt;
  
  
  How it works
&lt;/h1&gt;

&lt;p&gt;Let's take media queries as an example. Instead of typing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="n"&gt;screen&lt;/span&gt; &lt;span class="nf"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;min-width&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nv"&gt;$breakpoint-desktop&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;you could simply type in (and this is just an example) &lt;code&gt;md&lt;/code&gt; and hit enter. This would create the structure above and put tabulator inside of it.&lt;/p&gt;

&lt;p&gt;You can create multiple snippets like that, where you could define:&lt;/p&gt;

&lt;p&gt;(&lt;em&gt;Naming convention here is just an example&lt;/em&gt;)&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mm&lt;/code&gt; - media for mobile&lt;br&gt;
&lt;code&gt;mt&lt;/code&gt; - media for tablet&lt;br&gt;
&lt;code&gt;md&lt;/code&gt; - media for desktop&lt;/p&gt;

&lt;p&gt;You can go with a slightly different approach and leave min-width empty, and fill it in after hitting enter (so you don't have to create multiple snippets for the same purpose)&lt;/p&gt;
&lt;h1&gt;
  
  
  Use cases
&lt;/h1&gt;

&lt;p&gt;Some of the simple use cases for snippets:&lt;/p&gt;

&lt;p&gt;1) You have custom mixins in your boilerplate, that you don't need/want to remember. Maybe you are used to different syntax in other boilerplate that you use, and you want to unify that by creating snippets.&lt;/p&gt;

&lt;p&gt;2) You're bored with typing &lt;code&gt;console.log()&lt;/code&gt; every single time you debug something.&lt;/p&gt;

&lt;p&gt;3) You hate typing &lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; queries.&lt;/p&gt;

&lt;p&gt;4) You have some custom SCSS functions.&lt;/p&gt;

&lt;p&gt;5) You hate creating the structure of imports and functions for your React components.&lt;/p&gt;

&lt;p&gt;AND 👏 SO 👏 MUCH 👏 MORE&lt;/p&gt;
&lt;h1&gt;
  
  
  Let's build our snippet
&lt;/h1&gt;

&lt;p&gt;1) Open VS Code with the project that you want to work on&lt;br&gt;
2) Click &lt;code&gt;⌘ + ⇧ + P&lt;/code&gt;, which opens commands list (ctrl+shift+p on Windows).&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fvpqelneztf36d1f8rap0.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fvpqelneztf36d1f8rap0.png" alt="Command List"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3) Search for &lt;code&gt;Preferences: Configure User Snippets&lt;/code&gt;. This will open another modal instead of the commands list.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fjkvikugeykzf5lg529ef.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fjkvikugeykzf5lg529ef.png" alt="Snippets"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4) Here we have a few different options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create global snippets, that will work across all repositories (select &lt;code&gt;New global snippets file&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create local snippets, that will work inside a single repository (select &lt;code&gt;New snippets file for '&amp;lt;NAME_OF_YOUR_REPOSITORY'&amp;gt;&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select programming language, you want to create a snippet for.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;5) If you select local snippets, this will create &lt;code&gt;.vscode&lt;/code&gt; folder with a file inside of your repository. The file will have an example of a snippet that you can use as a starting point.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fx39wumyf6v7oe0niqxny.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fx39wumyf6v7oe0niqxny.png" alt="Example of snippet"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6) Now when you have your file ready, let's take the example from the file and try to understand it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"Print to console"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"scope"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"javascript,typescript"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"prefix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"log"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"console.log('$1');"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"$2"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Log output to console"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Line by line
&lt;/h1&gt;

&lt;p&gt;1) &lt;code&gt;"Print to console"&lt;/code&gt; is a description of the snippet that will help you to find it in suggested options.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F2c189cqo8jjusfxq5qec.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F2c189cqo8jjusfxq5qec.png" alt="Description of snippet"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2) In &lt;code&gt;"scope"&lt;/code&gt; you need to add all the languages you need that snippet to work in (you don't want to see console.log snippet writing your CSS, right?)&lt;/p&gt;

&lt;p&gt;3) &lt;code&gt;"prefix"&lt;/code&gt; is literally a name you will need to type in inside your code to get the snippet working.&lt;/p&gt;

&lt;p&gt;4) &lt;code&gt;"body"&lt;/code&gt; is the most important part. It's an array, which takes strings and each string is the next line of code (in this example, the snippet will create two lines of code). You probably noticed &lt;code&gt;$1&lt;/code&gt; and &lt;code&gt;$2&lt;/code&gt; inside of the body. These are tab stops. It means that after you use the snippet, tabulator will stop first on &lt;code&gt;$1&lt;/code&gt; and after next tab hit, it will jump to &lt;code&gt;$2&lt;/code&gt;. That's super useful.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You can also use &lt;code&gt;\n&lt;/code&gt; to make a new line and keep the whole body as a single string&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;5) &lt;code&gt;"description"&lt;/code&gt;, that's just a longer description of the snippet.&lt;/p&gt;

&lt;p&gt;That's it. You've just created your own snippet! 👏👏👏&lt;/p&gt;

&lt;h1&gt;
  
  
  Few examples of snippets
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"Media queries mixin"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"scope"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"css, scss"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"prefix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rwd"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
     &lt;/span&gt;&lt;span class="s2"&gt;"@include rwd($1) {"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
     &lt;/span&gt;&lt;span class="s2"&gt;"  $2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
     &lt;/span&gt;&lt;span class="s2"&gt;"}"&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Snippet is using custom mixin from boilerplate"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"React with Styled-Components"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"prefix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rs"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"import React from 'react';"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"import styled from 'styled-components';"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"const $1 = () =&amp;gt; ("&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"  $2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;");"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"export default $1;"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"setTimeout"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"prefix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"st"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="s2"&gt;"setTimeout(() =&amp;gt; {"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="s2"&gt;"$1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="s2"&gt;"}, $2)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"SetTimeout function"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What are the most common use cases of snippets for you? Let me know in the comments!&lt;/p&gt;

&lt;p&gt;PS. There's a whole lot of extensions that provide snippets for a particular purpose (React snippets, Vue snippets, ES6 snippets, SCSS snippets, etc.)&lt;/p&gt;

&lt;h1&gt;
  
  
  Other VS Code Tips &amp;amp; Tricks
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/iamarek/working-on-multiple-windows-in-vs-code-style-title-bars-to-increase-your-productivity-2oii"&gt;Working on multiple windows in VS Code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>vscode</category>
      <category>productivity</category>
      <category>ide</category>
    </item>
    <item>
      <title>Working on multiple windows in VS Code? Simple trick to increase productivity!</title>
      <dc:creator>Arkadiusz Chatys</dc:creator>
      <pubDate>Tue, 13 Aug 2019 08:12:25 +0000</pubDate>
      <link>https://dev.to/iamarek/working-on-multiple-windows-in-vs-code-style-title-bars-to-increase-your-productivity-2oii</link>
      <guid>https://dev.to/iamarek/working-on-multiple-windows-in-vs-code-style-title-bars-to-increase-your-productivity-2oii</guid>
      <description>&lt;p&gt;If you've ever struggled with working in multiple VS Code windows, there's a really neat solution that can help you distinguish, which window are you currently working on. You've might have seen this solution on some of Wes Bos tutorials (React+Node).&lt;/p&gt;

&lt;p&gt;Let's say, you work on both React and Node repository at the same time, and you want to make it easier for your eyes to understand which window is currently active.&lt;/p&gt;

&lt;p&gt;With a few lines of code, you can change the color of the Title Bar and attach this setting to the project. You can even push it to a repository, so other developers can use it too (you don't have to do it though).&lt;/p&gt;

&lt;p&gt;Let's get to work!&lt;/p&gt;

&lt;h1&gt;
  
  
  Creating a file with settings
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Manual
&lt;/h3&gt;

&lt;p&gt;Create &lt;code&gt;.vscode&lt;/code&gt; folder and &lt;code&gt;settings.json&lt;/code&gt; file inside of the folder in your repository.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fxdv67djnllwksmwhpkf3.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fxdv67djnllwksmwhpkf3.png" alt="New folder in the repository"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Automated
&lt;/h3&gt;

&lt;p&gt;1) Open VS Code with the project that you want to style.&lt;br&gt;
2) Click &lt;code&gt;⌘ + ⇧ + P&lt;/code&gt;, which opens commands list (&lt;em&gt;ctrl+shift+p on Windows&lt;/em&gt;).&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fiyohn4ao6prooqatbkju.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fiyohn4ao6prooqatbkju.png" alt="Click ⌘⇧P, which opens commands list"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3) Search for &lt;code&gt;Preferences: Open Workspace Settings&lt;/code&gt;. This will open a new &lt;code&gt;Settings&lt;/code&gt; tab in your VS Code.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F3mgfh3dctol1w93963kt.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F3mgfh3dctol1w93963kt.png" alt="Search for Preferences: Open Workspace Settings"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4) In the sidebar choose &lt;code&gt;Workbench &amp;gt; Appearance&lt;/code&gt;.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fwaexwj1jneahut9ju2xf.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fwaexwj1jneahut9ju2xf.png" alt="In the sidebar choose Workbench &amp;gt; Appearance"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5) Under &lt;code&gt;Color Customizations&lt;/code&gt; click &lt;code&gt;Edit in settings.json&lt;/code&gt;. This will create a new &lt;code&gt;.vscode&lt;/code&gt; folder with &lt;code&gt;settings.json&lt;/code&gt; file, inside of the repository.&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fxdv67djnllwksmwhpkf3.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fxdv67djnllwksmwhpkf3.png" alt="New folder in the repository"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Setting color of your window
&lt;/h1&gt;

&lt;p&gt;Inside of your &lt;code&gt;settings.json&lt;/code&gt; file, you have a few different options that you can set.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;titleBar.activeBackground&lt;/code&gt; - color window Title Bar when the window is active.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;titleBar.inactiveBackground&lt;/code&gt; - color window Title Bar when another window is active.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;titleBar.activeForeground&lt;/code&gt; - color text of Title Bar.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Protip&lt;/em&gt;: set &lt;code&gt;inactiveBackground&lt;/code&gt; to just slightly darker color from &lt;code&gt;activeBackground&lt;/code&gt; to identify which window are you currently using.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;There's a lot of different options that you can set to customize the whole window: &lt;a href="https://code.visualstudio.com/api/references/theme-color" rel="noopener noreferrer"&gt;https://code.visualstudio.com/api/references/theme-color&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;


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

&lt;p&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;br&gt;
  &lt;span class="c1"&gt;// rest of your settings,&lt;/span&gt;&lt;br&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;workbench.colorCustomizations&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;br&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;titleBar.activeBackground&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;#f2c216&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;br&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;titleBar.inactiveBackground&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;#ac8b12&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;br&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;titleBar.activeForeground&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;#000&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;br&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;/p&gt;

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

&lt;/div&gt;
&lt;h1&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Result&lt;br&gt;
&lt;/h1&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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fpexavbjmp7rgnovim289.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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fpexavbjmp7rgnovim289.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Other VS Code Tips &amp;amp; Tricks
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/iamarek/use-snippets-in-vs-code-to-boost-your-productivity-and-simplify-your-work-1nim"&gt;Use snippets in VS Code, to boost your productivity and simplify your work!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>vscode</category>
      <category>productivity</category>
      <category>ide</category>
    </item>
  </channel>
</rss>
