4

I know live server opens with a browser. But is it possible to open it inside editor? Like I split the editor window with two .js files.

vefi
  • 43
  • 1
  • 4

3 Answers3

6

Yup, you Open the pallet (Ctrl + Shift + P)

Select "Simple Browser: Preview" and then enter the web address

Hamid Shoja
  • 3,838
  • 4
  • 30
  • 45
1

you Open the pallet (Ctrl + Shift + P)

Select "Simple Browser: Show" and then enter the web address

Syscall
  • 19,327
  • 10
  • 37
  • 52
0

Maybe you should install a plugin named live preview instead of live server. click right in an html file. and then you can achive the live preview in vscode editor.

Here are two demo images. Hope my answer is helpful to you.

demo image01 demo image02

jiakai
  • 31
  • 4