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

时间:2023-01-14 18:43:26

Using the new "Visual Studio Code" code editor vs 1. This is not the full Visual Studio IDE but their atom.io based code editor. I would like to install plugins specifically for spell check and formatting my code. How can I do this ?

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

Ive followed instructions here : Is there a command for formatting html in the Atom.io editor? but realized that I do not have a install plugin command.

我按照说明进行操作:在Atom.io编辑器中是否有用于格式化html的命令?但意识到我没有安装插件命令。

2 个解决方案

#1


It's been a few months since the question was asked (and answered), but thankfully, things have changed!

问题被问及(并回答)已经过了几个月,但幸运的是,情况发生了变化!

VSCode now support extensions!

Here's a relevant excerpt from the above blog post:

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

Extension Marketplace/Gallery

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.

为了补充可扩展性机制,我们还推出了产品库和基于Web的扩展市场。这些允许您发现和安装扩展。要在VSCode中打开它,只需单击F1并选择Extensions:Install Extensions。

Alternatively, you can browse the Extension Marketplace at https://marketplace.visualstudio.com/#VSCode.

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

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

I gave the marketplace a quick search and easily found multiple extensions for spelling and source formatting, but I'll forego making any specific recommendations since everyone's requirements are different.

我给市场一个快速搜索,很容易找到拼写和源格式的多个扩展,但我会放弃提出任何具体的建议,因为每个人的要求是不同的。

For anyone looking to write their own extensions for VSCode, take a look at the documentation for extending VSCode, as it has a lot of the information you'd need to start writing your own extensions.

对于任何想要为VSCode编写自己的扩展的人,请查看扩展VSCode的文档,因为它有很多开始编写自己的扩展所需的信息。

Lastly, thanks to Daniel for his comment. It helped me find the information I needed, but to save future visitors some time, I thought it was worth sharing my findings.

最后,感谢Daniel的评论。它帮助我找到了我需要的信息,但为了节省未来的访问者一些时间,我认为值得分享我的发现。

#2


Plugin support is not currently enabled in the VSCode editor. The development team were not happy with the plugin API, so they have disabled them until further work can be made on this.

VSCode编辑器中当前未启用插件支持。开发团队对插件API不满意,所以他们已经禁用它们,直到可以对此进行进一步的工作。

For more information, see this post: https://*.com/a/30006220/495328

有关详细信息,请参阅此帖子:https://*.com/a/30006220/495328

#1


It's been a few months since the question was asked (and answered), but thankfully, things have changed!

问题被问及(并回答)已经过了几个月,但幸运的是,情况发生了变化!

VSCode now support extensions!

Here's a relevant excerpt from the above blog post:

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

Extension Marketplace/Gallery

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.

为了补充可扩展性机制,我们还推出了产品库和基于Web的扩展市场。这些允许您发现和安装扩展。要在VSCode中打开它,只需单击F1并选择Extensions:Install Extensions。

Alternatively, you can browse the Extension Marketplace at https://marketplace.visualstudio.com/#VSCode.

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

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

I gave the marketplace a quick search and easily found multiple extensions for spelling and source formatting, but I'll forego making any specific recommendations since everyone's requirements are different.

我给市场一个快速搜索,很容易找到拼写和源格式的多个扩展,但我会放弃提出任何具体的建议,因为每个人的要求是不同的。

For anyone looking to write their own extensions for VSCode, take a look at the documentation for extending VSCode, as it has a lot of the information you'd need to start writing your own extensions.

对于任何想要为VSCode编写自己的扩展的人,请查看扩展VSCode的文档,因为它有很多开始编写自己的扩展所需的信息。

Lastly, thanks to Daniel for his comment. It helped me find the information I needed, but to save future visitors some time, I thought it was worth sharing my findings.

最后,感谢Daniel的评论。它帮助我找到了我需要的信息,但为了节省未来的访问者一些时间,我认为值得分享我的发现。

#2


Plugin support is not currently enabled in the VSCode editor. The development team were not happy with the plugin API, so they have disabled them until further work can be made on this.

VSCode编辑器中当前未启用插件支持。开发团队对插件API不满意,所以他们已经禁用它们,直到可以对此进行进一步的工作。

For more information, see this post: https://*.com/a/30006220/495328

有关详细信息,请参阅此帖子:https://*.com/a/30006220/495328