17 Feb 2014 8:12 AM #11
I NEED the VS plugin
I NEED the VS plugin
I LOVE this idea. We use TFS for SCM and project management, and I find Sencha Architect to be very limiting. I've been a software engineer for 17+ yrs. Coding is what I do. I find WYSIWYG limiting. And the amount of problems I've had trying to get a Windows Phone Cordova project working in VS. The Intellisense, Windows Phone Development would be very helpful.
Anyone have some hints on getting things configured well to work in VS? My project doesn't recognize views, controllers, and models. You can respond to me off-thread.
1 May 2014 7:54 AM #12
At the very lease something that can provide robust Intellisense.
5 May 2014 6:12 PM #13
All an IDE can really do is parse all the text in all the files in the tree and make brute-force guesses about what object you're working with and what members are available on it. And even that is only what an IDE can infer from the code, and doesn't even account for dynamic changes to the objects which can occur at runtime.
This lack of decent pre-runtime (non-JIT) tooling is why I'm happy that TypeScript is gaining traction. As far as IDE support goes, a transpiler is the only viable option until JS adopts enough of the ECMA standard to support non-JIT compilation.
Believe me, I feel your pain. I came from the Flex/ActionScript world, and also do a lot of Java/Groovy development. So I experience this discrepancy on a daily basis.
6 May 2014 6:44 AM #14
We're actually not asking for much. I don't see how "extremely difficult" this is... considering it's already been done for Eclipse, as shown here: http://vimeo.com/49176749.
Now why not just use Eclipse you say? Well we do... but our back-end uses .NET (WCF for REST based web service development, and NHibernate for our database connectivity), plus a myriad of other .NET libraries, and our source control (Plasctic SCM) is integrated with VS as well.
So we'd absolutely love for some front-end assistance for ExtJS in Visual Studio as well. It would basically help to consolidate all our development into a single environment, as ease the transition into ExtJS for our newer developers.
6 May 2014 7:35 AM #15
Again, the Eclipse plugin is really just making guesses. It has a bit of custom help (e.g. if you're in the config block for a Grid, it knows most of the config keys available). But that's really all it can do. Once you start passing references around, it all breaks down because the IDE has no idea what class types you're dealing with.
So yes, getting basic code hinting within a single config block will partially work. If that's all you want, I'm surprised VS doesn't do this already. IntelliJ IDEA does a passable job on this without any special plugins and so on, just using its built-in JS editing features. For me at least, this falls pretty far short. With Java (and C#, TypeScript, or just about anything else that compiles), the IDE actually knows what type everything is, regardless of where you use it. And that also means true error checking, code analysis, and so on. It's the lack of these sort of features that drives me nuts when I'm writing JS.
6 May 2014 8:57 AM #16