VScode plugin that reviews our code and helps us improve with the naming convention and best practices, along with some tips on code improvements.
-
Install the plugin.
-
Add Gemini Api key by typing
cmd + shift + p
& then search forSet Gemini Api Key
and add the key, clickEnter
-
Select the function or specific part of the code that you want it to review.
-
Type
cmd + shift + p
(mac users) -
Type
ctrl + shift + p
(windows users) -
Search for 'Review code' and press enter.
-
Now, hover over the selected portion of the code and you can see the reviewed message and improved code.
Install the plugin
Select the code you want to get review.
Open autocomplete search
by typing cmd + shift + p
(Mac users) or ctr + shift + p
(Windows and Linux users).
Search for Review code
and press enter.
Hover on the selected code, you will be able to see a hover message
that shows the improved version of your code with bonus tips.
You can copy the entire code if you want.
To watch the complete video: