Skip to content

Chrome based browser (CefSharp) inside Visual Studio for showing HTML pages.

License

Notifications You must be signed in to change notification settings

PlumpMath/HtmlView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Visual Studio extensions that provides to the HTML editor an area where it shows a preview of your HTML page. Essentially it is a Chrome based browser inside Visual Studio showing your HTML page. Internally it uses on CEFSharp.

Features

  • Chrome DevTools (shortcut: F12)
  • Console area shows any log output (errors or console.log() calls)
  • CTRL+SHIFT+CLICK any element to inspect it

How to use

  • previewer by default is always OFF for all .HTML files
  • you must enable it in a per-file basis; to do it add the following line at the start of your HTML and save the file:

<!-- HtmlView:on -->

  • it is always ON for files named 'unittest.html'
  • you can toggle the previewer by simply setting it to off (or just remove the first line) and save the file:

<!-- HtmlView:off -->

  • you can make the console area always visible:

<!-- HtmlView:on, console:on -->

About

Chrome based browser (CefSharp) inside Visual Studio for showing HTML pages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.4%
  • HTML 1.5%
  • Batchfile 0.1%