'Can I use Live Server inside Vscode editor?

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.



Solution 1:[1]

you Open the pallet (Ctrl + Shift + P)

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

Solution 2:[2]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Syscall
Solution 2 jiakai