ExtJS code emitter

Topics: General
Feb 13, 2014 at 7:13 PM
Edited Feb 14, 2014 at 2:25 PM
Feb 14, 2014 at 5:07 PM
I'd also be very interested in this. In fact, it seems like the best option would be if the compiler would allow us to specify a custom emitter to use instead of the default one. This way, people could override parts of the emitter logic and alter the generated code. A built-in way to alter the generated output would have a lot of flexibility, and I don't think it would be difficult to allow this?
Jul 17, 2014 at 4:23 PM
Hi I also created a custom compiler for ExtJS. I'm going to be using it on several projects, and so I'll try to keep it more up to date. Also it infers more of the ExtJs conventions and thus helps out more with intelisense when writing code. For example you can tell the compiler to infer a configuration interface that you can use to pass to the constructor, and then you get help when calling the constructor. Since the typescript language service can be changed for visual studio by changing the typescriptServices.js the changes are available right from Visual Studio.