These VS Code Extensions made me a 10x developer 🔥🔥

RoadsideCoder
29 Sept 202426:09

Summary

TLDRThis video tutorial highlights essential Visual Studio Code extensions for developers. It's divided into three sections: code editing and formatting, version control, and enhancing developer experience. Key extensions include Auto Rename Tag, ES7 React Redux snippets, Prettier, ESLint, and multiple cursor case preservation. It also introduces Git Graph for visualizing commit history, GitLens for tracking changes, Live Share for real-time collaboration, and Peacock for theming. The video concludes with an AI co-pilot tool, 'Continue', offering local code completion and chatbot functionality.

Takeaways

  • 🔧 The video is divided into three sections focusing on code editing/formatting, Version Control, and enhancing developer experience.
  • 🛠️ 'Auto Rename Tag' is an extension that automatically updates closing HTML tags when the opening tag is edited.
  • ✂️ 'ES7 React Redux React Native Snippets' provides boilerplate code for React components, saving time in development.
  • 📄 'Prettier' is a widely used code formatter that automatically formats code, making it more readable.
  • 👮 'ESLint' is used for identifying and reporting on patterns in code, with rules that can be customized to fit industry standards.
  • 🔑 'Multiple Cursor Case Preserve' assists in maintaining consistent naming conventions when renaming variables or functions.
  • 🌐 'Git Graph' visualizes the commit history of a project, aiding in understanding the development timeline and managing branches.
  • 🔍 'GitLens' shows detailed information about commits directly within the code, helping to identify who made changes and when.
  • 🤝 'Live Share' allows real-time collaboration on code, enabling developers to work together regardless of their location.
  • 🎨 'Peacock' and 'Material Icon Theme' enhance the visual aesthetics of VS Code, improving the user interface and file辨识度.
  • 📖 'Markdown Preview Enhanced' provides a live preview of Markdown files, making it easier to create and edit README files.

Q & A

  • What are the three sections discussed in the video for improving developer experience with VS Code extensions?

    -The video is divided into three sections: code editing and formatting, version control extensions, and extensions to improve developer experience.

  • Which extension is recommended for automatically updating HTML tag pairs?

    -The 'Auto Rename Tag' extension is recommended for automatically updating HTML tag pairs.

  • How does the 'ES7 React Redux React Native Snippets' extension help in code development?

    -The 'ES7 React Redux React Native Snippets' extension helps by providing boilerplate code for React components when specific shortcuts are typed, saving time in large-scale application development.

  • What is the purpose of the 'Prettier' code formatter extension?

    -The 'Prettier' extension is used to automatically format code, ensuring consistency and readability by removing unnecessary spaces and adhering to standard formatting rules.

  • How does 'ESLint' differ from 'Prettier' in terms of code formatting?

    -While 'Prettier' focuses solely on code formatting, 'ESLint' is more comprehensive, enforcing code quality standards and identifying potential errors in addition to formatting.

  • What problem does the 'Multiple Cursor Case Preserve' extension solve?

    -The 'Multiple Cursor Case Preserve' extension solves the problem of maintaining consistent camelCase or other case formatting when renaming multiple variables or functions simultaneously.

  • What is the benefit of using the 'Git Graph' extension for version control?

    -The 'Git Graph' extension provides a visual representation of the commit history, making it easier to understand the hierarchy and manage commits in complex projects.

  • How does the 'GitLens' extension assist in collaboration among developers?

    -The 'GitLens' extension assists by showing detailed information about commits directly in the code, such as who made the commit and when, which helps in tracking changes and resolving issues in collaborative projects.

  • What is the main feature of the 'Live Share' extension for collaborative development?

    -The 'Live Share' extension allows real-time collaboration by enabling multiple developers to edit the same codebase simultaneously, seeing each other's changes live within the VS Code environment.

  • What does the 'Peacock' extension do to enhance the VS Code interface?

    -The 'Peacock' extension allows users to change the VS Code sidebar color to personalize the workspace and improve aesthetics.

  • How can the 'Material Icon Theme' extension help in identifying file types?

    -The 'Material Icon Theme' extension enhances file and folder辨识度 by providing distinctive icons for different types of files and folders, which aids in quickly identifying their contents.

Outlines

00:00

💻 Enhancing Development Productivity with VS Code Extensions

The paragraph introduces a video focused on VS Code extensions that can significantly boost a developer's productivity. It's divided into three sections: code editing and formatting, version control, and overall developer experience enhancement. The narrator emphasizes the importance of these extensions in making code more readable and efficient to edit. They also mention an AI copilot that revolutionizes application development. The first extension discussed is 'Auto Rename Tag', which automatically updates HTML closing tags when the opening tag is edited. This saves time and prevents errors. The second extension, 'ES7 React Redux React Native Snippets', provides boilerplate code for React components, expediting the development process. The third extension, 'Prettier', is highlighted for its ability to automatically format code, ensuring consistency and cleanliness. Lastly, 'ESLint' is introduced for its role in identifying and enforcing code quality standards.

05:01

🔍 Streamlining Code Quality with ESLint and Other Extensions

This paragraph delves deeper into 'ESLint', emphasizing its prevalence in the industry for maintaining code quality. The narrator demonstrates how ESLint rules can alert developers to unused variables and imports, thus preventing potential bugs and enhancing code efficiency. They also introduce the 'Multiple Cursor Case Preserve' extension, which simplifies the process of renaming variables while maintaining consistent case formatting. The paragraph also includes a recommendation for a resource to learn advanced JavaScript concepts, with a mention of a special discount for viewers.

10:01

🤝 Version Control and Collaboration Extensions

The focus of this paragraph is on extensions that aid in version control and collaboration. 'Git Graph' is introduced as a tool to visualize and manage Git commits, making it easier to understand the history and progression of code changes. The narrator also mentions 'GitLens', which provides insights into commit histories and authorship directly within the code editor. Another extension, 'Live Share', is highlighted for its ability to enable real-time collaborative coding sessions, allowing developers to work together regardless of their location.

15:05

🎨 Customizing VS Code for an Enhanced Developer Experience

This paragraph discusses extensions that enhance the visual and interactive aspects of the VS Code environment. 'Peacock' is introduced for customizing the editor's color theme, while 'Material Icon Theme' adds visually appealing icons to files and folders. The 'Next.js Nav' extension is showcased for its ability to provide a clear navigation structure for Next.js applications, making it easier to locate and manage files within complex projects.

20:08

🧩 Tailwind CSS and Other Technology-Specific Extensions

The paragraph highlights 'Tailwind CSS IntelliSense', an extension that assists developers with Tailwind CSS class suggestions, speeding up the development process. The narrator also mentions that there are similar extensions available for other technologies like Angular, Node.js, and Python, allowing developers to tailor their coding environment to their specific tech stack.

25:10

🤖 Introducing Local AI Code Completion with 'Continue'

The final paragraph introduces 'Continue', an AI code completion tool that serves as an alternative to GitHub Copilot. The narrator explains how to set up and use 'Continue' with the open-source 'Llama' model for local, offline code completion. They demonstrate how 'Continue' can provide real-time code suggestions and even explain code snippets, offering a seamless development experience without the need to switch contexts.

Mindmap

Keywords

💡VS Code Extensions

VS Code Extensions are add-ons that can be installed in Visual Studio Code to enhance its functionality. In the video, the presenter discusses various extensions that can make a developer more efficient, such as 'Auto Rename Tag' for automatically updating HTML tags, 'ES7 React/Redux/React Native Snippets' for generating boilerplate code, and 'Prettier' for code formatting. These extensions are central to the video's theme of improving developer productivity.

💡Code Editing and Formatting

Code editing and formatting refer to the processes of writing and structuring code in a way that is efficient, readable, and maintainable. The video emphasizes the importance of these processes by showcasing extensions like 'Auto Rename Tag' and 'Prettier', which automate aspects of code editing and enforce consistent formatting standards.

💡Version Control

Version control is a system that records changes to a file or set of files over time so that developers can track and manage these changes. The video introduces extensions like 'Git Graph' and 'GitLens' that enhance the experience of using Git and GitHub, which are popular tools for version control, by providing visual representations of commit histories and authorship information.

💡Developer Experience

Developer Experience (DX) pertains to how easily and efficiently developers can use tools and technologies to create software. The video's third section focuses on improving DX through extensions like 'Peacock' for theming and 'Material Icon Theme' for enhancing file and folder icons, which contribute to a more pleasant and organized development environment.

💡AI Co-pilot

An AI Co-pilot is a tool that uses artificial intelligence to assist developers in writing code. The video mentions an extension called 'Continue' that can act as a local AI code completion tool, similar to GitHub Copilot. It uses AI models to suggest code and explain existing code, which can significantly speed up development and reduce the learning curve for new technologies.

💡ESLint

ESLint is a pluggable JavaScript linter that enforces a consistent style and a set of rules in JavaScript codebases. In the video, the presenter explains how ESLint can be configured to enforce coding standards, prevent errors, and highlight unused variables or imports, which helps maintain code quality.

💡React Snippets

React Snippets are pre-written code templates for React components that can be quickly inserted into a project. The video highlights the use of 'ES7 React/Redux/React Native Snippets' extension, which provides boilerplate code for React components, saving time and ensuring consistency in the structure of new components.

💡GitLens

GitLens is a VS Code extension that helps in code authorship and exploration. It provides insights into the history and evolution of code, such as who made changes, when, and what changes were made. The video uses GitLens as an example of an extension that can supercharge the Git and GitHub experience by making it easier to understand and navigate commit histories.

💡Live Share

Live Share is a VS Code extension that allows real-time collaborative editing and debugging with others. The video demonstrates how Live Share can be used to invite others to edit code simultaneously, regardless of their location, which is particularly useful for remote collaboration and pair programming.

💡Peacock

Peacock is a VS Code extension that allows users to change the color of the VS Code sidebar and activity bar. In the video, Peacock is used to personalize the development environment with colors that match the theme of the tutorial being taught, enhancing the aesthetic appeal and user experience.

💡Material Icon Theme

Material Icon Theme is a VS Code extension that enhances the file and folder icons in the editor to make them more visually distinct and informative. The video mentions how this extension can help developers quickly identify different types of files and folders by their icons, improving the overall navigation and organization within the codebase.

Highlights

Introduction to VS Code extensions that can enhance development efficiency.

Section划分: 代码编辑和格式化、版本控制、提升开发体验的扩展介绍。

Auto Rename Tag扩展,自动重命名HTML标签。

ES7 React/Redux/React Native Snippets扩展,快速生成React组件代码模板。

Prettier代码格式化扩展,简化代码格式处理。

ESLint扩展,代码质量和风格检查。

Multiple cursors case preserve扩展,保持驼峰命名一致性。

推荐Scriba平台进行高级JavaScript学习。

Git Graph扩展,可视化Git仓库的提交历史。

GitLens扩展,代码历史和作者追踪。

Live Share扩展,实时代码共享和协作。

Peacock扩展,自定义VS Code颜色主题。

Material Icon Theme扩展,美化文件和文件夹图标。

Nextjs Nav扩展,增强Next.js项目的导航体验。

Tailwind CSS IntelliSense扩展,智能提示Tailwind CSS类。

Markdown Preview扩展,实时预览Markdown文件。

介绍本地AI代码补全工具,如Continue扩展。

Continue扩展配置和使用演示。

使用Continue扩展进行代码解释和查询。

Transcripts

play00:00

using these vs code extensions will make

play00:02

you a 10x developer and that is why I've

play00:04

divided this video into three separate

play00:06

sections in the first section I will

play00:08

tell you the extensions which will help

play00:09

you out in code editing and formatting

play00:12

so that you don't get lost while

play00:13

developing your applications in the

play00:15

second section we will discuss the

play00:17

Version Control extensions that can help

play00:19

you supercharge your git and GitHub

play00:21

experience and the third section I'll

play00:23

tell you the extensions which can

play00:24

drastically improve your developer

play00:26

experience and make your development

play00:28

cycle 10 times faster or who knows maybe

play00:31

100 times faster as well if you use

play00:33

these extensions effectively and I will

play00:35

also tell you about a local AI co-pilot

play00:38

which will change the game on how you

play00:39

develop your applications so let's get

play00:41

into

play00:44

it all right so first let's discuss the

play00:46

extensions related to the code editing

play00:49

and formatting basically these

play00:50

extensions will help us in making our

play00:53

code much more readable and more

play00:55

effective to update or you know edit our

play00:57

code basically so the first one is Auto

play00:59

rename tag so I'm going to come on to

play01:01

this extensions tab over here and search

play01:04

auto rename tag and here it is and click

play01:07

on install so I've opened uh my calendly

play01:09

clone project over here that I recently

play01:12

uploaded on my channel so I've opened a

play01:14

component over here and here now you can

play01:16

see we have this button over here right

play01:19

now first of all if I just go on and

play01:21

disable this extension first and then

play01:23

try to let's say edit this button let's

play01:25

say button one over here right now

play01:27

you've written button one over here but

play01:29

the closing tag is still button right

play01:31

you have to write one over here manually

play01:34

and trust me in Long Run things like

play01:36

this can take a lot of your time so to

play01:38

prevent this we have Auto rename tag so

play01:41

let's enable it now and now if I go on

play01:43

and say button one notice it has updated

play01:47

the closing tag as well this is awesome

play01:49

now the second extension is this es7

play01:51

react Redux react native snippits and

play01:54

I've seen a lot of you ask me how I do

play01:57

this so if I create a new file let's say

play02:00

test. jsx and I say R A fce if you're

play02:04

developing a react or xjs application if

play02:07

you type this and click on over here you

play02:09

can see it gives you a boiler plate code

play02:11

for that particular react component and

play02:14

it has multiple different things so

play02:15

let's just say r a f and you can see if

play02:18

you press control space over here it

play02:20

will show you a display right here on

play02:22

what that Cod snipper is all about right

play02:24

so this is a arrow function with the

play02:26

separate export default this one has

play02:28

prop types as well so if I click on over

play02:30

here and now you can see it has Auto

play02:31

selected all these four sections now if

play02:34

I say test component and press tab over

play02:38

here you can see it has created this

play02:40

component for me with the prop types and

play02:42

everything in any other scenario we

play02:44

would have spent probably 10 15 seconds

play02:46

writing this code right so this can

play02:48

massively save your time when you want

play02:50

to quickly develop a large scale

play02:52

application okay did you notice

play02:54

something our component was looking like

play02:56

this right but when I pressed save so

play03:00

control s did you see what just happened

play03:03

single quotes changed to double quotes

play03:05

this didn't have any bracket but now it

play03:08

does what's going on over here how is it

play03:10

autof formatting and that brings me to

play03:12

my next extension which is prettier so

play03:16

over here in this extensions tab there

play03:18

we go prettier code formatter and trust

play03:21

me this is the most widely used

play03:23

extensions out there and this will make

play03:25

your code formatting a breeze if I let's

play03:28

say uh press some spaces over here now

play03:30

these are unnecessary spaces right

play03:31

prettier knows that we don't need it if

play03:33

I and when I press crl s it will

play03:35

automatically delete this unnecessary

play03:37

space if I say multiple different spaces

play03:39

over here now obviously only one space

play03:41

will be considered if I press save now

play03:44

it will only allow one space and it will

play03:47

you know remove the other spaces now

play03:49

obviously these things are configurable

play03:51

as well in the settings so if I go to

play03:53

settings over here just search prettier

play03:56

and here you can see we have this

play03:58

prettier option and the there are lot of

play04:00

options to configure like you can add

play04:02

any configuration file over here as well

play04:05

if you scroll down you have multiple

play04:06

different options like if you want to

play04:08

config like if you want to format the

play04:11

code on Save if you want to format the

play04:12

code on paste so I will highly recommend

play04:15

you guys to you know go on and check and

play04:17

explore uh these settings over here

play04:19

according to your need but what I feel

play04:21

like is probably the more industry

play04:23

standard uh formatter is not prettier

play04:27

it's actually es lint so so if you

play04:29

search es lint over here it's kind of

play04:33

very similar to prettier but in most of

play04:35

the industry applications I've seen

play04:38

eslint is used a lot and when you

play04:40

initialize or you know when you create a

play04:43

new nextjs app it comes right out of the

play04:45

box with this do eslint rc. Json file

play04:50

and this is basically the configuration

play04:51

file for eslint and whatever rules we

play04:54

write over here it will apply to all

play04:56

other developers whoever uh you know who

play04:58

are using our applic over here now let

play05:00

me show you if I remove this rule over

play05:02

here see we got no error in this

play05:05

component but you can see over here this

play05:07

prop types is not being used anywhere

play05:09

this these props are not being used

play05:11

anywhere right so what I want is

play05:14

whenever these variables and imports if

play05:16

they are not being used it should give

play05:18

us warning right so that's why I've

play05:20

written this rule over here that inside

play05:22

of this rules bracket I've written no

play05:25

unused bars and what I need to do warn

play05:28

if I want it to give me error so I'll

play05:30

say error and now you'll see it will

play05:32

give us red line but I if I just want it

play05:34

to war then it will give us yellow line

play05:36

over here right and it will even tell us

play05:38

that props is declared but it's never

play05:40

used and so that is from us code

play05:42

actually and this is from uh es lint

play05:44

rules so Props is defined but never Ed

play05:46

so if you are working in some companies

play05:49

uh and all you might have seen something

play05:51

like this like you might have attempted

play05:53

to do something or change something

play05:55

inside of a component but you can see

play05:57

it's not allowing you to do this it's

play05:58

because there are set eslint rules that

play06:01

are written inside this eslint rc. Json

play06:05

file now there are a lot of things that

play06:08

uh you know goes on in writing a

play06:10

configuration like this and I would

play06:11

highly recommend you to go on and check

play06:13

out their documentation to learn about

play06:15

all of them and if you want me to create

play06:16

a in-depth video on this just let me

play06:17

know in the comments down below now this

play06:20

another extension is something that I

play06:22

didn't know for a very long time but

play06:24

when I discovered this it honestly

play06:27

relieved so much of my pain and I'll

play06:29

show you probably you don't even know

play06:30

about that this is something that you

play06:32

want to solve in your life but now with

play06:35

this extension you will get it so let me

play06:37

show you over here you can see I have

play06:39

three variables loading error and

play06:40

function so I've basically created this

play06:42

uh custom hook over here and I've

play06:44

renamed all of these three things just

play06:47

like this for loading it will be loading

play06:49

and name of that event like for example

play06:51

create event for error I have renamed it

play06:53

to error and whatever the name of event

play06:54

is and for the function I will keep it

play06:57

exactly just like that like whatever the

play06:59

event is but now over here you can see I

play07:01

have I'm using camel case over here

play07:03

right so the first one is uh lower case

play07:05

and all of the others are upper case

play07:08

lower case uppercase lower case

play07:10

uppercase that's fine but now if I want

play07:13

to change this to some other function

play07:15

right so if I just select using control

play07:17

D so a lot of you might be uh you know

play07:20

editing your code just like this right

play07:22

now if I let's say want to change this

play07:24

to delete event so if I select this and

play07:26

say delete event now this is for

play07:29

following the perfect camel case over

play07:31

here but notice what happened over here

play07:33

now we have a capital D here and we need

play07:36

to manually go on and add a lower case T

play07:40

and this might again look like a very

play07:42

small thing but in in large scale

play07:45

development and you know hours and hours

play07:47

of development things like this can

play07:49

become a real pain point so let me show

play07:51

you how we can uh you know solve it so

play07:53

there's this extension called multiple

play07:55

cursor case and this should uh bring it

play07:59

Yep this one multiple cursor case

play08:02

preserve now notice if I install it and

play08:04

now if I go back I'm going to select

play08:06

this again controll D for both of them

play08:09

and now if I try to say delete over here

play08:12

delete notice what happened it followed

play08:15

the camel case or you know the original

play08:17

basically formatting that we have added

play08:19

over here if I show you again if if this

play08:21

was delete event right it's completely

play08:25

you know in the uppercase format so now

play08:28

if I try to do this again

play08:30

if I say create event notice it has

play08:34

followed the same convention over here

play08:37

this is amazing honestly when I you know

play08:40

discovered this uh extension it relieved

play08:42

so much of my pain and it will do the

play08:44

same for you trust me now before moving

play08:46

forward a lot of you message me and ask

play08:49

me sometimes that what is the best place

play08:51

for learning Advanced Java Script you

play08:54

know functions like generator functions

play08:56

getter or Setter functions Etc right so

play08:59

let me let me show you so this is the

play09:00

resource that I referred to and you can

play09:02

see they have this Advanced JavaScript

play09:04

course over here where in the first

play09:06

chapter itself they will help you to you

play09:08

know solidify your JavaScript

play09:09

foundations by teaching you things like

play09:12

switch tary operator set timeout set

play09:14

interval the event Loop which is very

play09:16

important for interviews as well right

play09:18

if you come down to these last chapters

play09:20

over here you can see collections and

play09:21

symbols which I don't think and a lot of

play09:24

people talk about right which is

play09:26

sometimes asked in senior developer

play09:27

interviews so this platform is called as

play09:29

scriba and I actually reached out to

play09:31

these guys to collaborate for this video

play09:33

and they were kind enough to give me a

play09:35

30% off discount for you guys and the

play09:38

best part about scrimba is their

play09:40

interactive video tutorials like if I

play09:43

show you so you can see over here that

play09:45

instructor is teaching about form

play09:46

actions over here and you can see we

play09:48

have zoomed out of the video and gotten

play09:50

right inside of the code so we don't

play09:53

ever have to leave our website and we

play09:55

can directly jump right into the code we

play09:57

don't have to open vs code or whatever

play09:59

right so definitely click the link in

play10:01

description down below and Avail this

play10:02

30% off which is only valid for next 2

play10:05

weeks right so don't miss out on this

play10:07

offer let's get back to our video all

play10:09

right now let's see the extensions which

play10:10

will help us in Version Control and

play10:14

collaboration with other developers so

play10:16

if I go over here and search get graph

play10:21

and you know in our day-to-day jobs the

play10:23

production grade apps that we work on

play10:25

have I mean infinite amount of comments

play10:28

and everything right so it gets so much

play10:31

messy to manage all of these commits and

play10:33

to understand basically the hierarchy

play10:35

and everything of these things right so

play10:37

this git graph will help you out in that

play10:41

massively so just click on over here

play10:43

like on install button and then go to

play10:46

your this Source control tab over here

play10:50

now here there's this icon for view G

play10:52

graph when you click on it you will see

play10:54

all of the comments that are ever made

play10:57

on this you know app during the

play10:58

development of this app if I click on

play11:00

any of the commit let's say this one so

play11:02

this was my last commit and these are my

play11:04

uncommitted changes right now if I click

play11:06

on it I can see what are all the things

play11:07

that I've changed if I click on it you

play11:09

can see it clearly shows that we have

play11:12

changed these many things inside of our

play11:14

app and if I go to previous commits over

play11:16

here if let's say some developer changed

play11:19

something inside of a file and I want to

play11:20

see what are all the changes that have

play11:22

that they've made over here and you can

play11:23

see they have basically removed this U

play11:25

state from over here and nothing else

play11:27

right so this makes things so much Clear

play11:30

while you know developing our

play11:31

applications but what if we have

play11:34

multiple different branches this one has

play11:35

just one branch right so let me show you

play11:37

so this is basically my react 19 series

play11:39

you can check out from Link in

play11:40

description down below so here you can

play11:42

see we have multiple different branches

play11:44

teaching about multiple different things

play11:46

first of all I uploaded this use action

play11:48

tutorial right so all of these files are

play11:50

over here now I don't want to touch this

play11:53

uh Branch over here right and I want to

play11:55

create new branches from it that's why

play11:57

I've created multiple different branches

play11:59

is like you know use optimistic or this

play12:01

use form status or made some basic

play12:03

changes as well like update readme right

play12:06

so now you can clearly see the

play12:07

representation on when a certain Branch

play12:10

was made on which point and if you want

play12:13

to see let's say just one single Branch

play12:15

let's say if I want to see this use form

play12:17

status Branch if I click on over here

play12:20

use form status you can see the whole

play12:23

timeline of this particular Branch only

play12:26

now if I want to compare it with some

play12:27

other Branch now if I just say Master

play12:29

Branch you can see so it shows us this

play12:31

was the master branch and here this

play12:34

Branch was formed the head and here was

play12:36

the use form status Branch right so this

play12:39

will help you massively and

play12:41

understanding get which is something

play12:44

that confuses freshers the most right so

play12:47

this is the type of tools that you

play12:49

should be using and there's actually one

play12:51

more extension for G that is called as

play12:55

get lens without any spacing Okay so

play12:59

this one I just click on install over

play13:00

here I've already installed it now what

play13:02

will this help us to do so imagine a

play13:04

scenario where um let's say five

play13:06

different developers on are working on

play13:08

some feature and one of the developer

play13:11

broke something inside of our app at

play13:13

some particular line right now either

play13:15

you can go on and uh into the commit and

play13:17

dig when that particular change was made

play13:19

or you can simply go onto that

play13:21

particular line let's say if it was this

play13:23

line if I click on over here in this

play13:24

line it will clearly show who was the

play13:27

one who made this commit and how long

play13:30

ago it shows 2 months ago right so every

play13:32

single detail can be seen right over

play13:34

here this one extension has helped me so

play13:38

much over the years on getting myself

play13:40

out of a situation like that you know if

play13:42

something broke in the branch that I was

play13:44

working I can clearly show no my code

play13:45

didn't break this Branch it was someone

play13:48

else you can clearly see the commit over

play13:49

here this will also tell you uh the name

play13:52

of the commit as well now this third

play13:54

collaboration uh extension is just uh

play13:57

mind-blowing right so if I go on over

play14:00

here in the extensions and search live

play14:02

share click on over here and install

play14:04

this extension now how will this help us

play14:07

let me just open my that kendly clone

play14:09

project back now let's say I'm

play14:11

developing this application and I want

play14:13

uh my friend who lives in some other

play14:15

part of the world to help me develop it

play14:17

so what I will do after installing live

play14:19

share you will see there's this icon

play14:21

over here in your vs code I want it like

play14:24

I can decide if I want him just to see

play14:26

my code or to edit my code as well let's

play14:28

say I want him to edit as well so if I

play14:30

click on share read write and it will

play14:32

start a collaboration session okay there

play14:35

we go it has started the collaboration

play14:36

session it will give you the invite

play14:38

invitation link it has already copied it

play14:39

but if you want to copy again click on

play14:41

copy again right now if I go onto our

play14:43

browser and open this link right over

play14:45

here it will open the vs code instance

play14:48

inside of our browser and it will also

play14:50

ask you that if you want you can you

play14:52

know take uh this to vs code as well you

play14:55

can clearly see it shows us to download

play14:56

vs code but let's say if I don't want to

play14:58

do it right and let's just continue as

play15:00

Anonymous I will say Al go Agarwal press

play15:05

enter and you can see joining

play15:06

collaboration session now I would have

play15:08

gotten a this thing over here like if

play15:10

you want to accept the user so I'll say

play15:13

accept read write and now you'll see

play15:16

that user will join our workspace if I

play15:18

go back to the browser there we go user

play15:20

can see our code successfully and they

play15:22

can see where I am in the code currently

play15:24

and I can see where they are in the code

play15:26

currently so if I hover on this so you

play15:28

can see p is over here and let's see

play15:29

where is algo aaral I can click on over

play15:31

here on their name and it will take me

play15:34

right where they are coding that is over

play15:37

here let's say if if we try to change

play15:39

something let's say hello you can see it

play15:41

is updating everything in real time

play15:44

right here right so this is absolutely

play15:46

amazing I love this and I use this a lot

play15:49

whenever I'm developing an application

play15:51

in you know collaboration with someone

play15:53

either it's a freelance project or if

play15:54

it's you know a company project as well

play15:56

and if you're someone who's preparing

play15:57

for fronted interview you can definitely

play15:59

go and check out my frontend interview

play16:01

preparation course this is the only

play16:03

thing that you will ever need to prepare

play16:05

for your front-end interviews and not

play16:07

only this I've covered every single

play16:08

topic of reactjs like react router Dom

play16:11

Redux all of the hooks class-based

play16:13

component function based component react

play16:16

even the performance optimization which

play16:18

is asked from senior developers a lot

play16:20

tons of machine coding questions as well

play16:22

and obviously in-depth interview

play16:24

preparation course on JavaScript as well

play16:26

and not just this along with this course

play16:29

you get an active Discord Community

play16:31

where you can ask your doubts whenever

play16:33

you get stuck and we will be there to

play16:35

help you so click the link in

play16:36

description down below because right now

play16:38

we're having the biggest sale of the

play16:40

year for a very limited time so don't

play16:42

forget to check it out or you can also

play16:44

scan this QR code on your screen to go

play16:46

directly to the course page all right

play16:48

now the third and the most interesting

play16:50

part of this video that is improving

play16:52

your developer experience now one thing

play16:55

that you may have noticed from the since

play16:56

the beginning of this video is this blue

play16:58

color over here and honestly I love this

play17:01

a lot because this feels you know very

play17:02

aesthetic to be able to apply uh colors

play17:06

onto your vs code so just go to your

play17:08

extensions Tab and search Peacock and

play17:11

here's this this extension obviously

play17:13

this is very like know specific to some

play17:16

people just install this extension and

play17:18

press F1 and now if you search Peacock

play17:21

over here and let's say change to a

play17:24

favorite color here you can see we have

play17:25

bunch of different options you can

play17:27

either you know you can also enter

play17:29

a specific color over here but you know

play17:31

whenever I'm teaching react probably on

play17:33

my channel I like to keep this

play17:34

Mandalorian blue so that you know it

play17:37

fits the theme of what I'm teaching it

play17:39

has node green it has JavaScript yellow

play17:42

and bunch of different colors over here

play17:43

right apart from this you can see my

play17:46

files and folders over here have these

play17:48

beautiful icons which helps me

play17:50

differentiate on What that particular

play17:52

folder contains and this is not

play17:53

something that comes in built in vs code

play17:55

so if you go on over here and search m

play17:58

material icon something like this yeah

play18:01

material icon theme so you can see if

play18:03

you install it if let's say if I disable

play18:06

it right and restart extension you can

play18:08

see it's very simple right now right

play18:12

it's it will only show us these icons

play18:14

for the files and everything but if I go

play18:16

on and enable it you're going to see it

play18:18

looks much more pretty now for Prisma

play18:21

folder it has created this Prisma logo

play18:23

over here for public folder it shows

play18:25

this globe icon hooks components app Etc

play18:28

right so you can see next config icon

play18:31

over here as well so it it supports

play18:32

variety of uh icons for different

play18:34

different types of file types and you

play18:35

can see over here in the file icons List

play18:38

It supports all of these icons and list

play18:40

goes on and on all right now if you're

play18:43

developing a nextjs application just

play18:46

like the one that I have over here

play18:48

sometimes these apps can get a little

play18:49

bit complex right if you open this main

play18:51

folder we have multiple different files

play18:53

and folders over here one inside the

play18:55

other and you it might get you know a

play18:57

little bit over in if you're trying to

play18:59

find some uh file or folder inside of

play19:01

your app so for that we have this nav

play19:05

sorry next do nav Yep this one over here

play19:08

just install it and let me show you what

play19:10

this helps us do and you can see we have

play19:12

this next do nav over here if you click

play19:14

on it there we go we can see uh you know

play19:17

the whole structure of your app

play19:18

obviously this is not the structure of

play19:19

my app we have to configure one thing

play19:21

click on over here and you have to uh

play19:23

set where is our app folder so our app

play19:25

folder is right over here in the root

play19:26

click like enter app and submit

play19:29

now you can see the proper structure of

play19:32

my app inside of the app we have a o

play19:34

folder which contains sign in signup

play19:36

routes we have a username you know a

play19:39

dynamic route a main folder a lip folder

play19:42

multiple different things over here if

play19:43

you want you can click on over here and

play19:45

you can create a file from right here

play19:48

itself if you want to see one particular

play19:50

tree let's say if I just want to see

play19:51

this main tree over here it will only

play19:53

show me that one when I click on it we

play19:55

can go back to the whole tree over here

play19:57

as well so this is also something which

play19:59

is something that we don't know we need

play20:01

but we actually do to make our life much

play20:04

more easier now next uh this thing can

play20:07

vary from different different things

play20:09

right we have Tailwind CSS intelligence

play20:11

right so when you're writing uh the

play20:13

classes Tailwind classes let's say over

play20:15

here if I say text Dash um let's say

play20:20

gray you can see we can see a lot of

play20:23

types of colors over here lot of shades

play20:25

of green orange and whatever that trying

play20:28

to do so it makes our development super

play20:31

fast and we don't have to you know rely

play20:33

on the documentation for these things so

play20:35

these intelligence extensions are very

play20:38

very helpful and you can like if it

play20:40

depends from uh you know the type of

play20:42

tech you're using if you're coding on

play20:43

angular node or if there's some other

play20:47

you know technology like DT python Etc

play20:49

right so you can U install an extension

play20:52

with respect to that now there's one

play20:54

thing that has always been pretty hard

play20:55

for some people and that is writing this

play20:58

read me file you cannot see the preview

play21:02

of this thing over here while you're you

play21:04

know building it but no more we have

play21:07

this thing called as

play21:10

markdown preview this one I believe yeah

play21:12

markdown preview enhance let's say if I

play21:15

install it and now if I go back to my

play21:17

readme file readme.md and now if I click

play21:21

on over here and you're going to see

play21:24

amazing we can see the you know live

play21:26

preview of what we are doing over here

play21:29

if I remove this progress you can see

play21:31

it's updating in real time and we can

play21:33

know what this will be like to see when

play21:35

we upload our you know upload this file

play21:38

onto GitHub generally we would go on and

play21:40

you know create this file in GitHub

play21:41

because there's a preview feature but no

play21:43

more now you can directly you know

play21:44

create a file over here and edit it as

play21:47

well all right now is the moment that

play21:48

all of you are waiting for that is a

play21:50

local AI code completion tool basically

play21:53

an alternate of GitHub co-pilot so if

play21:56

you go to extensions over here and

play21:57

search continue and click on install

play22:00

over here so you can see continue and it

play22:02

supports multiple different AI models

play22:04

and right here you can see it has

play22:06

created a new tab for continue over here

play22:09

so yours might look a little bit

play22:11

different because I've used this

play22:12

extension before right so here you can

play22:14

see this tells us what are all the AI

play22:17

models that you can use with the

play22:19

continue so if you click on quick start

play22:22

it tells you that you can quickly get up

play22:24

and running using the API keys of

play22:26

different different models but we don't

play22:27

want that right we want it to be

play22:28

completely free so we're not going to go

play22:31

on and uh enter like Claud or open uh

play22:34

API Keys over here we're just going to

play22:36

go local with ol Lama and this will

play22:39

basically use the open- source llama 3

play22:41

model from meta so it tells you how to

play22:44

install ama if you click on it and open

play22:46

it so it will open this ama.com download

play22:48

you can quickly go on and download for

play22:50

Windows and close it and you can open it

play22:53

up now it shows us AMA is running at

play22:56

this Local Host right but that is not

play22:58

enough you need to click on over here

play23:00

and install both of these models so this

play23:02

one basically is going to be helping you

play23:04

for chatting with an AI models right

play23:07

inside of your vs code so if you add it

play23:09

to your terminal and press enter it will

play23:10

install it I've already installed it so

play23:12

this one and this one over here as well

play23:14

this will help you to autocomplete

play23:16

things inside of uh you know vs code so

play23:19

let's see let's first uh try it out

play23:21

before that we need to configure one

play23:23

thing so click on over here in the

play23:25

settings of continue so configure

play23:27

continue and you will come onto this

play23:29

file over here now here it shows tab

play23:32

autocomplete model and here you need to

play23:36

write all of these things like you need

play23:37

to provide the title whatever title it

play23:39

is the provider is AMA the model name is

play23:43

this you can find all these things in a

play23:44

documentation uh for continue as well

play23:47

and the API base whatever the API base

play23:49

is so in our case it's 114 34 so that's

play23:52

why I've written it that over here right

play23:55

so this will basically set up our auto

play23:56

complete and over here you can uh

play23:59

for our chat you can select llama 3 so

play24:01

if you click on over here add chat model

play24:04

let's select o l and model let's just

play24:08

say Auto detect and connect so I've just

play24:10

restarted my vs code and now when you

play24:12

click on it over here you can see it uh

play24:15

shows all of these installed models here

play24:17

so let's just select Lama 3 latest and

play24:19

if I say hi you can see it is processing

play24:22

and yep it will give us the responses

play24:25

here as well amazing so we have a local

play24:28

completely free AI chatbot here let's go

play24:31

on to any file um let's say if I go on

play24:34

to this event form right uh now if you

play24:37

press uh let's just uh press enter over

play24:39

here and now you're going to see this

play24:40

will give us code completion you see

play24:42

right away if I say const let's see if I

play24:45

want to add use search params let's see

play24:47

if it's able to detect it or not so

play24:50

search equals use no search yeah you can

play24:54

see use search params it's able to

play24:55

detect what I'm trying to do over here

play24:57

and accordingly it will learn over the

play24:59

time and it will give you you know quote

play25:00

suggestions so yeah this completely

play25:02

replaces GitHub co-pilot into your you

play25:05

know development cycle and if you get

play25:07

stuck somewhere just open this continue

play25:09

uh tab over here and let's just say

play25:11

explain this code you press enter oh it

play25:15

needs to have a context so let's just

play25:18

select this code and you're going to see

play25:20

we have multiple options over here like

play25:21

add to chat edit highlighted code let's

play25:23

say add to chat so we need to just say

play25:25

contrl l and it's added to our chat

play25:28

let's say explain this code right now

play25:32

it's going to quickly go on and explain

play25:33

so we don't have to ever leave vs code

play25:35

or go to chat GPT or CLA whatever right

play25:38

it just explains everything right over

play25:40

here so this is an amazing tool and let

play25:42

me know if you want to see a standalone

play25:44

video on this tool as well and I'll

play25:46

explain you know all of the capabilities

play25:48

on how you can use this effectively one

play25:51

thing to keep in mind is you need to

play25:52

have a decent PC like probably a Mac or

play25:55

if you're using Windows a decent

play25:57

graphics card to run these models in

play26:00

your local machine so yeah that's pretty

play26:02

much it if you're preparing for front

play26:03

interviews definitely click the link in

play26:05

description down below and check out my

play26:07

front end interview preparation course

Rate This

5.0 / 5 (0 votes)

Связанные теги
VS CodeProductivityCode EditingExtensionsDeveloper ToolsAI Co-pilotVersion ControlGit EnhancementCode FormattingCollaboration
Вам нужно краткое изложение на английском?