Visual Studio Javascript extensions feature compar

2019-01-21 16:49发布

I know I'm not the first one that would like to have #region and brace matching support for Javascript. That's why I don't want to install one by one and see which one behaves better and which functionality it supports.

I would like to ask other fellow developers to provide feature comparison for these Visual Studio 2010 Javascript extensions:

And any issues you might've had with them. JSEnhancements seems to have the most downloads, but that still doesn't give me any ideas of its features compared to others.

It's great that Microsoft provides some sort of integrated extension propagation and management, but there's an overwhelming amount of them and it's really hard to choose the right ones.

Other Javascript VS tools

There are other tools as well that some of you may be using. If you find any of those particularly useful, please provide some information and I'll add it here to this list. It may help us lots.

  • Javascript Parser - parses Javascript file and displays a tree structure of the code (closures/functions/...)

5条回答
对你真心纯属浪费
2楼-- · 2019-01-21 16:58

Try JScript Editor Extensions by Microsoft for VS2010

查看更多
趁早两清
3楼-- · 2019-01-21 17:03

Since nobody answered my question let me give you some information about JSEnhancements that I installed in the end and am very very pleased with:

  • it supports #region in javascripts (// #region Name) as well as in CSS files (/* #region Name */) which is really great and they don't interfere with anything since they're part of comments
  • it highlights matching braces even though this is not always working, you have to position yourself correctly. Maybe it interferes with Power Tools that I also use...

Sometimes you have to close+reopen the file for regions to start working. Sometimes writing them down doesn't recognise them. Newer versions work as expected It obviously works fine when you open the file and it parses it.

Anyway. It's stable, works and I'm very pleased with this extension. You won't miss with its installation.

查看更多
Juvenile、少年°
4楼-- · 2019-01-21 17:04

JScript Editor Extensions is much better than JSEnhancements. It will highlight matching braces, cold-folding the blocks, current word highlighting.

Although it does not support #region name,

but you can use javascript curly brackets to enclose your code and place a comment above to know what you are making collapsible.

//My region
{
  //lines of code
  //lines of code
  //lines of code
}

these will collapse and don't appear to affect anything else. javascript just treats them as simple compound statement.

Further, I would also recommend Web Standards Update as it also helped me with intellisense and validation.

查看更多
Fickle 薄情
5楼-- · 2019-01-21 17:07

Well there is one more tool for javascript "Javascript parser" which will parse your files and make a map on it. It is good but for me working with jquery it didn't help much.

Among the rest of the tools you mentioned, I was working too with JSenhancements for some time but I have switched to JScript Editor Extensions which I can tell seems more promising (highlight of current word, para comments etc).

It hasn't crashed since.

查看更多
干净又极端
6楼-- · 2019-01-21 17:12

Javascript Explorer - Though this will not region'ize your code, it sounds to be handy!

查看更多
登录 后发表回答