Skip to content

Commit 9adc42a

Browse files
committed
Remove name length limit in navigation bar service for function expression
1 parent d1b60f8 commit 9adc42a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/services/navigationBar.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,9 +758,6 @@ namespace ts.NavigationBar {
758758
else if (fnExpr.parent.kind === SyntaxKind.BinaryExpression &&
759759
(fnExpr.parent as BinaryExpression).operatorToken.kind === SyntaxKind.EqualsToken) {
760760
fnName = (fnExpr.parent as BinaryExpression).left.getText();
761-
if (fnName.length > 20) {
762-
fnName = fnName.substring(0, 17) + "...";
763-
}
764761
}
765762
// See if it is a property assignment, and if so use the property name
766763
else if (fnExpr.parent.kind === SyntaxKind.PropertyAssignment &&

0 commit comments

Comments
 (0)