Visual Studio Code 插件(格式/拼写检查)

2024-03-26

使用新的 Visual Studio Code 编辑器与 1。这是not完整的 Visual Studio IDE,但基于atom.io 的代码编辑器。我想安装专门用于拼写检查和格式化代码的插件。我怎样才能做到这一点?

我已按照此处的说明进行操作:Atom 编辑器中有用于格式化 HTML 的命令吗? https://stackoverflow.com/questions/24189068/is-there-a-command-for-formatting-html-in-the-atom-io-editor但意识到我没有安装插件命令。


问题提出(和回答)已经过去几个月了,但值得庆幸的是,事情已经发生了变化!

VSCode 现在支持扩展! http://blogs.msdn.com/b/vscode/archive/2015/11/17/announcing-visual-studio-code-beta.aspx

以下是上述博客文章的相关摘录:

扩展市场/画廊

To complement the extensibility mechanism, we have also launched an in product gallery and web based extension marketplace. These allow you to discover and install extensions. To open this up in VSCode, simply hit F1 and select Extensions: Install Extensions.

或者,您可以浏览扩展市场:https://marketplace.visualstudio.com/#VSCode https://marketplace.visualstudio.com/#VSCode.

我在市场上进行了快速搜索,并轻松找到了拼写和源格式的多个扩展,但我将放弃提出任何具体建议,因为每个人的要求都不同。

对于任何想要为 VSCode 编写自己的扩展的人,请查看以下文档:扩展 VSCode https://code.visualstudio.com/docs/extensions/overview,因为它包含您开始编写自己的扩展所需的大量信息。

最后,感谢Daniel https://stackoverflow.com/users/2131717/daniel-lemke for 他的评论 https://stackoverflow.com/questions/30224784/visual-studio-code-plugins-format-spell-check#comment55368706_30227105。它帮助我找到了所需的信息,但为了节省未来访客的时间,我认为值得分享我的发现。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Visual Studio Code 插件(格式/拼写检查) 的相关文章

随机推荐