I'm trying out the latest master code for TypeScript language services via eclipse-typescript and getting some weird results for the getIndentationAtPosition() call.
For this code (I mangled it a bit to simplify and obscure the original sources):
module My.App {
export var appModule = angular.module("app", [
]).config([() => {
configureStates($stateProvider);
}]).run(My.App.setup);
}
A call to getIndentationAtPosition() at the end of the "configureStates..." line gives back 19 when I believe it should be much smaller (like 8). I'm guessing all the nested arrays and stuff might be messing up the calculation.
I'm trying out the latest master code for TypeScript language services via eclipse-typescript and getting some weird results for the getIndentationAtPosition() call.
For this code (I mangled it a bit to simplify and obscure the original sources):
A call to getIndentationAtPosition() at the end of the "configureStates..." line gives back 19 when I believe it should be much smaller (like 8). I'm guessing all the nested arrays and stuff might be messing up the calculation.