具有忽略 (X)HTML/CSS/javascript 标签的拼写检查器的文本编辑器?
您是否知道任何可以与拼写检查器一起使用的文本编辑器,该拼写检查器足够智能,可以忽略 XHML/CSS 和 javascript 标签?
要求是:
它必须在 Linux 中运行;
它必须是免费且开源的;
它不需要具有所见即所得的功能,但它们会受到欢迎。
它必须具有内置的“标签跳过”功能,或者可配置为跳过 (X)HTML 标签、CSS 和嵌入式 Javascript;
它不需要有 HTML 验证器,但如果有的话那就更好了;
我尝试过使用 Kate 的拼写检查器插件、Firefox 的 HTML 验证器、Eclipse 的 HTML 编辑器,但我找不到具有忽略 hml 标签的拼写检查器的解决方案。
感谢您的帮助, 路易斯
Do you know of any text editor that can be used with a spell checker which is smart enough to ignore XHML/CSS and javascript tags?
The requirements would be:
It must run in Linux;
It must be free and open source;
It doesn't need to have WYSIWYG capabilities, but they would be welcome.
It must have built in "tag skipping" capabilities or be configurable to skip (X)HTML tags, CSS and embedded Javascript;
It doesn't need to have a HTML validator, but if it does it will be a plus;
I've tried to use spell checker plugins for Kate, HTML validators for Firefox, Eclipse's HTML editor, but I couldn't find a solution that have a speel checker that ignores hml tags.
Thanks for any help,
Luís
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Emacs + Flyspell-prog-mode + nxhtml-mode
Emacs + flyspell-prog-mode + nxhtml-mode
Vim。例如,我使用以下设置:
Vim. For example, I use the following settings:
尽管其他人引用了其他优秀的基于文本的编辑器,但有些人可能会发现 GUI 应用程序更容易学习。
有 BlueFish 编辑器。它支持 HTML、CSS、Javascript 等语言。我刚刚进行了更多实验,它的拼写检查器确实忽略了所有 HTML 标签。
编辑:不过,拼写检查器不会忽略 javascript。除此之外,它还有效。
Although other people have cited other good text-based editors, some people might find a GUI application easier to learn.
There is the BlueFish editor. It supports HTML, CSS, Javascript and other languages. I've just experimented a little more and its spell checker does ignore all HTML tags.
Edit: the spell checker doesn't ignore javascript, though. Other than that, it works.