<?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: Kishan Zalariya</title>
    <description>The latest articles on DEV Community by Kishan Zalariya (@kishanzalariya).</description>
    <link>https://dev.to/kishanzalariya</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%2F748474%2F446f8296-88f0-4fba-8f1a-947a118e356c.png</url>
      <title>DEV Community: Kishan Zalariya</title>
      <link>https://dev.to/kishanzalariya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kishanzalariya"/>
    <language>en</language>
    <item>
      <title>Become a Code Expert with CodeGPT VSCode Extension</title>
      <dc:creator>Kishan Zalariya</dc:creator>
      <pubDate>Mon, 13 Feb 2023 07:24:01 +0000</pubDate>
      <link>https://dev.to/kishanzalariya/become-a-code-expert-with-codegpt-vscode-extension-ldn</link>
      <guid>https://dev.to/kishanzalariya/become-a-code-expert-with-codegpt-vscode-extension-ldn</guid>
      <description>&lt;p&gt;In this article, we will learn how to configure the CodeGPT extension in VSCode and its use cases.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is CodeGPT?
&lt;/h3&gt;

&lt;p&gt;CodeGPT VSCode Extension is a plugin for the popular code editor, Visual Studio Code (VSCode), that utilizes OpenAI's language model to provide advanced code completion functionality. The extension integrates directly into VSCode, providing real-time code suggestions as you type. Using advanced machine learning algorithms, CodeGPT VSCode Extension can understand the context of your code and provide suggestions that are relevant to your current coding task. This can help you save time and improve your coding efficiency by reducing the time spent searching for the right code snippets. CodeGPT VSCode Extension is designed to make coding faster, more efficient, and more enjoyable for VSCode users.&lt;/p&gt;

&lt;h3&gt;
  
  
  Features of CodeGPT
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Ask general questions &lt;/li&gt;
&lt;li&gt;Right click on a code selection and run one of the context menu shortcuts

&lt;ul&gt;
&lt;li&gt;Automatically write documentation for your code&lt;/li&gt;
&lt;li&gt;Explain the selected code&lt;/li&gt;
&lt;li&gt;Refactor or optimize it&lt;/li&gt;
&lt;li&gt;Find problems with it&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;View GPT's responses in a panel next to the editor&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  Install Extension
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Go to extensions menu on VSCode and search for &lt;code&gt;Code GPT&lt;/code&gt; then Install it.
&lt;img src="https://media2.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%2Fmbjbizy9tebrj8puoi1p.png" alt="Install-CodeGPT" width="800" height="338"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Retrieve OpenAI API Key
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;a href="https://beta.openai.com/account/api-keys" rel="noopener noreferrer"&gt;OpenAI's website&lt;/a&gt;. If you don't have an account, you will need to create one or sign up using your Google or Microsoft account.&lt;/li&gt;
&lt;li&gt;Click on the &lt;code&gt;Create new secret key&lt;/code&gt; button.
&lt;img src="https://media2.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%2Fs9oxa8a31zwxu96m21v4.png" alt="Create-ChatGPT-API-Key" width="800" height="396"&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Your API key is generated copy it as shown in the image below:&lt;br&gt;
&lt;a href="https://media2.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%2F874iewzm8arzrkxeird2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F874iewzm8arzrkxeird2.png" alt="API-Key-Generated" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;**NOTE&lt;/em&gt;*: When you create a new account, you receive $18 in free credits for the API which you must use in the first 90 days. You can see API usage information &lt;a href="https://platform.openai.com/account/usage" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Configure API Key in CodeGPT
&lt;/h2&gt;

&lt;p&gt;Now, the final step is to put this secret key in the settings of VSCode extension Code GPT. By perform the following steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Press

&lt;code&gt;Ctrl+Shift+P&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;li&gt;Search for &lt;code&gt;CodeGPT: Set API KEY&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Finally, insert the Key and press &lt;code&gt;Enter&lt;/code&gt; as shown in the image below:
&lt;img src="https://media2.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%2Ftffri7404l66und6glwg.png" alt="Configure-API-Key" width="800" height="180"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Ready to Use
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Select any code, open the context menu with the right mouse button, and choose the desired option from the list:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Ask CodeGPT&lt;/code&gt;: will provide a prompt for you to enter any query&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Compile &amp;amp; Run CodeGPT&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Explain CodeGPT&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Refactor CodeGPT&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Document CodeGPT&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Find Problems CodeGPT&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Unit Test CodeGPT&lt;/code&gt;
&lt;img src="https://media2.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%2Fgu9qo85gknk4xydmmdgd.png" alt="Commands-CodeGPT" width="800" height="425"&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;See the result of ChatGPT's answer in a new editor window.&lt;/li&gt;

&lt;li&gt;You can see more features &lt;a href="https://www.codegpt.co/docs/category/features" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Thanks for reading!!!☺&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Array Grouping In JavaScript Using array.groupBy()</title>
      <dc:creator>Kishan Zalariya</dc:creator>
      <pubDate>Fri, 04 Mar 2022 05:46:16 +0000</pubDate>
      <link>https://dev.to/kishanzalariya/array-grouping-in-javascript-using-arraygroupby-d46</link>
      <guid>https://dev.to/kishanzalariya/array-grouping-in-javascript-using-arraygroupby-d46</guid>
      <description>&lt;p&gt;Today’s topic is the new array-group-proposal that introduces new methods array.groupBy() and array.groupByToMap().&lt;/p&gt;

&lt;p&gt;We will learn about grouping an array of objects by key using groupBy() and groupByToMap().&lt;/p&gt;

&lt;p&gt;👉 Click &lt;a href="https://www.c-sharpcorner.com/article/array-grouping-in-javascript-using-array-groupby/" rel="noopener noreferrer"&gt;here&lt;/a&gt; to read full article.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>arraygrouping</category>
      <category>groupby</category>
      <category>groupbytomap</category>
    </item>
    <item>
      <title>Export JSON Data To Excel In React</title>
      <dc:creator>Kishan Zalariya</dc:creator>
      <pubDate>Thu, 27 Jan 2022 05:33:28 +0000</pubDate>
      <link>https://dev.to/kishanzalariya/export-json-data-to-excel-in-react-1od6</link>
      <guid>https://dev.to/kishanzalariya/export-json-data-to-excel-in-react-1od6</guid>
      <description>&lt;p&gt;In this article, we will learn about how to load data asynchronously and export JSON data to excel in react using the react-csv package.&lt;/p&gt;

&lt;p&gt;👉 Click &lt;a href="https://www.c-sharpcorner.com/article/load-data-asynchronously-and-export-json-data-to-excel-in-react/" rel="noopener noreferrer"&gt;here&lt;/a&gt; to read article.&lt;/p&gt;

</description>
      <category>react</category>
      <category>json</category>
      <category>exportjson</category>
    </item>
    <item>
      <title>Generate Dynamic PDF With Custom Style In React</title>
      <dc:creator>Kishan Zalariya</dc:creator>
      <pubDate>Mon, 03 Jan 2022 17:01:53 +0000</pubDate>
      <link>https://dev.to/kishanzalariya/generate-dynamic-pdf-with-custom-style-in-react-27m3</link>
      <guid>https://dev.to/kishanzalariya/generate-dynamic-pdf-with-custom-style-in-react-27m3</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;“A person who never made a mistake never tried anything new.” - Albert Einstein&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This article is a step-by-step guide to generate dynamic PDF. Also, view and download it in ReactJs using React-pdf library. We will also understand the basic components of the React-pdf library with real life examples.&lt;/p&gt;

&lt;p&gt;👉 Click &lt;a href="https://www.c-sharpcorner.com/article/generate-dynamic-pdf-with-custom-style-in-react/" rel="noopener noreferrer"&gt;here&lt;/a&gt; to read article.&lt;/p&gt;

</description>
      <category>react</category>
      <category>reactpdf</category>
      <category>jsongenerator</category>
    </item>
    <item>
      <title>Create Different Charts In React Using Chart.js Library</title>
      <dc:creator>Kishan Zalariya</dc:creator>
      <pubDate>Wed, 22 Dec 2021 07:56:04 +0000</pubDate>
      <link>https://dev.to/kishanzalariya/create-different-charts-in-react-using-chartjs-library-510k</link>
      <guid>https://dev.to/kishanzalariya/create-different-charts-in-react-using-chartjs-library-510k</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"A little progress each day adds up to big results." - Satya Nani&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In this article, I discussed how to create different charts like Line chart, Bar chart, Pie chart using Chart.js NPM library with examples. Also, discussed overview of Chart.js library.&lt;/p&gt;

&lt;p&gt;Read &lt;a href="https://www.c-sharpcorner.com/article/create-different-charts-in-react-using-chart-js-library/" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope you like this article.&lt;/p&gt;

</description>
      <category>react</category>
      <category>chartjs</category>
    </item>
  </channel>
</rss>
