更新时间:2023-02-18 22:48:50
CodeRush支持五十二个JavaScript重构:
八个消费者声明和快速修复功能:
此外,我们正在努力改进10.2版本的重构支持。我们最近也改进了Quick Nav,以便导航到JavaScript函数,就像C#或VB中的导航一样简单。这种改进将在10.2中发布,但现在可供CodeRush客户在日常生活中使用。
全面披露 - 我领导DevExpress的CodeRush团队。
Over a year ago, I remember watching one of DevExpress evangelists previewing or at least promoting rich Javascript refactoring (beyond just limited intellisense) within the Visual Studio shell, I recall part of CodeRush/DevExpress product line. I was excited.
On checking today (lmgtfy) I can find only very very limited reference to it, just one small italtic line about beta in product description, no videos, no blog posts, no community buzz. Was it dropped? Vapourware? Poor implementation that they dont even promote it?
With Javascript arguably the most popular programming language ever and with a VM for it on practically every machine in last 10 years, why is editor support so poor? (Compared with those for Java and C#)? You see the likes of ScottGu bragging we now have jQuery intellisense but compare this to richness of C# support in the IDE it is a joke.
Someone once said since there are many style of writing Javascript a rich IDE (beyond intellisense) with refactoring support is difficult, but if several engines can interpret/compile JS with same result surely it should be hard to analysis it to support stuff like rename variable, extract method, move to another namespace (or JS minic of it), etc.. Am I wrong?
CodeRush supports fifty-two JavaScript refactorings:
And eight consume-first declaration and quick fix features:
Also, we're working to improve our refactoring support for the 10.2 release. We've also recently improved Quick Nav to make navigating to JavaScript functions as easy as navigation in C# or VB. This improvement will ship in 10.2 but is available now for CodeRush customers in a daily build.
Full Disclosure -- I lead the CodeRush team at DevExpress.