How to Turn on & off Word Wrap Feature in VSCode IDE
0 views
Jul 2, 2025
Get the full source code of application here:
View Video Transcript
0:00
Uh hello guys, welcome to this video. So
0:02
in this video, we'll show you how to
0:05
turn on or turn off word wrap inside
0:08
your VS code. Word wrapping is very much
0:11
important if you have a very large
0:12
amount of text. As you can see, we have
0:16
inside this JavaScript code, we have
0:18
this variable which contains a lot of
0:20
text. So if by default word rap is on,
0:24
so that's why it split it across
0:26
multiple lines. But if you disable
0:30
word, you can easily disable it by going
0:32
to your user setting file. Just open
0:36
your command pallet control shiftp and
0:39
just search for this user setting file.
0:42
And there is this property you can just
0:44
manipulate in double quotes editor dot
0:48
word and by default it's on. So you can
0:55
turn off this word wrap. So now what
0:58
happen
1:02
when you disable word wrap it will
1:04
switch to a single line. So that you
1:06
want to now horizontally scroll the
1:09
actual code to see the entire line. But
1:11
if I just turn word wrap on now what
1:15
happens? You will see it will split the
1:17
entire text into multiple lines. So I
1:21
prefer this word wrap feature to be on.
1:23
So by default it is on. But if you if
1:26
for some reason if you want to disable
1:28
it, you can change this property to off.
1:31
So now it is off.
1:34
So in this way you can do this. Uh thank
1:36
you very much for watching this video
1:38
and also check out my website
1:40
freemediattools.com
1:42
uh which contains thousands of tools.