Html Notepad ++的实时预览/所见即所得支持(插件?)?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16058975/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 07:38:05  来源:igfitidea点击:

Live Preview / WYSIWYG support (plugin?) for Notepad++?

htmlcssnotepad++wysiwyglive-preview

提问by Flak DiNenno

Anyone know of a way to have a split screen view in Notepad++ where I can be editing my HTML / CSS in one pane/tab and be seeing the Live Preview of what it would look like in a browser in another tab/pane.

任何人都知道在 Notepad++ 中拥有分屏视图的方法,我可以在其中编辑我的 HTML/CSS 在一个窗格/选项卡中,并在另一个选项卡/窗格中查看它在浏览器中的外观的实时预览。

Ideally, this would be:

理想情况下,这将是:

  1. in Notepad++ itself (using native panes/tabs as described above)
  2. the user could configure whatever browser rendering engine (Chrome, FF, IE, etc...) they wanted to view the preview in
  1. 在 Notepad++ 本身中(使用如上所述的本机窗格/选项卡)
  2. 用户可以配置他们想要查看预览的任何浏览器渲染引擎(Chrome、FF、IE 等...)

however, I could live with any variation of the two above, e.g. simply integrated with RubyMine using external windows/browsers, or maybe, the preview only available with limited rendering engines (only Chrome let's say).

但是,我可以接受上述两者的任何变体,例如简单地使用外部窗口/浏览器与 RubyMine 集成,或者预览仅适用于有限的渲染引擎(假设只有 Chrome)。

采纳答案by psxls

The plugin Preview HTMLis the closest match to what your are looking for.

该插件Preview HTML与您正在寻找的内容最接近。

Go to the Pluginsmenu and then find the Preview HTMLentry to install it. Its description is: Preview HTML files inside Notepad++ (or in a floating window) without having to save them first.The latest update now refreshes the preview automatically after switching tabs, or whenever the document is changed.

转到Plugins菜单,然后找到Preview HTML安装它的条目。它的描述是:在 Notepad++ 中(或在浮动窗口中)预览 HTML 文件,而不必先保存它们。最新更新现在会在切换选项卡后或文档更改时自动刷新预览。

More information in the official website.

更多信息请见官

回答by user2297057

I know programs such as Webstorm JetBrains 6.0.1 can do this, you will have to download the chrome extension also. If not, then you can always use Codeacademy.com as an alternative and type code into there editor. It still works. :/

我知道诸如 Webstorm JetBrains 6.0.1 之类的程序可以做到这一点,您还必须下载 chrome 扩展程序。如果没有,那么您始终可以使用 Codeacademy.com 作为替代方法,然后在该编辑器中输入代码。它仍然有效。:/

回答by plxaye

I think you're looking for it,the"Preview HTML".

我想你正在寻找它,“预览 HTML”。

this is the Introduction:http://chiselapp.com/user/vor0nwe/repository/npp_preview/home

这是简介:http://chiselapp.com/user/vor0nwe/repository/npp_preview/home