<?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: Chiamaka Ikeanyi</title>
    <description>The latest articles on DEV Community by Chiamaka Ikeanyi (@chiamakaikeanyi).</description>
    <link>https://dev.to/chiamakaikeanyi</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%2F91990%2F969cf7c8-b360-4d76-bc00-411ff9e45be0.jpg</url>
      <title>DEV Community: Chiamaka Ikeanyi</title>
      <link>https://dev.to/chiamakaikeanyi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chiamakaikeanyi"/>
    <language>en</language>
    <item>
      <title>How to Generate Contents of a New CSV Column Using JavaScript</title>
      <dc:creator>Chiamaka Ikeanyi</dc:creator>
      <pubDate>Thu, 21 Mar 2019 00:09:15 +0000</pubDate>
      <link>https://dev.to/chiamakaikeanyi/how-to-generate-contents-of-a-new-csv-column-using-javascript-51hh</link>
      <guid>https://dev.to/chiamakaikeanyi/how-to-generate-contents-of-a-new-csv-column-using-javascript-51hh</guid>
      <description>&lt;p&gt;I had the need to populate data in a database table after a migration to update the production database schema. I thought of different means to achieve this. Manually populating the rows with data was not an option because the database contains thousands of records. &lt;/p&gt;

&lt;p&gt;I considered two approaches:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Using a regex&lt;/li&gt;
&lt;li&gt;Writing code to achieve it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After a while, I settled for the second approach because of access restrictions on running the regex.&lt;/p&gt;

&lt;p&gt;Here is how I achieved it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I exported the data, &lt;/li&gt;
&lt;li&gt;Wrote the JavaScript code to generate the content of the new column&lt;/li&gt;
&lt;li&gt;Created a temporary table and imported the newly generated CSV data&lt;/li&gt;
&lt;li&gt;Imported the data to the actual table using an inner join&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A sample data&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"id", "label"
1,"Name"
2,"Age"
3,"Gender"
4,"Date of birth"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I assigned the data to a variable&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var data = `"id", "label"
1, "Name"
2,"Age"
3,"Gender"
4,"Date of birth"`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Initially, I achieved the result using a nested &lt;code&gt;for loop&lt;/code&gt;. Considering performance, I eventually refactored the code to use only one &lt;code&gt;for loop&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;The JavaScript code to generate the content of the new column&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const dataAsArray = data.split('\n');

for(let datum of dataAsArray) {
  let currentRow = datum.split(',');
  let newColumn = currentRow[1].trim().toLowerCase().split(' ').join('_');
  currentRow += `,${newColumn}`;

  console.log(currentRow);   
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The code above generated the data I needed. Which is, the content of the second column without spaces and separated by an underscore. I saved the result in a CSV file.&lt;/p&gt;

&lt;p&gt;Then, I created a temporary table with the columns &lt;code&gt;"id","label","code"&lt;/code&gt; and loaded the data using the command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;LOAD DATA LOCAL INFILE '/Users/Chiamaka/Desktop/query_result.csv'
INTO TABLE `testtable` 
CHARACTER SET 'utf8' FIELDS ESCAPED BY '\\' TERMINATED BY ',' ENCLOSED BY '"' LINES 
TERMINATED BY '\n'
IGNORE 1 LINES
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To update the actual table with the newly generated data using backticks to ensure that reserved names are accepted as strings.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;UPDATE testtable tt
inner join actualtable actb on (tt.id = actb.id)
set actb.code = tt.`code`
where tt.id = actb.id;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This yielded the desired result&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"id","label","code"
1,"Name","name"
2,"Age","age"
3,"Gender","gender"
4,"Date of birth","date_of_birth"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>sql</category>
    </item>
    <item>
      <title>Nevertheless, Chiamaka Ikeanyi Coded</title>
      <dc:creator>Chiamaka Ikeanyi</dc:creator>
      <pubDate>Thu, 07 Mar 2019 11:23:48 +0000</pubDate>
      <link>https://dev.to/chiamakaikeanyi/nevertheless-chiamaka-ikeanyi-coded--40ii</link>
      <guid>https://dev.to/chiamakaikeanyi/nevertheless-chiamaka-ikeanyi-coded--40ii</guid>
      <description>&lt;h2&gt;
  
  
  I continued to code in 2019 because...
&lt;/h2&gt;

&lt;p&gt;Despite starting my career as the only lady in tech at the organization I started with, I didn't let it discourage me. Retrospectively, I am no longer where I use to be. The diff is clear and it will always get better. Software engineering is my choice career. &lt;/p&gt;

&lt;h2&gt;
  
  
  I deserve credit for...
&lt;/h2&gt;

&lt;p&gt;Having encouraged some women who read my articles and those I taught during Andela Learning Community 2.0 programme to desire to grow to help others too. &lt;/p&gt;

&lt;h2&gt;
  
  
  I hope to join my tech community...
&lt;/h2&gt;

&lt;p&gt;In making a global impact and also craft usable solutions to human problems.&lt;/p&gt;

</description>
      <category>wecoded</category>
    </item>
    <item>
      <title>VS Code Setup to Improve Productivity</title>
      <dc:creator>Chiamaka Ikeanyi</dc:creator>
      <pubDate>Thu, 14 Feb 2019 07:14:27 +0000</pubDate>
      <link>https://dev.to/chiamakaikeanyi/vs-code-setup-to-improve-productivity-j5i</link>
      <guid>https://dev.to/chiamakaikeanyi/vs-code-setup-to-improve-productivity-j5i</guid>
      <description>&lt;p&gt;Code editors have evolved over the years. A few years ago, there was no Visual Studio Code (VS Code). You were probably using Sublime, Atom, Bracket, etc. But with the release of VS Code, it has become the favourite editor of most software developers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why VS Code?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Customizable&lt;/li&gt;
&lt;li&gt;Easy Debugging&lt;/li&gt;
&lt;li&gt;Emmet&lt;/li&gt;
&lt;li&gt;Extensions&lt;/li&gt;
&lt;li&gt;Git Integration&lt;/li&gt;
&lt;li&gt;Integrated terminal&lt;/li&gt;
&lt;li&gt;Intellisense&lt;/li&gt;
&lt;li&gt;Lightweight&lt;/li&gt;
&lt;li&gt;Theming and more...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Having seen the advantages of using VS Code &lt;a href="https://vscodecandothat.com/" rel="noopener noreferrer"&gt;and awesome things you can do with it&lt;/a&gt;, this article will cover VS Code setup and extensions needed when using VS Code from the lens of productivity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Emmet
&lt;/h2&gt;

&lt;p&gt;Used in many popular text editors, this greatly improves HTML &amp;amp; CSS workflow.&lt;br&gt;
To access this, press CMD + SHIFT + P. Then, search for &lt;strong&gt;emmet&lt;/strong&gt;. This shows a list of actions that can be performed using emmet.&lt;/p&gt;

&lt;p&gt;For instance, to display five divs with the class name item, all you need is&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;  .item{$}*5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, press the Enter key. The result is&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"item"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;1&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"item"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;2&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"item"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;3&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"item"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;4&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"item"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;5&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Font
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/tonsky/FiraCode" rel="noopener noreferrer"&gt;FiraCode&lt;/a&gt; looks cool as a result of the support for ligatures. It makes your code readable at a glance. Download and install FiraCode, then add it to your &lt;code&gt;settings.json&lt;/code&gt; file.&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%2Fr71g85mwme99x39if1mn.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%2Fr71g85mwme99x39if1mn.png" alt="FiraCode"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuration
&lt;/h2&gt;

&lt;p&gt;You can configure VS Code within the &lt;code&gt;settings.json&lt;/code&gt; file to match your preferences.&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="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.multiCursorModifier"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"ctrlCmd"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.formatOnPaste"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.wordWrap"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"bounded"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.trimAutoWhitespace"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.fontFamily"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Fira Code"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.fontLigatures"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.fontSize"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.formatOnSave"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"files.autoSave"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"onFocusChange"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"emmet.syntaxProfiles"&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;"javascript"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"jsx"&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;"eslint.autoFixOnSave"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"eslint.validate"&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;"javascript"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="s2"&gt;"javascriptreact"&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;"javascript.validate.enable"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"git.enableSmartCommit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"files.trimTrailingWhitespace"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"editor.tabSize"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"gitlens.historyExplorer.enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"diffEditor.ignoreTrimWhitespace"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"workbench.sideBar.location"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"right"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"explorer.confirmDelete"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"javascript.updateImportsOnFileMove.enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"always"&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;h2&gt;
  
  
  Launching from the command line
&lt;/h2&gt;

&lt;p&gt;Press CMD + SHIFT + P, type &lt;em&gt;shell command&lt;/em&gt; and select &lt;em&gt;Install code command in path&lt;/em&gt;.&lt;br&gt;
Afterwards, navigate to any project from the terminal and type &lt;strong&gt;&lt;code&gt;code .&lt;/code&gt;&lt;/strong&gt; from the directory to launch the project using VS Code.&lt;/p&gt;
&lt;h2&gt;
  
  
  Multiple Cursors
&lt;/h2&gt;

&lt;p&gt;You can modify multiple lines of code at the same time. You need to set your preferred access KEY within your &lt;code&gt;settings.json&lt;/code&gt; file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;    &lt;span class="s2"&gt;"editor.multiCursorModifier"&lt;/span&gt;: &lt;span class="s2"&gt;"ctrlCmd"&lt;/span&gt;,

    or

    &lt;span class="s2"&gt;"editor.multiCursorModifier"&lt;/span&gt;: &lt;span class="s2"&gt;"alt"&lt;/span&gt;,
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Terminal
&lt;/h2&gt;

&lt;p&gt;You can &lt;a href="https://chiamakaikeanyi.dev/how-to-configure-your-macos-terminal-with-zsh-like-a-pro" rel="noopener noreferrer"&gt;set up your terminal to use iTerm2 and ZSh&lt;/a&gt; and have your VS Code terminal setup to use that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extensions
&lt;/h2&gt;

&lt;p&gt;Below are useful extensions that can improve developer experience when working on a codebase.&lt;/p&gt;

&lt;p&gt;To access these extensions,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to View &amp;gt; Extensions&lt;/li&gt;
&lt;li&gt;Search for extensions in the marketplace&lt;/li&gt;
&lt;li&gt;Click on Install&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Add jsdoc comments&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This adds comments block to the code. To use it, highlight the first line of the function, press CMD + SHIFT + P and select &lt;em&gt;Add Doc Comments&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Auto Import&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With this extension, you don't need to manually import files. If you are working on a component-based project, just go ahead and type the component name and it will be automatically imported.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Auto Rename tag&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Automatically renames paired elements&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;CSS Peek&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As the name implies, this helps you peek on rules applied by a defined style within a codebase and it's specificity. It comes in handy when working on legacy codes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Debugger for Chrome&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This lets you debug your JavaScript code right from the Google Chrome browser&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Docker&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can create Dockerfiles on the fly with this extension. It also provides syntax highlighting, intellisense and much more.&lt;/p&gt;

&lt;p&gt;Press CMD + SHIFT + P and search for &lt;em&gt;Add Docker files to workspace&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;ESDoc MDN&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In certain scenarios, we tend to forget how a particular thing works. This is where this extension becomes useful. You don't need to launch your web browser to find out the syntax. All you need is to type&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;//mdn [object].[method];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;ESLint&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This integrates ESLint into VS Code to lint your codes. The project you are working on needs to have ESLint installed either locally or globally to take advantage of the features this extension offers.&lt;br&gt;
To install ESLint locally, run &lt;code&gt;npm install eslint&lt;/code&gt; or globally using&lt;br&gt;
&lt;code&gt;npm install -g eslint&lt;/code&gt;.&lt;br&gt;
You would also need to create &lt;code&gt;.eslintrc&lt;/code&gt; configuration file.&lt;/p&gt;

&lt;p&gt;If you installed ESLint locally, run&lt;br&gt;
&lt;code&gt;./node_modules/.bin/eslint --init&lt;/code&gt;&lt;br&gt;
or &lt;code&gt;eslint --init&lt;/code&gt;&lt;br&gt;
for global installation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; &lt;strong&gt;GitLens&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitLens boosts what you can achieve with Git. It helps you to do a lot more such as seamlessly exploring Git repositories, peeking into code revisions, authorship and much more.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Google Fonts&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Adding Google fonts just got easier with this extension. You no longer need to search for fonts on the browser. To access a list of fonts, press CMD + SHIFT + P and search for &lt;strong&gt;Google fonts&lt;/strong&gt; to proceed.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;HTMLHint&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This extension validates your HTML helping you to write &lt;a href="https://dev.to/writing-standards-compliant-html"&gt;standards-compliant code&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Import Cost&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Import Cost shows the impact of imported packages within the code. It helps measure performance bottlenecks.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Live Server&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This launches a local development server with live reload feature.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Peacock&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This extension gives you the ability to change the workspace color of your workspace. It is ideal when you have multiple VS Code instances and you want to quickly identify a particular instance.&lt;/p&gt;

&lt;p&gt;After installing Peacock, click on the settings icon &amp;gt; settings,&lt;br&gt;
select workspace settings tab, click on {} and paste the code below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;    &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"workbench.colorCustomizations"&lt;/span&gt;: &lt;span class="o"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"activityBar.background"&lt;/span&gt;: &lt;span class="s2"&gt;"#e90b8d"&lt;/span&gt;,
            &lt;span class="s2"&gt;"activityBar.foreground"&lt;/span&gt;: &lt;span class="s2"&gt;"#fff"&lt;/span&gt;,
            &lt;span class="s2"&gt;"activityBar.inactiveForeground"&lt;/span&gt;: &lt;span class="s2"&gt;"#b5b5b5"&lt;/span&gt;,
        &lt;span class="o"&gt;}&lt;/span&gt;,
        &lt;span class="s2"&gt;"peacock.affectedElements"&lt;/span&gt;: &lt;span class="o"&gt;[&lt;/span&gt;
            &lt;span class="s2"&gt;"activityBar"&lt;/span&gt;,
        &lt;span class="o"&gt;]&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also add &lt;code&gt;titleBar&lt;/code&gt; and &lt;code&gt;statusBar&lt;/code&gt; to the affectedElements and add color customizations for them within the colorCustomizations section.&lt;/p&gt;

&lt;p&gt;To use one of the default colors, press CMD + SHIFT + P, type &lt;strong&gt;peacock&lt;/strong&gt; and select your preferred theme. This overrides the color settings within the settings.json file defined for that workspace.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Prettier&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Formats your code and make it readable&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Polacode&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As a technical writer, this comes in handy. It gives you an appealing screenshot of your code snippet.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Step 1: Press CMD + SHIFT + P
Step 2: Select Polacode 📸
Step 3: Copy some code
Step 4: Paste into Polacode view
Step 5: Click the lens-like button below the code view to save
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;TODO Highlight&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With a lot to work on which needs to be prioritized, sometimes, you may tend to forget tasks yet to be completed. TODO highlight makes these easily seen by highlighting them.&lt;/p&gt;




&lt;p&gt;Feel free to drop what works for you on the comment section and share this article.&lt;/p&gt;

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