Visual Studio Javascript extensions feature comparison

前端 未结 5 1436
日久生厌
日久生厌 2020-12-13 07:08

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

相关标签:
5条回答
  • 2020-12-13 07:24

    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.

    0 讨论(0)
  • 2020-12-13 07:28

    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.

    0 讨论(0)
  • 2020-12-13 07:35

    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.

    0 讨论(0)
  • 2020-12-13 07:42

    Try JScript Editor Extensions by Microsoft for VS2010

    0 讨论(0)
  • 2020-12-13 07:44

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

    0 讨论(0)
提交回复
热议问题