Is there a good javascript plugin for visual studio?

前端 未结 5 1884
無奈伤痛
無奈伤痛 2021-02-01 05:29

I think that Visual Studio\'s biggest let down is the Javascript editor. I have been told to use Aptana as an editor for my javascript files, but I would prefer to stick with v

5条回答
  •  臣服心动
    2021-02-01 05:42

    I'd really like to recommend Webstorm. It does not! treat your JS as text files.

    Its a full blown JS editor and has become my favourite JS editor working in parallel with VS to handle my server side stuff.

    • WS has actual object intellisense across JS files. That means when I press . (dot) it shows me the functions on that objects, even if its located physically in another file.

    • It will recognize my objects (or their type if you will) created in other JS files referred to in the file I'm working on.

    • I have 'Find usages' on JS functions

    • I have 'find all references' on JS object / function / class / variable or whatever you want to search on. In the end its all objects but Webstorm knows this.

    • If I change the short/cut to F12, I can press F12 on my function call and it will jump to the implementation of that JS functon. Even if its located in another file.

    • Ofc. you have code folding and colouring, extract method and other neat code re factoring, overview creating tools.

    Oh. And by the way. I'd like to kill off a rumour going around in the cloud on forums I come across from time to time, looking for better ways to handle JS.

    reSharper DO NOT SUPPORT JAVASCRIPT! A little piece of me dies every time I read some guy repeating what he saw on the reSharper site. It may have a some poor intellisense and some low level syntax check, but that has nothing to do with support. Notepad++ supports JS better than VS in my opinion.

    Münster

提交回复
热议问题