Remove name length limit in navigation bar service for function expression

This commit is contained in:
Stanislav Sysoev 2016-04-23 23:12:23 +03:00
parent d1b60f8bfb
commit 9adc42a20c

View File

@ -758,9 +758,6 @@ namespace ts.NavigationBar {
else if (fnExpr.parent.kind === SyntaxKind.BinaryExpression &&
(fnExpr.parent as BinaryExpression).operatorToken.kind === SyntaxKind.EqualsToken) {
fnName = (fnExpr.parent as BinaryExpression).left.getText();
if (fnName.length > 20) {
fnName = fnName.substring(0, 17) + "...";
}
}
// See if it is a property assignment, and if so use the property name
else if (fnExpr.parent.kind === SyntaxKind.PropertyAssignment &&