From 0395a5a6ef1aa268e0962296691ba8eb36393d7a Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Fri, 26 Jul 2024 17:36:02 -0700 Subject: [PATCH 01/19] start adding verbosity level to quickinfo --- src/compiler/checker.ts | 82 +++++++++++++++++++++++++++------------ src/compiler/types.ts | 2 +- src/services/services.ts | 4 +- src/services/types.ts | 2 +- src/services/utilities.ts | 4 +- 5 files changed, 64 insertions(+), 30 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index f18a0b2a32a23..3dc47725b6c97 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -1713,8 +1713,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { writeSignature: (signature, enclosingDeclaration, flags, kind, writer) => { return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind, writer); }, - writeType: (type, enclosingDeclaration, flags, writer) => { - return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer); + writeType: (type, enclosingDeclaration, flags, writer, verbosityLevel) => { + return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer, verbosityLevel); }, writeSymbol: (symbol, enclosingDeclaration, meaning, flags, writer) => { return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags, writer); @@ -5960,9 +5960,19 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } } - function typeToString(type: Type, enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.AllowUniqueESSymbolType | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer: EmitTextWriter = createTextWriter("")): string { + function typeToString( + type: Type, + enclosingDeclaration?: Node, + flags: TypeFormatFlags = TypeFormatFlags.AllowUniqueESSymbolType | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, + writer: EmitTextWriter = createTextWriter(""), + verbosityLevel = 0): string { const noTruncation = compilerOptions.noErrorTruncation || flags & TypeFormatFlags.NoTruncation; - const typeNode = nodeBuilder.typeToTypeNode(type, enclosingDeclaration, toNodeBuilderFlags(flags) | NodeBuilderFlags.IgnoreErrors | (noTruncation ? NodeBuilderFlags.NoTruncation : 0)); + const typeNode = nodeBuilder.typeToTypeNode( + type, + enclosingDeclaration, + toNodeBuilderFlags(flags) | NodeBuilderFlags.IgnoreErrors | (noTruncation ? NodeBuilderFlags.NoTruncation : 0), + /*tracker*/ undefined, + verbosityLevel); if (typeNode === undefined) return Debug.fail("should always get typenode"); // The unresolved type gets a synthesized comment on `any` to hint to users that it's not a plain `any`. // Otherwise, we always strip comments out. @@ -6013,20 +6023,34 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function createNodeBuilder() { return { - typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typeToTypeNodeHelper(type, context)), - typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), - expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), - serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => serializeTypeForDeclaration(context, declaration, type, symbol)), - serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => serializeReturnTypeForSignature(context, signature)), - indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), - signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => signatureToSignatureDeclarationHelper(signature, kind, context)), - symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), - symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToExpression(symbol, context, meaning)), - symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typeParametersToTypeParameterDeclarations(symbol, context)), - symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToParameterDeclaration(symbol, context)), - typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typeParameterToDeclaration(parameter, context)), - symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolTableToDeclarationStatements(symbolTable, context)), - symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToNode(symbol, context, meaning)), + typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number) => + withContext(enclosingDeclaration, flags, tracker, verbosityLevel, context => typeToTypeNodeHelper(type, context)), + typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), + expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), + serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => serializeTypeForDeclaration(context, declaration, type, symbol)), + serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => serializeReturnTypeForSignature(context, signature)), + indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), + signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => signatureToSignatureDeclarationHelper(signature, kind, context)), + symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), + symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToExpression(symbol, context, meaning)), + symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typeParametersToTypeParameterDeclarations(symbol, context)), + symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToParameterDeclaration(symbol, context)), + typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typeParameterToDeclaration(parameter, context)), + symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolTableToDeclarationStatements(symbolTable, context)), + symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => + withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToNode(symbol, context, meaning)), }; function getTypeFromTypeNode(context: NodeBuilderContext, node: TypeNode, noMappedTypes?: false): Type; @@ -6154,7 +6178,12 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return symbolToExpression(symbol, context, meaning); } - function withContext(enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, tracker: SymbolTracker | undefined, cb: (context: NodeBuilderContext) => T): T | undefined { + function withContext( + enclosingDeclaration: Node | undefined, + flags: NodeBuilderFlags | undefined, + tracker: SymbolTracker | undefined, + verbosityLevel: number | undefined, + cb: (context: NodeBuilderContext) => T): T | undefined { const moduleResolverHost = tracker?.trackSymbol ? tracker.moduleResolverHost : flags! & NodeBuilderFlags.DoNotIncludeSymbolChain ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : undefined; @@ -6183,6 +6212,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { typeParameterNamesByText: undefined, typeParameterNamesByTextNextNameCount: undefined, mapper: undefined, + unfoldCount: verbosityLevel ?? 0, }; context.tracker = new SymbolTrackerImpl(context, tracker, moduleResolverHost); const resultingNode = cb(context); @@ -6346,12 +6376,15 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (!inTypeAlias && type.aliasSymbol && (context.flags & NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) { - const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context); - if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & SymbolFlags.Class)) return factory.createTypeReferenceNode(factory.createIdentifier(""), typeArgumentNodes); - if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) { - return factory.createArrayTypeNode(typeArgumentNodes![0]); + if (context.unfoldCount === 0) { + const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context); + if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & SymbolFlags.Class)) return factory.createTypeReferenceNode(factory.createIdentifier(""), typeArgumentNodes); + if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) { + return factory.createArrayTypeNode(typeArgumentNodes![0]); + } + return symbolToTypeNode(type.aliasSymbol, context, SymbolFlags.Type, typeArgumentNodes); } - return symbolToTypeNode(type.aliasSymbol, context, SymbolFlags.Type, typeArgumentNodes); + context.unfoldCount -= 1; } const objectFlags = getObjectFlags(type); @@ -52448,6 +52481,7 @@ interface NodeBuilderContext { reverseMappedStack: ReverseMappedSymbol[] | undefined; bundled: boolean; mapper: TypeMapper | undefined; + unfoldCount: number; } class SymbolTrackerImpl implements SymbolTracker { diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 564fa64e1294c..cb464b814e1f7 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -5129,7 +5129,7 @@ export interface TypeChecker { typePredicateToString(predicate: TypePredicate, enclosingDeclaration?: Node, flags?: TypeFormatFlags): string; /** @internal */ writeSignature(signature: Signature, enclosingDeclaration?: Node, flags?: TypeFormatFlags, kind?: SignatureKind, writer?: EmitTextWriter): string; - /** @internal */ writeType(type: Type, enclosingDeclaration?: Node, flags?: TypeFormatFlags, writer?: EmitTextWriter): string; + /** @internal */ writeType(type: Type, enclosingDeclaration?: Node, flags?: TypeFormatFlags, writer?: EmitTextWriter, verbosityLevel?: number): string; /** @internal */ writeSymbol(symbol: Symbol, enclosingDeclaration?: Node, meaning?: SymbolFlags, flags?: SymbolFormatFlags, writer?: EmitTextWriter): string; /** @internal */ writeTypePredicate(predicate: TypePredicate, enclosingDeclaration?: Node, flags?: TypeFormatFlags, writer?: EmitTextWriter): string; diff --git a/src/services/services.ts b/src/services/services.ts index f20e99cc88c0a..7154b236a5e66 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2263,7 +2263,7 @@ export function createLanguageService( return Completions.getCompletionEntrySymbol(program, log, getValidSourceFile(fileName), position, { name, source }, host, preferences); } - function getQuickInfoAtPosition(fileName: string, position: number): QuickInfo | undefined { + function getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number): QuickInfo | undefined { synchronizeHostData(); const sourceFile = getValidSourceFile(fileName); @@ -2282,7 +2282,7 @@ export function createLanguageService( kind: ScriptElementKind.unknown, kindModifiers: ScriptElementKindModifier.none, textSpan: createTextSpanFromNode(nodeForQuickInfo, sourceFile), - displayParts: typeChecker.runWithCancellationToken(cancellationToken, typeChecker => typeToDisplayParts(typeChecker, type, getContainerNode(nodeForQuickInfo))), + displayParts: typeChecker.runWithCancellationToken(cancellationToken, typeChecker => typeToDisplayParts(typeChecker, type, getContainerNode(nodeForQuickInfo), /*flags*/ undefined, verbosityLevel)), documentation: type.symbol ? type.symbol.getDocumentationComment(typeChecker) : undefined, tags: type.symbol ? type.symbol.getJsDocTags(typeChecker) : undefined, }; diff --git a/src/services/types.ts b/src/services/types.ts index 10befea4c5386..8638cc7a19053 100644 --- a/src/services/types.ts +++ b/src/services/types.ts @@ -582,7 +582,7 @@ export interface LanguageService { * @param fileName The path to the file * @param position A zero-based index of the character where you want the quick info */ - getQuickInfoAtPosition(fileName: string, position: number): QuickInfo | undefined; + getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel?: number): QuickInfo | undefined; getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan | undefined; diff --git a/src/services/utilities.ts b/src/services/utilities.ts index 55ab684196e3c..ade396eb7bafc 100644 --- a/src/services/utilities.ts +++ b/src/services/utilities.ts @@ -3061,9 +3061,9 @@ export function mapToDisplayParts(writeDisplayParts: (writer: DisplayPartsSymbol } /** @internal */ -export function typeToDisplayParts(typechecker: TypeChecker, type: Type, enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.None): SymbolDisplayPart[] { +export function typeToDisplayParts(typechecker: TypeChecker, type: Type, enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.None, verbosityLevel?: number): SymbolDisplayPart[] { return mapToDisplayParts(writer => { - typechecker.writeType(type, enclosingDeclaration, flags | TypeFormatFlags.MultilineObjectLiterals | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer); + typechecker.writeType(type, enclosingDeclaration, flags | TypeFormatFlags.MultilineObjectLiterals | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer, verbosityLevel); }); } From a59428682c52946f3303f0e213d0709c7ff8b2d2 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 29 Jul 2024 14:39:52 -0700 Subject: [PATCH 02/19] start adding verbosity level to quickinfo api --- src/harness/client.ts | 4 +- src/harness/fourslashImpl.ts | 4 +- src/harness/fourslashInterfaceImpl.ts | 4 +- src/server/protocol.ts | 5 + src/server/session.ts | 4 +- src/services/services.ts | 14 +- src/services/symbolDisplay.ts | 25 ++- .../reference/quickinfoVerbosity.baseline | 40 +++++ .../fourslashServer/quickinfoVerbosity.js | 159 ++++++++++++++++++ tests/cases/fourslash/fourslash.ts | 2 +- .../fourslash/server/quickinfoVerbosity.ts | 6 + 11 files changed, 252 insertions(+), 15 deletions(-) create mode 100644 tests/baselines/reference/quickinfoVerbosity.baseline create mode 100644 tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js create mode 100644 tests/cases/fourslash/server/quickinfoVerbosity.ts diff --git a/src/harness/client.ts b/src/harness/client.ts index e1daecdc82dec..796f42a88bff1 100644 --- a/src/harness/client.ts +++ b/src/harness/client.ts @@ -252,8 +252,8 @@ export class SessionClient implements LanguageService { return { line, character: offset }; } - getQuickInfoAtPosition(fileName: string, position: number): QuickInfo { - const args = this.createFileLocationRequestArgs(fileName, position); + getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number | undefined): QuickInfo { + const args = { ...this.createFileLocationRequestArgs(fileName, position), verbosityLevel }; const request = this.processRequest(protocol.CommandTypes.Quickinfo, args); const response = this.processResponse(request); diff --git a/src/harness/fourslashImpl.ts b/src/harness/fourslashImpl.ts index 4d3d6cea32e69..9bac39b81bbb0 100644 --- a/src/harness/fourslashImpl.ts +++ b/src/harness/fourslashImpl.ts @@ -2423,10 +2423,10 @@ export class TestState { return result; } - public baselineQuickInfo() { + public baselineQuickInfo(verbosityLevels?: { [markerName: string]: number }) { const result = ts.arrayFrom(this.testData.markerPositions.entries(), ([name, marker]) => ({ marker: { ...marker, name }, - item: this.languageService.getQuickInfoAtPosition(marker.fileName, marker.position), + item: this.languageService.getQuickInfoAtPosition(marker.fileName, marker.position, verbosityLevels?.[name]), })); const annotations = this.annotateContentWithTooltips( result, diff --git a/src/harness/fourslashInterfaceImpl.ts b/src/harness/fourslashInterfaceImpl.ts index eaa9699158914..73798895a7e5d 100644 --- a/src/harness/fourslashInterfaceImpl.ts +++ b/src/harness/fourslashInterfaceImpl.ts @@ -439,8 +439,8 @@ export class Verify extends VerifyNegatable { this.state.baselineGetEmitOutput(); } - public baselineQuickInfo() { - this.state.baselineQuickInfo(); + public baselineQuickInfo(verbosityLevels?: { [markerName: string]: number }) { + this.state.baselineQuickInfo(verbosityLevels); } public baselineSignatureHelp() { diff --git a/src/server/protocol.ts b/src/server/protocol.ts index ff656f8b8c038..13463e7449927 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -1968,6 +1968,11 @@ export interface QuickInfoRequest extends FileLocationRequest { arguments: FileLocationRequestArgs; } +export interface QuickInfoRequestArgs extends FileLocationRequestArgs { + /** TODO */ + verbosityLevel?: number; +} + /** * Body of QuickInfoResponse. */ diff --git a/src/server/session.ts b/src/server/session.ts index fd0ed26586dc7..5335aae57a8dc 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -2312,10 +2312,10 @@ export class Session implements EventSender { return languageService.isValidBraceCompletionAtPosition(file, position, args.openingBrace.charCodeAt(0)); } - private getQuickInfoWorker(args: protocol.FileLocationRequestArgs, simplifiedResult: boolean): protocol.QuickInfoResponseBody | QuickInfo | undefined { + private getQuickInfoWorker(args: protocol.QuickInfoRequestArgs, simplifiedResult: boolean): protocol.QuickInfoResponseBody | QuickInfo | undefined { const { file, project } = this.getFileAndProject(args); const scriptInfo = this.projectService.getScriptInfoForNormalizedPath(file)!; - const quickInfo = project.getLanguageService().getQuickInfoAtPosition(file, this.getPosition(args, scriptInfo)); + const quickInfo = project.getLanguageService().getQuickInfoAtPosition(file, this.getPosition(args, scriptInfo), args.verbosityLevel); if (!quickInfo) { return undefined; } diff --git a/src/services/services.ts b/src/services/services.ts index 7154b236a5e66..d84e0ccfb7434 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2263,7 +2263,7 @@ export function createLanguageService( return Completions.getCompletionEntrySymbol(program, log, getValidSourceFile(fileName), position, { name, source }, host, preferences); } - function getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number): QuickInfo | undefined { + function getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel?: number): QuickInfo | undefined { synchronizeHostData(); const sourceFile = getValidSourceFile(fileName); @@ -2288,7 +2288,17 @@ export function createLanguageService( }; } - const { symbolKind, displayParts, documentation, tags } = typeChecker.runWithCancellationToken(cancellationToken, typeChecker => SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(typeChecker, symbol, sourceFile, getContainerNode(nodeForQuickInfo), nodeForQuickInfo)); + const { symbolKind, displayParts, documentation, tags } = typeChecker.runWithCancellationToken( + cancellationToken, + typeChecker => SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind( + typeChecker, + symbol, + sourceFile, + getContainerNode(nodeForQuickInfo), + nodeForQuickInfo, + /*semanticMeaning*/ undefined, + /*alias*/ undefined, + verbosityLevel)); return { kind: symbolKind, kindModifiers: SymbolDisplay.getSymbolModifiers(typeChecker, symbol), diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index 5ba8170b17b32..b256083cc4362 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -256,7 +256,16 @@ export interface SymbolDisplayPartsDocumentationAndSymbolKind { tags: JSDocTagInfo[] | undefined; } -function getSymbolDisplayPartsDocumentationAndSymbolKindWorker(typeChecker: TypeChecker, symbol: Symbol, sourceFile: SourceFile, enclosingDeclaration: Node | undefined, location: Node, type: Type | undefined, semanticMeaning: SemanticMeaning, alias?: Symbol): SymbolDisplayPartsDocumentationAndSymbolKind { +function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( + typeChecker: TypeChecker, + symbol: Symbol, + sourceFile: SourceFile, + enclosingDeclaration: Node | undefined, + location: Node, + type: Type | undefined, + semanticMeaning: SemanticMeaning, + alias?: Symbol, + verbosityLevel?: number): SymbolDisplayPartsDocumentationAndSymbolKind { const displayParts: SymbolDisplayPart[] = []; let documentation: SymbolDisplayPart[] = []; let tags: JSDocTagInfo[] = []; @@ -656,7 +665,7 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker(typeChecker: Type addRange(displayParts, typeParameterParts); } else { - addRange(displayParts, typeToDisplayParts(typeChecker, type, enclosingDeclaration)); + addRange(displayParts, typeToDisplayParts(typeChecker, type, enclosingDeclaration, /*flags*/ undefined, verbosityLevel)); } if (isTransientSymbol(symbol) && symbol.links.target && isTransientSymbol(symbol.links.target) && symbol.links.target.links.tupleLabelDeclaration) { const labelDecl = symbol.links.target.links.tupleLabelDeclaration; @@ -866,8 +875,16 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker(typeChecker: Type // TODO(drosen): Currently completion entry details passes the SemanticMeaning.All instead of using semanticMeaning of location /** @internal */ -export function getSymbolDisplayPartsDocumentationAndSymbolKind(typeChecker: TypeChecker, symbol: Symbol, sourceFile: SourceFile, enclosingDeclaration: Node | undefined, location: Node, semanticMeaning = getMeaningFromLocation(location), alias?: Symbol): SymbolDisplayPartsDocumentationAndSymbolKind { - return getSymbolDisplayPartsDocumentationAndSymbolKindWorker(typeChecker, symbol, sourceFile, enclosingDeclaration, location, /*type*/ undefined, semanticMeaning, alias); +export function getSymbolDisplayPartsDocumentationAndSymbolKind( + typeChecker: TypeChecker, + symbol: Symbol, + sourceFile: SourceFile, + enclosingDeclaration: Node | undefined, + location: Node, + semanticMeaning = getMeaningFromLocation(location), + alias?: Symbol, + verbosityLevel?: number): SymbolDisplayPartsDocumentationAndSymbolKind { + return getSymbolDisplayPartsDocumentationAndSymbolKindWorker(typeChecker, symbol, sourceFile, enclosingDeclaration, location, /*type*/ undefined, semanticMeaning, alias, verbosityLevel); } function isLocalVariableOrFunction(symbol: Symbol) { diff --git a/tests/baselines/reference/quickinfoVerbosity.baseline b/tests/baselines/reference/quickinfoVerbosity.baseline new file mode 100644 index 0000000000000..6736d0ba80ed0 --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosity.baseline @@ -0,0 +1,40 @@ +// === QuickInfo === +=== /tests/cases/fourslash/server/quickinfoVerbosity.ts === +// type FooType = string | number +// const foo: FooType = 1 +// ^^^ +// | ---------------------------------------------------------------------- +// | const foo: string | number +// | +// | ---------------------------------------------------------------------- + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/server/quickinfoVerbosity.ts", + "position": 40, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 37, + "length": 3 + }, + "displayParts": [ + { + "kind": "text", + "text": "const foo: string | number" + } + ], + "documentation": [ + { + "kind": "text", + "text": "" + } + ], + "tags": [] + } + } +] \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js new file mode 100644 index 0000000000000..3f118b6ebb416 --- /dev/null +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js @@ -0,0 +1,159 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +//// [/lib.d.ts] +lib.d.ts-Text + +//// [/lib.decorators.d.ts] +lib.decorators.d.ts-Text + +//// [/lib.decorators.legacy.d.ts] +lib.decorators.legacy.d.ts-Text + +//// [/tests/cases/fourslash/server/quickinfoVerbosity.ts] +type FooType = string | number +const foo: FooType = 1 + + +Info seq [hh:mm:ss:mss] request: + { + "seq": 0, + "type": "request", + "arguments": { + "file": "/tests/cases/fourslash/server/quickinfoVerbosity.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/quickinfoVerbosity.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /tests/cases/fourslash/server/quickinfoVerbosity.ts SVC-1-0 "type FooType = string | number\nconst foo: FooType = 1" + + + ../../../../lib.d.ts + Default library for target 'es5' + ../../../../lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../../lib.d.ts' + ../../../../lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../../lib.d.ts' + quickinfoVerbosity.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /tests/cases/fourslash/server/quickinfoVerbosity.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 0, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/lib.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: *new* + {"pollingInterval":500} +/tests/cases/fourslash/server/jsconfig.json: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.json: *new* + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/tests/cases/fourslash/node_modules: *new* + {} +/tests/cases/fourslash/node_modules/@types: *new* + {} +/tests/cases/fourslash/server/node_modules: *new* + {} +/tests/cases/fourslash/server/node_modules/@types: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/tests/cases/fourslash/server/quickinfoVerbosity.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 1, + "type": "request", + "arguments": { + "file": "/tests/cases/fourslash/server/quickinfoVerbosity.ts", + "line": 2, + "offset": 10, + "verbosityLevel": 3 + }, + "command": "quickinfo" + } +Info seq [hh:mm:ss:mss] >>> quick info verbosityLevel: 3 +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "quickinfo", + "request_seq": 1, + "success": true, + "body": { + "kind": "const", + "kindModifiers": "", + "start": { + "line": 2, + "offset": 7 + }, + "end": { + "line": 2, + "offset": 10 + }, + "displayString": "const foo: string | number", + "documentation": "", + "tags": [] + } + } \ No newline at end of file diff --git a/tests/cases/fourslash/fourslash.ts b/tests/cases/fourslash/fourslash.ts index c13f27a807ac4..057187ca7d844 100644 --- a/tests/cases/fourslash/fourslash.ts +++ b/tests/cases/fourslash/fourslash.ts @@ -361,7 +361,7 @@ declare namespace FourSlashInterface { baselineSyntacticAndSemanticDiagnostics(): void; getEmitOutput(expectedOutputFiles: ReadonlyArray): void; baselineCompletions(preferences?: UserPreferences): void; - baselineQuickInfo(): void; + baselineQuickInfo(verbosityLevels?: { [markerName: string]: number }): void; baselineSmartSelection(): void; baselineSignatureHelp(): void; nameOrDottedNameSpanTextIs(text: string): void; diff --git a/tests/cases/fourslash/server/quickinfoVerbosity.ts b/tests/cases/fourslash/server/quickinfoVerbosity.ts new file mode 100644 index 0000000000000..dc2e562555a54 --- /dev/null +++ b/tests/cases/fourslash/server/quickinfoVerbosity.ts @@ -0,0 +1,6 @@ +/// + +//// type FooType = string | number +//// const foo/*a*/: FooType = 1 + +verify.baselineQuickInfo({ "a": 3 }); \ No newline at end of file From b9d7fdee31f31975502d47bc7196a4812e773fc0 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 29 Jul 2024 17:36:34 -0700 Subject: [PATCH 03/19] update quickinfo baseline test infra with verbosity levels --- src/compiler/checker.ts | 51 +++----- src/harness/fourslashImpl.ts | 25 +++- src/harness/fourslashInterfaceImpl.ts | 2 +- src/services/services.ts | 21 ++-- src/services/symbolDisplay.ts | 6 +- .../reference/quickinfoVerbosity1.baseline | 119 ++++++++++++++++++ tests/cases/fourslash/fourslash.ts | 5 +- tests/cases/fourslash/quickinfoVerbosity1.ts | 7 ++ 8 files changed, 186 insertions(+), 50 deletions(-) create mode 100644 tests/baselines/reference/quickinfoVerbosity1.baseline create mode 100644 tests/cases/fourslash/quickinfoVerbosity1.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 3dc47725b6c97..a83aa461c40dd 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -5965,14 +5965,16 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.AllowUniqueESSymbolType | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer: EmitTextWriter = createTextWriter(""), - verbosityLevel = 0): string { + verbosityLevel = 0, + ): string { const noTruncation = compilerOptions.noErrorTruncation || flags & TypeFormatFlags.NoTruncation; const typeNode = nodeBuilder.typeToTypeNode( type, enclosingDeclaration, toNodeBuilderFlags(flags) | NodeBuilderFlags.IgnoreErrors | (noTruncation ? NodeBuilderFlags.NoTruncation : 0), /*tracker*/ undefined, - verbosityLevel); + verbosityLevel, + ); if (typeNode === undefined) return Debug.fail("should always get typenode"); // The unresolved type gets a synthesized comment on `any` to hint to users that it's not a plain `any`. // Otherwise, we always strip comments out. @@ -6023,34 +6025,20 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function createNodeBuilder() { return { - typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number) => - withContext(enclosingDeclaration, flags, tracker, verbosityLevel, context => typeToTypeNodeHelper(type, context)), - typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), - expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), - serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => serializeTypeForDeclaration(context, declaration, type, symbol)), - serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => serializeReturnTypeForSignature(context, signature)), - indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), - signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => signatureToSignatureDeclarationHelper(signature, kind, context)), - symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), - symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToExpression(symbol, context, meaning)), - symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typeParametersToTypeParameterDeclarations(symbol, context)), - symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToParameterDeclaration(symbol, context)), - typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typeParameterToDeclaration(parameter, context)), - symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolTableToDeclarationStatements(symbolTable, context)), - symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => - withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToNode(symbol, context, meaning)), + typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number) => withContext(enclosingDeclaration, flags, tracker, verbosityLevel, context => typeToTypeNodeHelper(type, context)), + typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), + expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), + serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => serializeTypeForDeclaration(context, declaration, type, symbol)), + serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => serializeReturnTypeForSignature(context, signature)), + indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), + signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => signatureToSignatureDeclarationHelper(signature, kind, context)), + symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), + symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToExpression(symbol, context, meaning)), + symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typeParametersToTypeParameterDeclarations(symbol, context)), + symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToParameterDeclaration(symbol, context)), + typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => typeParameterToDeclaration(parameter, context)), + symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolTableToDeclarationStatements(symbolTable, context)), + symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, /*verbosityLevel*/ 0, context => symbolToNode(symbol, context, meaning)), }; function getTypeFromTypeNode(context: NodeBuilderContext, node: TypeNode, noMappedTypes?: false): Type; @@ -6183,7 +6171,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { flags: NodeBuilderFlags | undefined, tracker: SymbolTracker | undefined, verbosityLevel: number | undefined, - cb: (context: NodeBuilderContext) => T): T | undefined { + cb: (context: NodeBuilderContext) => T, + ): T | undefined { const moduleResolverHost = tracker?.trackSymbol ? tracker.moduleResolverHost : flags! & NodeBuilderFlags.DoNotIncludeSymbolChain ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : undefined; diff --git a/src/harness/fourslashImpl.ts b/src/harness/fourslashImpl.ts index 9bac39b81bbb0..4d82a0e0ac3da 100644 --- a/src/harness/fourslashImpl.ts +++ b/src/harness/fourslashImpl.ts @@ -81,6 +81,10 @@ export interface TextSpan { end: number; } +export interface VerbosityLevels { + [markerName: string]: number | number[] | undefined; +} + // Name of testcase metadata including ts.CompilerOptions properties that will be used by globalOptions // To add additional option, add property into the testOptMetadataNames, refer the property in either globalMetadataNames or fileMetadataNames // Add cases into convertGlobalOptionsToCompilationsSettings function for the compiler to acknowledge such option from meta data @@ -2423,19 +2427,28 @@ export class TestState { return result; } - public baselineQuickInfo(verbosityLevels?: { [markerName: string]: number }) { - const result = ts.arrayFrom(this.testData.markerPositions.entries(), ([name, marker]) => ({ - marker: { ...marker, name }, - item: this.languageService.getQuickInfoAtPosition(marker.fileName, marker.position, verbosityLevels?.[name]), - })); + public baselineQuickInfo(verbosityLevels?: VerbosityLevels) { + const result = ts.arrayFrom(this.testData.markerPositions.entries(), ([name, marker]) => { + const verbosityLevel = toArray(verbosityLevels?.[name]); + const items = verbosityLevel.map(verbosityLevel => { + const item: ts.QuickInfo & { verbosityLevel?: number; } | undefined = this.languageService.getQuickInfoAtPosition(marker.fileName, marker.position, verbosityLevel); + if (item) item.verbosityLevel = verbosityLevel; + return { + marker: { ...marker, name }, + item, + }; + }); + return items; + }).flat(); const annotations = this.annotateContentWithTooltips( result, "quickinfo", item => item.textSpan, - ({ displayParts, documentation, tags }) => [ + ({ displayParts, documentation, tags, verbosityLevel }) => [ ...(displayParts ? displayParts.map(p => p.text).join("").split("\n") : []), ...(documentation?.length ? documentation.map(p => p.text).join("").split("\n") : []), ...(tags?.length ? tags.map(p => `@${p.name} ${p.text?.map(dp => dp.text).join("") ?? ""}`).join("\n").split("\n") : []), + ...(verbosityLevel !== undefined ? [`(verbosity level: ${verbosityLevel})`] : []), ], ); this.baseline("QuickInfo", annotations + "\n\n" + stringify(result)); diff --git a/src/harness/fourslashInterfaceImpl.ts b/src/harness/fourslashInterfaceImpl.ts index 73798895a7e5d..5132dee649f44 100644 --- a/src/harness/fourslashInterfaceImpl.ts +++ b/src/harness/fourslashInterfaceImpl.ts @@ -439,7 +439,7 @@ export class Verify extends VerifyNegatable { this.state.baselineGetEmitOutput(); } - public baselineQuickInfo(verbosityLevels?: { [markerName: string]: number }) { + public baselineQuickInfo(verbosityLevels?: FourSlash.VerbosityLevels) { this.state.baselineQuickInfo(verbosityLevels); } diff --git a/src/services/services.ts b/src/services/services.ts index d84e0ccfb7434..0482ce003a45c 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2290,15 +2290,18 @@ export function createLanguageService( const { symbolKind, displayParts, documentation, tags } = typeChecker.runWithCancellationToken( cancellationToken, - typeChecker => SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind( - typeChecker, - symbol, - sourceFile, - getContainerNode(nodeForQuickInfo), - nodeForQuickInfo, - /*semanticMeaning*/ undefined, - /*alias*/ undefined, - verbosityLevel)); + typeChecker => + SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind( + typeChecker, + symbol, + sourceFile, + getContainerNode(nodeForQuickInfo), + nodeForQuickInfo, + /*semanticMeaning*/ undefined, + /*alias*/ undefined, + verbosityLevel, + ), + ); return { kind: symbolKind, kindModifiers: SymbolDisplay.getSymbolModifiers(typeChecker, symbol), diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index b256083cc4362..87b91c490cefb 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -265,7 +265,8 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( type: Type | undefined, semanticMeaning: SemanticMeaning, alias?: Symbol, - verbosityLevel?: number): SymbolDisplayPartsDocumentationAndSymbolKind { + verbosityLevel?: number, +): SymbolDisplayPartsDocumentationAndSymbolKind { const displayParts: SymbolDisplayPart[] = []; let documentation: SymbolDisplayPart[] = []; let tags: JSDocTagInfo[] = []; @@ -883,7 +884,8 @@ export function getSymbolDisplayPartsDocumentationAndSymbolKind( location: Node, semanticMeaning = getMeaningFromLocation(location), alias?: Symbol, - verbosityLevel?: number): SymbolDisplayPartsDocumentationAndSymbolKind { + verbosityLevel?: number, +): SymbolDisplayPartsDocumentationAndSymbolKind { return getSymbolDisplayPartsDocumentationAndSymbolKindWorker(typeChecker, symbol, sourceFile, enclosingDeclaration, location, /*type*/ undefined, semanticMeaning, alias, verbosityLevel); } diff --git a/tests/baselines/reference/quickinfoVerbosity1.baseline b/tests/baselines/reference/quickinfoVerbosity1.baseline new file mode 100644 index 0000000000000..329a833171d44 --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosity1.baseline @@ -0,0 +1,119 @@ +// === QuickInfo === +=== /tests/cases/fourslash/quickinfoVerbosity1.ts === +// type FooType = string | number +// const foo: FooType = 1 +// ^^^ +// | ---------------------------------------------------------------------- +// | const foo: string | number +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const foo: FooType +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity1.ts", + "position": 40, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 37, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity1.ts", + "position": 40, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 37, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + } +] \ No newline at end of file diff --git a/tests/cases/fourslash/fourslash.ts b/tests/cases/fourslash/fourslash.ts index 057187ca7d844..5081924db11f5 100644 --- a/tests/cases/fourslash/fourslash.ts +++ b/tests/cases/fourslash/fourslash.ts @@ -361,7 +361,7 @@ declare namespace FourSlashInterface { baselineSyntacticAndSemanticDiagnostics(): void; getEmitOutput(expectedOutputFiles: ReadonlyArray): void; baselineCompletions(preferences?: UserPreferences): void; - baselineQuickInfo(verbosityLevels?: { [markerName: string]: number }): void; + baselineQuickInfo(verbosityLevels?: VerbosityLevels): void; baselineSmartSelection(): void; baselineSignatureHelp(): void; nameOrDottedNameSpanTextIs(text: string): void; @@ -695,6 +695,9 @@ declare namespace FourSlashInterface { readonly organizeImportsCaseFirst?: "upper" | "lower" | false; readonly organizeImportsTypeOrder?: "first" | "last" | "inline"; } + interface VerbosityLevels { + [markerName: string]: number | number[] | undefined; + } interface InlayHintsOptions extends UserPreferences { readonly includeInlayParameterNameHints?: "none" | "literals" | "all"; readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean; diff --git a/tests/cases/fourslash/quickinfoVerbosity1.ts b/tests/cases/fourslash/quickinfoVerbosity1.ts new file mode 100644 index 0000000000000..1d464dd3043f7 --- /dev/null +++ b/tests/cases/fourslash/quickinfoVerbosity1.ts @@ -0,0 +1,7 @@ +/// + +//// type FooType = string | number +//// const foo/*a*/: FooType = 1 + + +verify.baselineQuickInfo({ "a": [0, 1] }); \ No newline at end of file From 2cd71f1deb7fd33db1d2e2f5c8c2964b8108fc19 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 7 Aug 2024 12:14:24 -0700 Subject: [PATCH 04/19] update test --- .../reference/quickinfoVerbosity1.baseline | 214 +++++++++++++++++- tests/cases/fourslash/quickinfoVerbosity1.ts | 9 +- 2 files changed, 214 insertions(+), 9 deletions(-) diff --git a/tests/baselines/reference/quickinfoVerbosity1.baseline b/tests/baselines/reference/quickinfoVerbosity1.baseline index 329a833171d44..ef348cd1a0c28 100644 --- a/tests/baselines/reference/quickinfoVerbosity1.baseline +++ b/tests/baselines/reference/quickinfoVerbosity1.baseline @@ -1,7 +1,7 @@ // === QuickInfo === === /tests/cases/fourslash/quickinfoVerbosity1.ts === -// type FooType = string | number -// const foo: FooType = 1 +// type FooType = string | number; +// const foo: FooType = 1; // ^^^ // | ---------------------------------------------------------------------- // | const foo: string | number @@ -12,19 +12,36 @@ // | const foo: FooType // | (verbosity level: 0) // | ---------------------------------------------------------------------- +// type BarType = FooType | boolean; +// const bar: BarType = 1; +// ^^^ +// | ---------------------------------------------------------------------- +// | const bar: boolean | (string | number) +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const bar: boolean | FooType +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const bar: BarType +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- [ { "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosity1.ts", - "position": 40, + "position": 41, "name": "a" }, "item": { "kind": "const", "kindModifiers": "", "textSpan": { - "start": 37, + "start": 38, "length": 3 }, "displayParts": [ @@ -60,14 +77,14 @@ { "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosity1.ts", - "position": 40, + "position": 41, "name": "a" }, "item": { "kind": "const", "kindModifiers": "", "textSpan": { - "start": 37, + "start": 38, "length": 3 }, "displayParts": [ @@ -115,5 +132,190 @@ "documentation": [], "verbosityLevel": 1 } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity1.ts", + "position": 99, + "name": "b" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 96, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity1.ts", + "position": 99, + "name": "b" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 96, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity1.ts", + "position": 99, + "name": "b" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 96, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } } ] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosity1.ts b/tests/cases/fourslash/quickinfoVerbosity1.ts index 1d464dd3043f7..6d95aa6dbd8a9 100644 --- a/tests/cases/fourslash/quickinfoVerbosity1.ts +++ b/tests/cases/fourslash/quickinfoVerbosity1.ts @@ -1,7 +1,10 @@ /// -//// type FooType = string | number -//// const foo/*a*/: FooType = 1 +//// type FooType = string | number; +//// const foo/*a*/: FooType = 1; +//// type BarType = FooType | boolean; +//// const bar/*b*/: BarType = 1; -verify.baselineQuickInfo({ "a": [0, 1] }); \ No newline at end of file + +verify.baselineQuickInfo({ "a": [0, 1], "b": [0, 1, 2] }); \ No newline at end of file From bab42813f086feb72b14a130b0a698b711849f60 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Thu, 8 Aug 2024 16:29:59 -0700 Subject: [PATCH 05/19] expand by depth --- src/compiler/checker.ts | 12 +- .../reference/quickinfoVerbosity2.baseline | 427 ++++++++++++++++++ tests/cases/fourslash/quickinfoVerbosity2.ts | 11 + 3 files changed, 446 insertions(+), 4 deletions(-) create mode 100644 tests/baselines/reference/quickinfoVerbosity2.baseline create mode 100644 tests/cases/fourslash/quickinfoVerbosity2.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index a83aa461c40dd..053d3e46ab1ea 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6181,6 +6181,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { enclosingFile: enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration), flags: flags || NodeBuilderFlags.None, tracker: undefined!, + unfoldDepth: verbosityLevel ?? 0, encounteredError: false, reportedDiagnostic: false, visitedTypes: undefined, @@ -6201,7 +6202,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { typeParameterNamesByText: undefined, typeParameterNamesByTextNextNameCount: undefined, mapper: undefined, - unfoldCount: verbosityLevel ?? 0, + depth: 0, }; context.tracker = new SymbolTrackerImpl(context, tracker, moduleResolverHost); const resultingNode = cb(context); @@ -6218,8 +6219,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function typeToTypeNodeHelper(type: Type, context: NodeBuilderContext): TypeNode { const savedFlags = context.flags; + const savedDepth = context.depth; const typeNode = typeToTypeNodeWorker(type, context); context.flags = savedFlags; + context.depth = savedDepth; return typeNode; } @@ -6365,7 +6368,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (!inTypeAlias && type.aliasSymbol && (context.flags & NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) { - if (context.unfoldCount === 0) { + if (context.depth >= context.unfoldDepth) { const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context); if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & SymbolFlags.Class)) return factory.createTypeReferenceNode(factory.createIdentifier(""), typeArgumentNodes); if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) { @@ -6373,7 +6376,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } return symbolToTypeNode(type.aliasSymbol, context, SymbolFlags.Type, typeArgumentNodes); } - context.unfoldCount -= 1; + context.depth += 1; } const objectFlags = getObjectFlags(type); @@ -52448,6 +52451,7 @@ interface NodeBuilderContext { enclosingFile: SourceFile | undefined; flags: NodeBuilderFlags; tracker: SymbolTrackerImpl; + readonly unfoldDepth: number; // State encounteredError: boolean; @@ -52470,7 +52474,7 @@ interface NodeBuilderContext { reverseMappedStack: ReverseMappedSymbol[] | undefined; bundled: boolean; mapper: TypeMapper | undefined; - unfoldCount: number; + depth: number; // How many levels of nested type aliases we have unfolded so far } class SymbolTrackerImpl implements SymbolTracker { diff --git a/tests/baselines/reference/quickinfoVerbosity2.baseline b/tests/baselines/reference/quickinfoVerbosity2.baseline new file mode 100644 index 0000000000000..2409561ebfcff --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosity2.baseline @@ -0,0 +1,427 @@ +// === QuickInfo === +=== /tests/cases/fourslash/quickinfoVerbosity2.ts === +// type Str = string | {}; +// type FooType = Str | number; +// type Sym = symbol | (() => void); +// type BarType = Sym | boolean; +// type BothType = FooType | BarType; +// const both: BothType = 1; +// ^^^^ +// | ---------------------------------------------------------------------- +// | const both: (number | (string | {})) | (boolean | (symbol | (() => void))) +// | (verbosity level: 3) +// | ---------------------------------------------------------------------- +// ^^^^ +// | ---------------------------------------------------------------------- +// | const both: (number | Str) | (boolean | Sym) +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^^^^ +// | ---------------------------------------------------------------------- +// | const both: FooType | BarType +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^^ +// | ---------------------------------------------------------------------- +// | const both: BothType +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity2.ts", + "position": 162, + "name": "b" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 158, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "both", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BothType", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity2.ts", + "position": 162, + "name": "b" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 158, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "both", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity2.ts", + "position": 162, + "name": "b" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 158, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "both", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ")", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosity2.ts", + "position": 162, + "name": "b" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 158, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "both", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "symbol", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 3 + } + } +] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosity2.ts b/tests/cases/fourslash/quickinfoVerbosity2.ts new file mode 100644 index 0000000000000..7f61912b97e5d --- /dev/null +++ b/tests/cases/fourslash/quickinfoVerbosity2.ts @@ -0,0 +1,11 @@ +/// + +//// type Str = string | {}; +//// type FooType = Str | number; +//// type Sym = symbol | (() => void); +//// type BarType = Sym | boolean; +//// type BothType = FooType | BarType; +//// const both/*b*/: BothType = 1; + + +verify.baselineQuickInfo({ "b": [0, 1, 2, 3], }); \ No newline at end of file From ca35b0b8f893dfa76602785dbb9fd4fd9d60c5b7 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 12 Aug 2024 12:41:14 -0700 Subject: [PATCH 06/19] propagate depth when printing object literal type --- src/compiler/checker.ts | 46 +- src/harness/client.ts | 2 +- src/services/types.ts | 6 +- tests/baselines/reference/api/typescript.d.ts | 4 + .../reference/quickinfoVerbosity.baseline | 4 +- .../quickinfoVerbosityObjectType1.baseline | 675 ++++++++++++++++++ .../fourslashServer/quickinfoVerbosity.js | 3 +- .../quickinfoVerbosityObjectType1.ts | 12 + .../fourslash/server/quickinfoVerbosity.ts | 2 +- 9 files changed, 729 insertions(+), 25 deletions(-) create mode 100644 tests/baselines/reference/quickinfoVerbosityObjectType1.baseline create mode 100644 tests/cases/fourslash/quickinfoVerbosityObjectType1.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 053d3e46ab1ea..948388d73641e 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6079,12 +6079,14 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { */ function expressionOrTypeToTypeNode(context: NodeBuilderContext, expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean) { const oldFlags = context.flags; + const oldDepth = context.depth; if (expr && !(context.flags & NodeBuilderFlags.NoSyntacticPrinter)) { syntacticNodeBuilder.serializeTypeOfExpression(expr, context, addUndefined); } context.flags |= NodeBuilderFlags.NoSyntacticPrinter; const result = expressionOrTypeToTypeNodeHelper(context, expr, type, addUndefined); context.flags = oldFlags; + context.depth = oldDepth; return result; } function expressionOrTypeToTypeNodeHelper(context: NodeBuilderContext, expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean) { @@ -6702,7 +6704,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } const links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration); - const key = `${getTypeId(type)}|${context.flags}`; + const key = `${getTypeId(type)}|${context.flags}${context.unfoldDepth > 0 ? `|${context.unfoldDepth}` : ""}`; if (links) { links.serializedTypes ||= new Map(); } @@ -8324,23 +8326,28 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration); const enclosingDeclaration = context.enclosingDeclaration; const oldFlags = context.flags; - if (declaration && hasInferredType(declaration) && !(context.flags & NodeBuilderFlags.NoSyntacticPrinter)) { - syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, context); - } - context.flags |= NodeBuilderFlags.NoSyntacticPrinter; - if (enclosingDeclaration && (!isErrorType(type) || (context.flags & NodeBuilderFlags.AllowUnresolvedNames))) { - const declWithExistingAnnotation = declaration && getNonlocalEffectiveTypeAnnotationNode(declaration) - ? declaration - : getDeclarationWithTypeAnnotation(symbol); - if (declWithExistingAnnotation && !isFunctionLikeDeclaration(declWithExistingAnnotation) && !isGetAccessorDeclaration(declWithExistingAnnotation)) { - // try to reuse the existing annotation - const existing = getNonlocalEffectiveTypeAnnotationNode(declWithExistingAnnotation)!; - // explicitly add `| undefined` to optional mapped properties whose type contains `undefined` (and not `missing`) - const addUndefined = addUndefinedForParameter || !!(symbol.flags & SymbolFlags.Property && symbol.flags & SymbolFlags.Optional && isOptionalDeclaration(declWithExistingAnnotation) && (symbol as MappedSymbol).links?.mappedType && containsNonMissingUndefinedType(type)); - const result = !isTypePredicateNode(existing) && tryReuseExistingTypeNode(context, existing, type, declWithExistingAnnotation, addUndefined); - if (result) { - context.flags = oldFlags; - return result; + const oldDepth = context.depth; + + const canUnfold = context.depth < context.unfoldDepth; + if (!canUnfold) { + if (declaration && hasInferredType(declaration) && !(context.flags & NodeBuilderFlags.NoSyntacticPrinter)) { + syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, context); + } + context.flags |= NodeBuilderFlags.NoSyntacticPrinter; + if (enclosingDeclaration && (!isErrorType(type) || (context.flags & NodeBuilderFlags.AllowUnresolvedNames))) { + const declWithExistingAnnotation = declaration && getNonlocalEffectiveTypeAnnotationNode(declaration) + ? declaration + : getDeclarationWithTypeAnnotation(symbol); + if (declWithExistingAnnotation && !isFunctionLikeDeclaration(declWithExistingAnnotation) && !isGetAccessorDeclaration(declWithExistingAnnotation)) { + // try to reuse the existing annotation + const existing = getNonlocalEffectiveTypeAnnotationNode(declWithExistingAnnotation)!; + // explicitly add `| undefined` to optional mapped properties whose type contains `undefined` (and not `missing`) + const addUndefined = addUndefinedForParameter || !!(symbol.flags & SymbolFlags.Property && symbol.flags & SymbolFlags.Optional && isOptionalDeclaration(declWithExistingAnnotation) && (symbol as MappedSymbol).links?.mappedType && containsNonMissingUndefinedType(type)); + const result = !isTypePredicateNode(existing) && tryReuseExistingTypeNode(context, existing, type, declWithExistingAnnotation, addUndefined); + if (result) { + context.flags = oldFlags; + return result; + } } } } @@ -8352,10 +8359,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } const decl = declaration ?? symbol.valueDeclaration ?? symbol.declarations?.[0]; - const expr = decl && isDeclarationWithPossibleInnerTypeNodeReuse(decl) ? getPossibleTypeNodeReuseExpression(decl) : undefined; + const expr = !canUnfold && decl && isDeclarationWithPossibleInnerTypeNodeReuse(decl) ? getPossibleTypeNodeReuseExpression(decl) : undefined; const result = expressionOrTypeToTypeNode(context, expr, type, addUndefinedForParameter); context.flags = oldFlags; + context.depth = oldDepth; return result; } diff --git a/src/harness/client.ts b/src/harness/client.ts index 796f42a88bff1..f66948725ca2e 100644 --- a/src/harness/client.ts +++ b/src/harness/client.ts @@ -252,7 +252,7 @@ export class SessionClient implements LanguageService { return { line, character: offset }; } - getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number | undefined): QuickInfo { + getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel?: number | undefined): QuickInfo { const args = { ...this.createFileLocationRequestArgs(fileName, position), verbosityLevel }; const request = this.processRequest(protocol.CommandTypes.Quickinfo, args); diff --git a/src/services/types.ts b/src/services/types.ts index 8638cc7a19053..04f0a90db1885 100644 --- a/src/services/types.ts +++ b/src/services/types.ts @@ -581,8 +581,12 @@ export interface LanguageService { * * @param fileName The path to the file * @param position A zero-based index of the character where you want the quick info + * */ - getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel?: number): QuickInfo | undefined; + getQuickInfoAtPosition(fileName: string, position: number): QuickInfo | undefined; + /** @internal */ + getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number | undefined): QuickInfo | undefined; + getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan | undefined; diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 8275e4222820c..7826ecadd2323 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -1453,6 +1453,10 @@ declare namespace ts { command: CommandTypes.Quickinfo; arguments: FileLocationRequestArgs; } + export interface QuickInfoRequestArgs extends FileLocationRequestArgs { + /** TODO */ + verbosityLevel?: number; + } /** * Body of QuickInfoResponse. */ diff --git a/tests/baselines/reference/quickinfoVerbosity.baseline b/tests/baselines/reference/quickinfoVerbosity.baseline index 6736d0ba80ed0..5276406032ed7 100644 --- a/tests/baselines/reference/quickinfoVerbosity.baseline +++ b/tests/baselines/reference/quickinfoVerbosity.baseline @@ -6,6 +6,7 @@ // | ---------------------------------------------------------------------- // | const foo: string | number // | +// | (verbosity level: 1) // | ---------------------------------------------------------------------- [ @@ -34,7 +35,8 @@ "text": "" } ], - "tags": [] + "tags": [], + "verbosityLevel": 1 } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline b/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline new file mode 100644 index 0000000000000..40a5aa18793d2 --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline @@ -0,0 +1,675 @@ +// === QuickInfo === +=== /tests/cases/fourslash/quickinfoVerbosityObjectType1.ts === +// type Str = string | {}; +// type FooType = Str | number; +// type Sym = symbol | (() => void); +// type BarType = Sym | boolean; +// type Obj = { foo: FooType, bar: BarType, str: Str }; +// const obj: Obj = { foo: 1, bar: true, str: "3"}; +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: { +// | foo: number | (string | {}); +// | bar: boolean | (symbol | (() => void)); +// | str: string | {}; +// | } +// | (verbosity level: 3) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: { +// | foo: number | Str; +// | bar: boolean | Sym; +// | str: string | {}; +// | } +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: { +// | foo: FooType; +// | bar: BarType; +// | str: Str; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: Obj +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", + "position": 179, + "name": "o" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 176, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Obj", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", + "position": 179, + "name": "o" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 176, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "str", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", + "position": 179, + "name": "o" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 176, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "str", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", + "position": 179, + "name": "o" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 176, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "symbol", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "str", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 3 + } + } +] \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js index 3f118b6ebb416..0b875d7308724 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js @@ -129,11 +129,10 @@ Info seq [hh:mm:ss:mss] request: "file": "/tests/cases/fourslash/server/quickinfoVerbosity.ts", "line": 2, "offset": 10, - "verbosityLevel": 3 + "verbosityLevel": 1 }, "command": "quickinfo" } -Info seq [hh:mm:ss:mss] >>> quick info verbosityLevel: 3 Info seq [hh:mm:ss:mss] response: { "seq": 0, diff --git a/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts b/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts new file mode 100644 index 0000000000000..961cffc22a465 --- /dev/null +++ b/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts @@ -0,0 +1,12 @@ +/// + + +//// type Str = string | {}; +//// type FooType = Str | number; +//// type Sym = symbol | (() => void); +//// type BarType = Sym | boolean; +//// type Obj = { foo: FooType, bar: BarType, str: Str }; +//// const obj/*o*/: Obj = { foo: 1, bar: true, str: "3"}; + + +verify.baselineQuickInfo({ "o": [0, 1, 2, 3] }); \ No newline at end of file diff --git a/tests/cases/fourslash/server/quickinfoVerbosity.ts b/tests/cases/fourslash/server/quickinfoVerbosity.ts index dc2e562555a54..77ef361d4307f 100644 --- a/tests/cases/fourslash/server/quickinfoVerbosity.ts +++ b/tests/cases/fourslash/server/quickinfoVerbosity.ts @@ -3,4 +3,4 @@ //// type FooType = string | number //// const foo/*a*/: FooType = 1 -verify.baselineQuickInfo({ "a": 3 }); \ No newline at end of file +verify.baselineQuickInfo({ "a": 1 }); \ No newline at end of file From cf486eaefb2f6cd80e0b2d8ed09ab0f3fc86cf84 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 12 Aug 2024 13:02:47 -0700 Subject: [PATCH 07/19] fix lint --- src/services/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/types.ts b/src/services/types.ts index 04f0a90db1885..f414dc42d566f 100644 --- a/src/services/types.ts +++ b/src/services/types.ts @@ -585,7 +585,7 @@ export interface LanguageService { */ getQuickInfoAtPosition(fileName: string, position: number): QuickInfo | undefined; /** @internal */ - getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number | undefined): QuickInfo | undefined; + getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number | undefined): QuickInfo | undefined; // eslint-disable-line @typescript-eslint/unified-signatures getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan | undefined; From 0e03e9b6bbfc5db654350b580bd7974e85064f3c Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 12 Aug 2024 13:06:15 -0700 Subject: [PATCH 08/19] update test --- .../quickinfoVerbosityObjectType1.baseline | 667 +++++++++++++++++- .../quickinfoVerbosityObjectType1.ts | 5 +- 2 files changed, 645 insertions(+), 27 deletions(-) diff --git a/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline b/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline index 40a5aa18793d2..8b0294ad419b1 100644 --- a/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline +++ b/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline @@ -5,37 +5,65 @@ // type Sym = symbol | (() => void); // type BarType = Sym | boolean; // type Obj = { foo: FooType, bar: BarType, str: Str }; -// const obj: Obj = { foo: 1, bar: true, str: "3"}; -// ^^^ +// const obj1: Obj = { foo: 1, bar: true, str: "3"}; +// ^^^^ // | ---------------------------------------------------------------------- -// | const obj: { +// | const obj1: { // | foo: number | (string | {}); // | bar: boolean | (symbol | (() => void)); // | str: string | {}; // | } // | (verbosity level: 3) // | ---------------------------------------------------------------------- -// ^^^ +// ^^^^ // | ---------------------------------------------------------------------- -// | const obj: { +// | const obj1: { // | foo: number | Str; // | bar: boolean | Sym; // | str: string | {}; // | } // | (verbosity level: 2) // | ---------------------------------------------------------------------- -// ^^^ +// ^^^^ // | ---------------------------------------------------------------------- -// | const obj: { +// | const obj1: { // | foo: FooType; // | bar: BarType; // | str: Str; // | } // | (verbosity level: 1) // | ---------------------------------------------------------------------- -// ^^^ +// ^^^^ // | ---------------------------------------------------------------------- -// | const obj: Obj +// | const obj1: Obj +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// const obj2: { foo: FooType, bar: BarType, str: Str } = { foo: 1, bar: true, str: "3"}; +// ^^^^ +// | ---------------------------------------------------------------------- +// | const obj2: { +// | foo: number | (string | {}); +// | bar: boolean | (symbol | (() => void)); +// | str: string | {}; +// | } +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^^^^ +// | ---------------------------------------------------------------------- +// | const obj2: { +// | foo: number | Str; +// | bar: boolean | Sym; +// | str: string | {}; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^^ +// | ---------------------------------------------------------------------- +// | const obj2: { +// | foo: FooType; +// | bar: BarType; +// | str: Str; +// | } // | (verbosity level: 0) // | ---------------------------------------------------------------------- @@ -43,15 +71,15 @@ { "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", - "position": 179, - "name": "o" + "position": 180, + "name": "o1" }, "item": { "kind": "const", "kindModifiers": "", "textSpan": { "start": 176, - "length": 3 + "length": 4 }, "displayParts": [ { @@ -63,7 +91,7 @@ "kind": "space" }, { - "text": "obj", + "text": "obj1", "kind": "localName" }, { @@ -86,15 +114,15 @@ { "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", - "position": 179, - "name": "o" + "position": 180, + "name": "o1" }, "item": { "kind": "const", "kindModifiers": "", "textSpan": { "start": 176, - "length": 3 + "length": 4 }, "displayParts": [ { @@ -106,7 +134,7 @@ "kind": "space" }, { - "text": "obj", + "text": "obj1", "kind": "localName" }, { @@ -221,15 +249,15 @@ { "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", - "position": 179, - "name": "o" + "position": 180, + "name": "o1" }, "item": { "kind": "const", "kindModifiers": "", "textSpan": { "start": 176, - "length": 3 + "length": 4 }, "displayParts": [ { @@ -241,7 +269,7 @@ "kind": "space" }, { - "text": "obj", + "text": "obj1", "kind": "localName" }, { @@ -408,15 +436,15 @@ { "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", - "position": 179, - "name": "o" + "position": 180, + "name": "o1" }, "item": { "kind": "const", "kindModifiers": "", "textSpan": { "start": 176, - "length": 3 + "length": 4 }, "displayParts": [ { @@ -428,7 +456,7 @@ "kind": "space" }, { - "text": "obj", + "text": "obj1", "kind": "localName" }, { @@ -671,5 +699,594 @@ "documentation": [], "verbosityLevel": 3 } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", + "position": 230, + "name": "o2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 226, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj2", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "str", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", + "position": 230, + "name": "o2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 226, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj2", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "str", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts", + "position": 230, + "name": "o2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 226, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj2", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "symbol", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "str", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } } ] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts b/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts index 961cffc22a465..d255f61622014 100644 --- a/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts +++ b/tests/cases/fourslash/quickinfoVerbosityObjectType1.ts @@ -6,7 +6,8 @@ //// type Sym = symbol | (() => void); //// type BarType = Sym | boolean; //// type Obj = { foo: FooType, bar: BarType, str: Str }; -//// const obj/*o*/: Obj = { foo: 1, bar: true, str: "3"}; +//// const obj1/*o1*/: Obj = { foo: 1, bar: true, str: "3"}; +//// const obj2/*o2*/: { foo: FooType, bar: BarType, str: Str } = { foo: 1, bar: true, str: "3"}; -verify.baselineQuickInfo({ "o": [0, 1, 2, 3] }); \ No newline at end of file +verify.baselineQuickInfo({ "o1": [0, 1, 2, 3], "o2": [0, 1, 2] }); \ No newline at end of file From 44274ccd1776a63f50c1792cf924c147d6670859 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 12 Aug 2024 13:22:08 -0700 Subject: [PATCH 09/19] add intersection test --- .../quickinfoVerbosityIntersection1.baseline | 353 ++++++++++++++++++ .../quickinfoVerbosityIntersection1.ts | 22 ++ 2 files changed, 375 insertions(+) create mode 100644 tests/baselines/reference/quickinfoVerbosityIntersection1.baseline create mode 100644 tests/cases/fourslash/quickinfoVerbosityIntersection1.ts diff --git a/tests/baselines/reference/quickinfoVerbosityIntersection1.baseline b/tests/baselines/reference/quickinfoVerbosityIntersection1.baseline new file mode 100644 index 0000000000000..4132f88ec9547 --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosityIntersection1.baseline @@ -0,0 +1,353 @@ +// === QuickInfo === +=== /tests/cases/fourslash/quickinfoVerbosityIntersection1.ts === +// { +// type Foo = { a: "a" | "c" }; +// type Bar = { a: "a" | "b" }; +// const obj: Foo & Bar = { a: "a" }; +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: { +// | a: "a" | "c"; +// | } & { +// | a: "a" | "b"; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: Foo & Bar +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// type Foo = { a: "c" }; +// type Bar = { a: "b" }; +// const obj: Foo & Bar = { a: "" }; +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: never +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// type Foo = { a: "c" }; +// type Bar = { a: "b" }; +// type Never = Foo & Bar; +// const obj: Never = { a: "" }; +// ^^^ +// | ---------------------------------------------------------------------- +// | const obj: never +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityIntersection1.ts", + "position": 81, + "name": "o1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 78, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "aliasName" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "&", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityIntersection1.ts", + "position": 81, + "name": "o1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 78, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "&", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"b\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityIntersection1.ts", + "position": 178, + "name": "o2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 175, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "never", + "kind": "keyword" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityIntersection1.ts", + "position": 302, + "name": "o3" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 299, + "length": 3 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "never", + "kind": "keyword" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + } +] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosityIntersection1.ts b/tests/cases/fourslash/quickinfoVerbosityIntersection1.ts new file mode 100644 index 0000000000000..521e624880750 --- /dev/null +++ b/tests/cases/fourslash/quickinfoVerbosityIntersection1.ts @@ -0,0 +1,22 @@ +/// + + + +//// { +//// type Foo = { a: "a" | "c" }; +//// type Bar = { a: "a" | "b" }; +//// const obj/*o1*/: Foo & Bar = { a: "a" }; +//// } +//// { +//// type Foo = { a: "c" }; +//// type Bar = { a: "b" }; +//// const obj/*o2*/: Foo & Bar = { a: "" }; +//// } +//// { +//// type Foo = { a: "c" }; +//// type Bar = { a: "b" }; +//// type Never = Foo & Bar; +//// const obj/*o3*/: Never = { a: "" }; +//// } + +verify.baselineQuickInfo({ "o1": [0, 1], "o2": 0, "o3": 0 }); \ No newline at end of file From a04f2901355a9bdbe32c66e371b2dd77e284038e Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 13 Aug 2024 10:13:09 -0700 Subject: [PATCH 10/19] add interface case --- src/compiler/checker.ts | 4 + .../quickinfoVerbosityInterface1.baseline | 161 ++++++++++++++++++ .../fourslash/quickinfoVerbosityInterface1.ts | 12 ++ 3 files changed, 177 insertions(+) create mode 100644 tests/baselines/reference/quickinfoVerbosityInterface1.baseline create mode 100644 tests/cases/fourslash/quickinfoVerbosityInterface1.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 29521538c1582..be05c2f3ca4d0 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6433,6 +6433,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { context.approximateLength += idText(name).length; return factory.createTypeReferenceNode(factory.createIdentifier(idText(name)), /*typeArguments*/ undefined); } + if (context.depth < context.unfoldDepth && objectFlags & ObjectFlags.ClassOrInterface) { + context.depth += 1; + return createAnonymousTypeNode(type as InterfaceType); + } // Ignore constraint/default when creating a usage (as opposed to declaration) of a type parameter. if (type.symbol) { return symbolToTypeNode(type.symbol, context, SymbolFlags.Type); diff --git a/tests/baselines/reference/quickinfoVerbosityInterface1.baseline b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline new file mode 100644 index 0000000000000..7bb1f07afd4b3 --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline @@ -0,0 +1,161 @@ +// === QuickInfo === +=== /tests/cases/fourslash/quickinfoVerbosityInterface1.ts === +// { +// interface Foo { +// a: "a" | "c"; +// } +// const f: Foo = { a: "a" }; +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a" | "c"; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 61, + "name": "f" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 60, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "interfaceName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 61, + "name": "f" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 60, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + } +] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosityInterface1.ts b/tests/cases/fourslash/quickinfoVerbosityInterface1.ts new file mode 100644 index 0000000000000..9f7127f4b2b1c --- /dev/null +++ b/tests/cases/fourslash/quickinfoVerbosityInterface1.ts @@ -0,0 +1,12 @@ +/// + + +//// { +//// interface Foo { +//// a: "a" | "c"; +//// } +//// const f/*f*/: Foo = { a: "a" }; +//// } + + +verify.baselineQuickInfo({ "f": [0, 1] }); \ No newline at end of file From c50b97d44df50c25b47945dc80e6632be35ca5b2 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 13 Aug 2024 13:26:32 -0700 Subject: [PATCH 11/19] more interface cases --- src/compiler/checker.ts | 4 + .../quickinfoVerbosityInterface1.baseline | 2036 ++++++++++++++++- .../fourslash/quickinfoVerbosityInterface1.ts | 55 +- 3 files changed, 2090 insertions(+), 5 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index be05c2f3ca4d0..bf692fd106e81 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6405,6 +6405,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (objectFlags & ObjectFlags.Reference) { Debug.assert(!!(type.flags & TypeFlags.Object)); + if (context.depth < context.unfoldDepth) { + context.depth += 1; + return createAnonymousTypeNode((type as TypeReference)); + } return (type as TypeReference).node ? visitAndTransformType(type as TypeReference, typeReferenceToTypeNode) : typeReferenceToTypeNode(type as TypeReference); } if (type.flags & TypeFlags.TypeParameter || objectFlags & ObjectFlags.ClassOrInterface) { diff --git a/tests/baselines/reference/quickinfoVerbosityInterface1.baseline b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline index 7bb1f07afd4b3..73f37c5ab87a8 100644 --- a/tests/baselines/reference/quickinfoVerbosityInterface1.baseline +++ b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline @@ -18,13 +18,163 @@ // | (verbosity level: 0) // | ---------------------------------------------------------------------- // } +// { +// interface Bar { +// b: "b" | "d"; +// } +// interface Foo extends Bar { +// a: "a" | "c"; +// } +// const f: Foo = { a: "a", b: "b" }; +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a" | "c"; +// | b: "b" | "d"; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// type BarParam = "b" | "d"; +// interface Bar { +// bar(b: BarParam): string; +// } +// type FooType = "a" | "c"; +// interface FooParam { +// param: FooType; +// } +// interface Foo extends Bar { +// a: FooType; +// foo: (a: FooParam) => number; +// } +// const f: Foo = { a: "a", bar: () => "b", foo: () => 1 }; +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a" | "c"; +// | foo: (a: { +// | param: "a" | "c"; +// | }) => number; +// | bar(b: "b" | "d"): string; +// | } +// | (verbosity level: 3) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a" | "c"; +// | foo: (a: { +// | param: FooType; +// | }) => number; +// | bar(b: "b" | "d"): string; +// | } +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: FooType; +// | foo: (a: FooParam) => number; +// | bar(b: BarParam): string; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// interface Bar { +// bar(b: B): string; +// } +// interface FooParam { +// param: "a" | "c"; +// } +// interface Foo extends Bar { +// a: "a" | "c"; +// foo: (a: FooParam) => number; +// } +// const f: Foo = { a: "a", bar: () => "b", foo: () => 1 }; +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a" | "c"; +// | foo: (a: { +// | param: "a" | "c"; +// | }) => number; +// | bar(b: { +// | param: "a" | "c"; +// | }): string; +// | } +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a" | "c"; +// | foo: (a: FooParam) => number; +// | bar(b: FooParam): string; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// const b: Bar = { bar: () => "" }; +// ^ +// | ---------------------------------------------------------------------- +// | const b: { +// | bar(b: number): string; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const b: Bar +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// interface Foo { +// a: A; +// } +// type Alias = Foo; +// const a: Alias = { a: "a" }; +// ^ +// | ---------------------------------------------------------------------- +// | const a: { +// | a: string; +// | } +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const a: Foo +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const a: Alias +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } [ { "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", "position": 61, - "name": "f" + "name": "f1" }, "item": { "kind": "const", @@ -67,7 +217,7 @@ "marker": { "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", "position": 61, - "name": "f" + "name": "f1" }, "item": { "kind": "const", @@ -157,5 +307,1887 @@ "documentation": [], "verbosityLevel": 1 } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 204, + "name": "f2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 203, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "interfaceName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 204, + "name": "f2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 203, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"b\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"d\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 519, + "name": "f3" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 518, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "interfaceName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 519, + "name": "f3" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 518, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "a", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooParam", + "kind": "interfaceName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarParam", + "kind": "aliasName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 519, + "name": "f3" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 518, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "a", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "param", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"b\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"d\"", + "kind": "stringLiteral" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 519, + "name": "f3" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 518, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "a", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "param", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"b\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"d\"", + "kind": "stringLiteral" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 3 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 805, + "name": "f4" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 804, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "interfaceName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 805, + "name": "f4" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 804, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "a", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooParam", + "kind": "interfaceName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooParam", + "kind": "interfaceName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 805, + "name": "f4" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 804, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "a", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "param", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "=>", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "param", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "}", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 866, + "name": "b1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 865, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "interfaceName" + }, + { + "text": "<", + "kind": "punctuation" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ">", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 866, + "name": "b1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 865, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 989, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 988, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Alias", + "kind": "aliasName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 989, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 988, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "interfaceName" + }, + { + "text": "<", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ">", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 989, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 988, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } } ] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosityInterface1.ts b/tests/cases/fourslash/quickinfoVerbosityInterface1.ts index 9f7127f4b2b1c..2b41131545795 100644 --- a/tests/cases/fourslash/quickinfoVerbosityInterface1.ts +++ b/tests/cases/fourslash/quickinfoVerbosityInterface1.ts @@ -1,12 +1,61 @@ /// - +// simple case //// { //// interface Foo { //// a: "a" | "c"; //// } -//// const f/*f*/: Foo = { a: "a" }; +//// const f/*f1*/: Foo = { a: "a" }; +//// } +// extends +//// { +//// interface Bar { +//// b: "b" | "d"; +//// } +//// interface Foo extends Bar { +//// a: "a" | "c"; +//// } +//// const f/*f2*/: Foo = { a: "a", b: "b" }; +//// } +// methods +//// { +//// type BarParam = "b" | "d"; +//// interface Bar { +//// bar(b: BarParam): string; +//// } +//// type FooType = "a" | "c"; +//// interface FooParam { +//// param: FooType; +//// } +//// interface Foo extends Bar { +//// a: FooType; +//// foo: (a: FooParam) => number; +//// } +//// const f/*f3*/: Foo = { a: "a", bar: () => "b", foo: () => 1 }; +//// } +// type parameters +//// { +//// interface Bar { +//// bar(b: B): string; +//// } +//// interface FooParam { +//// param: "a" | "c"; +//// } +//// interface Foo extends Bar { +//// a: "a" | "c"; +//// foo: (a: FooParam) => number; +//// } +//// const f/*f4*/: Foo = { a: "a", bar: () => "b", foo: () => 1 }; +//// const b/*b1*/: Bar = { bar: () => "" }; +//// } +// alias + interface +//// { +//// interface Foo { +//// a: A; +//// } +//// type Alias = Foo; +//// const a/*a*/: Alias = { a: "a" }; //// } -verify.baselineQuickInfo({ "f": [0, 1] }); \ No newline at end of file +verify.baselineQuickInfo({ f1: [0, 1], f2: [0, 1], f3: [0, 1, 2, 3], f4: [0, 1, 2], b1: [0, 1], a: [0, 1, 2] }); \ No newline at end of file From 42e1e58f6fbfd6b2b3376da40e6522a2ce2c662e Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 13 Aug 2024 17:09:35 -0700 Subject: [PATCH 12/19] add class case --- src/compiler/checker.ts | 27 +- src/services/types.ts | 4 +- .../quickinfoVerbosityClass1.baseline | 1892 +++++++++++++++++ .../quickinfoVerbosityInterface1.baseline | 172 ++ .../fourslash/quickinfoVerbosityClass1.ts | 71 + .../fourslash/quickinfoVerbosityInterface1.ts | 20 +- 6 files changed, 2173 insertions(+), 13 deletions(-) create mode 100644 tests/baselines/reference/quickinfoVerbosityClass1.baseline create mode 100644 tests/cases/fourslash/quickinfoVerbosityClass1.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index bf692fd106e81..92e035421d81a 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6390,7 +6390,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (!inTypeAlias && type.aliasSymbol && (context.flags & NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) { - if (context.depth >= context.unfoldDepth) { + if (!canUnfold()) { const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context); if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & SymbolFlags.Class)) return factory.createTypeReferenceNode(factory.createIdentifier(""), typeArgumentNodes); if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) { @@ -6405,9 +6405,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (objectFlags & ObjectFlags.Reference) { Debug.assert(!!(type.flags & TypeFlags.Object)); - if (context.depth < context.unfoldDepth) { + if (canUnfold()) { context.depth += 1; - return createAnonymousTypeNode((type as TypeReference)); + return createAnonymousTypeNode(type as TypeReference, /*forceClassExpansion*/ true); } return (type as TypeReference).node ? visitAndTransformType(type as TypeReference, typeReferenceToTypeNode) : typeReferenceToTypeNode(type as TypeReference); } @@ -6437,9 +6437,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { context.approximateLength += idText(name).length; return factory.createTypeReferenceNode(factory.createIdentifier(idText(name)), /*typeArguments*/ undefined); } - if (context.depth < context.unfoldDepth && objectFlags & ObjectFlags.ClassOrInterface) { + if (objectFlags & ObjectFlags.ClassOrInterface && canUnfold()) { context.depth += 1; - return createAnonymousTypeNode(type as InterfaceType); + return createAnonymousTypeNode(type as InterfaceType, /*forceClassExpansion*/ true); } // Ignore constraint/default when creating a usage (as opposed to declaration) of a type parameter. if (type.symbol) { @@ -6514,6 +6514,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return Debug.fail("Should be unreachable."); + function canUnfold(): boolean { + return context.depth < context.unfoldDepth && !context.visitedTypes?.has(type.id); + } + function conditionalTypeToTypeNode(type: ConditionalType) { const checkTypeNode = typeToTypeNodeHelper(type.checkType, context); context.approximateLength += 15; @@ -6648,7 +6652,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return result; } - function createAnonymousTypeNode(type: ObjectType): TypeNode { + function createAnonymousTypeNode(type: ObjectType, forceClassExpansion = false): TypeNode { const typeId = type.id; const symbol = type.symbol; if (symbol) { @@ -6675,10 +6679,15 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // Always use 'typeof T' for type of class, enum, and module objects else if ( symbol.flags & SymbolFlags.Class + && !forceClassExpansion && !getBaseTypeVariableOfClass(symbol) - && !(symbol.valueDeclaration && isClassLike(symbol.valueDeclaration) && context.flags & NodeBuilderFlags.WriteClassExpressionAsTypeLiteral && (!isClassDeclaration(symbol.valueDeclaration) || isSymbolAccessible(symbol, context.enclosingDeclaration, isInstanceType, /*shouldComputeAliasesToMakeVisible*/ false).accessibility !== SymbolAccessibility.Accessible)) || - symbol.flags & (SymbolFlags.Enum | SymbolFlags.ValueModule) || - shouldWriteTypeOfFunctionSymbol() + && !(symbol.valueDeclaration + && isClassLike(symbol.valueDeclaration) + && context.flags & NodeBuilderFlags.WriteClassExpressionAsTypeLiteral + && (!isClassDeclaration(symbol.valueDeclaration) + || isSymbolAccessible(symbol, context.enclosingDeclaration, isInstanceType, /*shouldComputeAliasesToMakeVisible*/ false).accessibility !== SymbolAccessibility.Accessible)) + || symbol.flags & (SymbolFlags.Enum | SymbolFlags.ValueModule) + || shouldWriteTypeOfFunctionSymbol() ) { return symbolToTypeNode(symbol, context, isInstanceType); } diff --git a/src/services/types.ts b/src/services/types.ts index f414dc42d566f..1a97b6dcb53d9 100644 --- a/src/services/types.ts +++ b/src/services/types.ts @@ -581,12 +581,10 @@ export interface LanguageService { * * @param fileName The path to the file * @param position A zero-based index of the character where you want the quick info - * */ getQuickInfoAtPosition(fileName: string, position: number): QuickInfo | undefined; /** @internal */ - getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number | undefined): QuickInfo | undefined; // eslint-disable-line @typescript-eslint/unified-signatures - + getQuickInfoAtPosition(fileName: string, position: number, verbosityLevel: number | undefined): QuickInfo | undefined; // eslint-disable-line @typescript-eslint/unified-signatures getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan | undefined; diff --git a/tests/baselines/reference/quickinfoVerbosityClass1.baseline b/tests/baselines/reference/quickinfoVerbosityClass1.baseline new file mode 100644 index 0000000000000..7ace77f1eae67 --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosityClass1.baseline @@ -0,0 +1,1892 @@ +// === QuickInfo === +=== /tests/cases/fourslash/quickinfoVerbosityClass1.ts === +// { +// class Foo { +// a!: "a" | "c"; +// } +// const f = new Foo(); +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a" | "c"; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// type FooParam = "a" | "b"; +// class Foo { +// constructor(public x: string) { +// this.x = "a"; +// } +// foo(p: FooParam): void {} +// } +// const f = new Foo(""); +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | x: string; +// | foo(p: "a" | "b"): void; +// | } +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | x: string; +// | foo(p: FooParam): void; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// class Bar { +// a!: string; +// bar(): void {} +// baz(param: string): void {} +// } +// class Foo extends Bar { +// b!: boolean; +// override baz(param: string | number): void {} +// } +// const f = new Foo(); +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | b: boolean; +// | baz(param: string | number): void; +// | a: string; +// | bar(): void; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// class Bar { +// bar(param: B): void {} +// baz(): this { return this; } +// } +// class Foo extends Bar<"foo"> { +// foo(): this { return this; } +// } +// const b = new Bar(); +// ^ +// | ---------------------------------------------------------------------- +// | const b: { +// | bar(param: string): void; +// | baz(): Bar; +// | } +// | (verbosity level: 2) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const b: { +// | bar(param: string): void; +// | baz(): Bar; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const b: Bar +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// const f = new Foo(); +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | foo(): Foo; +// | bar(param: "foo"): void; +// | baz(): Foo; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } +// { +// class Bar { +// bar(param: B): void {} +// baz(): this { return this; } +// } +// const noname = new (class extends Bar<"foo"> { +// ^^^^^^ +// | ---------------------------------------------------------------------- +// | const noname: { +// | foo(): (Anonymous class); +// | bar(param: "foo"): void; +// | baz(): (Anonymous class); +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^^^^ +// | ---------------------------------------------------------------------- +// | const noname: (Anonymous class) +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// foo(): this { return this; } +// })(); +// const klass = class extends Bar<"foo"> { +// foo(): this { return this; } +// }; +// const k = new klass(); +// ^ +// | ---------------------------------------------------------------------- +// | const k: { +// | foo(): klass; +// | bar(param: "foo"): void; +// | baz(): klass; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const k: klass +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 58, + "name": "f1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 57, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "className" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 58, + "name": "f1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 57, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"c\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 250, + "name": "f2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 249, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "className" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 250, + "name": "f2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 249, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "x", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "p", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooParam", + "kind": "aliasName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 250, + "name": "f2" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 249, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "x", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "p", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"b\"", + "kind": "stringLiteral" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 491, + "name": "f3" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 490, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "className" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 491, + "name": "f3" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 490, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "boolean", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "baz", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "param", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "|", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "number", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 706, + "name": "b1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 705, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "className" + }, + { + "text": "<", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ">", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 706, + "name": "b1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 705, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "param", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "baz", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "className" + }, + { + "text": "<", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ">", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 706, + "name": "b1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 705, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "param", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "baz", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Bar", + "kind": "className" + }, + { + "text": "<", + "kind": "punctuation" + }, + { + "text": "string", + "kind": "keyword" + }, + { + "text": ">", + "kind": "punctuation" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 2 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 731, + "name": "f4" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 730, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "className" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 731, + "name": "f4" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 730, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "className" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "param", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"foo\"", + "kind": "stringLiteral" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "baz", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "className" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 873, + "name": "n1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 867, + "length": 6 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "noname", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(Anonymous class)", + "kind": "className" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 873, + "name": "n1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 867, + "length": 6 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "noname", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(Anonymous class)", + "kind": "className" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "param", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"foo\"", + "kind": "stringLiteral" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "baz", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "(Anonymous class)", + "kind": "className" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 1055, + "name": "k1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 1054, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "k", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "klass", + "kind": "className" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityClass1.ts", + "position": 1055, + "name": "k1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 1054, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "k", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "foo", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "klass", + "kind": "className" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "bar", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "param", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"foo\"", + "kind": "stringLiteral" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "void", + "kind": "keyword" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "baz", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "klass", + "kind": "className" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } + } +] \ No newline at end of file diff --git a/tests/baselines/reference/quickinfoVerbosityInterface1.baseline b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline index 73f37c5ab87a8..0a883ce294038 100644 --- a/tests/baselines/reference/quickinfoVerbosityInterface1.baseline +++ b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline @@ -168,6 +168,28 @@ // | (verbosity level: 0) // | ---------------------------------------------------------------------- // } +// { +// interface Foo { +// a: "a"; +// } +// interface Foo { +// b: "b"; +// } +// const f: Foo = { a: "a", b: "b" }; +// ^ +// | ---------------------------------------------------------------------- +// | const f: { +// | a: "a"; +// | b: "b"; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^ +// | ---------------------------------------------------------------------- +// | const f: Foo +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- +// } [ { @@ -2189,5 +2211,155 @@ "documentation": [], "verbosityLevel": 2 } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 1110, + "name": "f5" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 1109, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Foo", + "kind": "interfaceName" + } + ], + "documentation": [], + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityInterface1.ts", + "position": 1110, + "name": "f5" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 1109, + "length": 1 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "f", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "a", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"a\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "\"b\"", + "kind": "stringLiteral" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "verbosityLevel": 1 + } } ] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosityClass1.ts b/tests/cases/fourslash/quickinfoVerbosityClass1.ts new file mode 100644 index 0000000000000..fd63a56939dec --- /dev/null +++ b/tests/cases/fourslash/quickinfoVerbosityClass1.ts @@ -0,0 +1,71 @@ +/// + + +// simple case +//// { +//// class Foo { +//// a!: "a" | "c"; +//// } +//// const f/*f1*/ = new Foo(); +//// } +// constructor +//// { +//// type FooParam = "a" | "b"; +//// class Foo { +//// constructor(public x: string) { +//// this.x = "a"; +//// } +//// foo(p: FooParam): void {} +//// } +//// const f/*f2*/ = new Foo(""); +//// } +// inheritance +//// { +//// class Bar { +//// a!: string; +//// bar(): void {} +//// baz(param: string): void {} +//// } +//// class Foo extends Bar { +//// b!: boolean; +//// override baz(param: string | number): void {} +//// } +//// const f/*f3*/ = new Foo(); +//// } +// type parameters +//// { +//// class Bar { +//// bar(param: B): void {} +//// baz(): this { return this; } +//// } +//// class Foo extends Bar<"foo"> { +//// foo(): this { return this; } +//// } +//// const b/*b1*/ = new Bar(); +//// const f/*f4*/ = new Foo(); +//// } +// class expression +//// { +//// class Bar { +//// bar(param: B): void {} +//// baz(): this { return this; } +//// } +//// const noname/*n1*/ = new (class extends Bar<"foo"> { +//// foo(): this { return this; } +//// })(); +//// const klass = class extends Bar<"foo"> { +//// foo(): this { return this; } +//// }; +//// const k/*k1*/ = new klass(); +//// } + + +verify.baselineQuickInfo({ + f1: [0, 1], + f2: [0, 1, 2], + f3: [0, 1], + b1: [0, 1, 2], + f4: [0, 1], + n1: [0, 1], + k1: [0, 1], +}); \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosityInterface1.ts b/tests/cases/fourslash/quickinfoVerbosityInterface1.ts index 2b41131545795..c0898b6fc25c6 100644 --- a/tests/cases/fourslash/quickinfoVerbosityInterface1.ts +++ b/tests/cases/fourslash/quickinfoVerbosityInterface1.ts @@ -56,6 +56,24 @@ //// type Alias = Foo; //// const a/*a*/: Alias = { a: "a" }; //// } +// decl merging +//// { +//// interface Foo { +//// a: "a"; +//// } +//// interface Foo { +//// b: "b"; +//// } +//// const f/*f5*/: Foo = { a: "a", b: "b" }; +//// } -verify.baselineQuickInfo({ f1: [0, 1], f2: [0, 1], f3: [0, 1, 2, 3], f4: [0, 1, 2], b1: [0, 1], a: [0, 1, 2] }); \ No newline at end of file +verify.baselineQuickInfo({ + f1: [0, 1], + f2: [0, 1], + f3: [0, 1, 2, 3], + f4: [0, 1, 2], + b1: [0, 1], + a: [0, 1, 2], + f5: [0, 1], +}); \ No newline at end of file From 185ff009706bb0ce53b9b4b49ef014181fc04593 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 11 Sep 2024 08:44:49 -0700 Subject: [PATCH 13/19] refactor, make signatures work? --- src/compiler/checker.ts | 18 +++++++++--------- src/compiler/types.ts | 1 + src/services/symbolDisplay.ts | 8 +++++++- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 92e035421d81a..a51875109f3b2 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6044,7 +6044,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolToExpression(symbol, context, meaning)), symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => typeParametersToTypeParameterDeclarations(symbol, context)), symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolToParameterDeclaration(symbol, context)), - typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => typeParameterToDeclaration(parameter, context)), + typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number) => withContext(enclosingDeclaration, flags, internalFlags, tracker, verbosityLevel, context => typeParameterToDeclaration(parameter, context)), symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolTableToDeclarationStatements(symbolTable, context)), symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolToNode(symbol, context, meaning)), }; @@ -6241,6 +6241,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return context.truncating = context.approximateLength > ((context.flags & NodeBuilderFlags.NoTruncation) ? noTruncationMaximumTruncationLength : defaultMaximumTruncationLength); } + function canUnfoldType(type: Type, context: NodeBuilderContext): boolean { + return context.depth < context.unfoldDepth && !context.visitedTypes?.has(type.id); + } + function typeToTypeNodeHelper(type: Type, context: NodeBuilderContext): TypeNode { const restoreFlags = saveRestoreFlags(context); const typeNode = typeToTypeNodeWorker(type, context); @@ -6390,7 +6394,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (!inTypeAlias && type.aliasSymbol && (context.flags & NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) { - if (!canUnfold()) { + if (!canUnfoldType(type, context)) { const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context); if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & SymbolFlags.Class)) return factory.createTypeReferenceNode(factory.createIdentifier(""), typeArgumentNodes); if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) { @@ -6405,7 +6409,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (objectFlags & ObjectFlags.Reference) { Debug.assert(!!(type.flags & TypeFlags.Object)); - if (canUnfold()) { + if (canUnfoldType(type, context)) { context.depth += 1; return createAnonymousTypeNode(type as TypeReference, /*forceClassExpansion*/ true); } @@ -6437,7 +6441,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { context.approximateLength += idText(name).length; return factory.createTypeReferenceNode(factory.createIdentifier(idText(name)), /*typeArguments*/ undefined); } - if (objectFlags & ObjectFlags.ClassOrInterface && canUnfold()) { + if (objectFlags & ObjectFlags.ClassOrInterface && canUnfoldType(type, context)) { context.depth += 1; return createAnonymousTypeNode(type as InterfaceType, /*forceClassExpansion*/ true); } @@ -6514,10 +6518,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return Debug.fail("Should be unreachable."); - function canUnfold(): boolean { - return context.depth < context.unfoldDepth && !context.visitedTypes?.has(type.id); - } - function conditionalTypeToTypeNode(type: ConditionalType) { const checkTypeNode = typeToTypeNodeHelper(type.checkType, context); context.approximateLength += 15; @@ -7646,7 +7646,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function typeToTypeNodeHelperWithPossibleReusableTypeNode(type: Type, typeNode: TypeNode | undefined, context: NodeBuilderContext) { - return typeNode && tryReuseExistingNonParameterTypeNode(context, typeNode, type) || typeToTypeNodeHelper(type, context); + return !canUnfoldType(type, context) && typeNode && tryReuseExistingNonParameterTypeNode(context, typeNode, type) || typeToTypeNodeHelper(type, context); } function typeParameterToDeclaration(type: TypeParameter, context: NodeBuilderContext, constraint = getConstraintOfTypeParameter(type)): TypeParameterDeclaration { diff --git a/src/compiler/types.ts b/src/compiler/types.ts index d5a0b43c9a3d0..2202cfe9a7287 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -5097,6 +5097,7 @@ export interface TypeChecker { symbolToParameterDeclaration(symbol: Symbol, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): ParameterDeclaration | undefined; /** Note that the resulting nodes cannot be checked. */ typeParameterToDeclaration(parameter: TypeParameter, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): TypeParameterDeclaration | undefined; + /** @internal */ typeParameterToDeclaration(parameter: TypeParameter, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number): TypeParameterDeclaration | undefined; getSymbolsInScope(location: Node, meaning: SymbolFlags): Symbol[]; getSymbolAtLocation(node: Node): Symbol | undefined; diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index 87b91c490cefb..e390178f08d68 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -660,7 +660,13 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( // If the type is type parameter, format it specially if (type.symbol && type.symbol.flags & SymbolFlags.TypeParameter && symbolKind !== ScriptElementKind.indexSignatureElement) { const typeParameterParts = mapToDisplayParts(writer => { - const param = typeChecker.typeParameterToDeclaration(type as TypeParameter, enclosingDeclaration, symbolDisplayNodeBuilderFlags)!; + const param = typeChecker.typeParameterToDeclaration( + type as TypeParameter, + enclosingDeclaration, + symbolDisplayNodeBuilderFlags, + /*internalFlags*/ undefined, + /*tracker*/ undefined, + verbosityLevel)!; getPrinter().writeNode(EmitHint.Unspecified, param, getSourceFileOfNode(getParseTreeNode(enclosingDeclaration)), writer); }); addRange(displayParts, typeParameterParts); From 45d66ed897909d5840ab431cccd8d3d2867798e1 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 11 Sep 2024 09:25:50 -0700 Subject: [PATCH 14/19] format and lint --- src/compiler/types.ts | 2 +- src/services/symbolDisplay.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index fe50a8131fed3..5b0e07c47e9c0 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -5124,7 +5124,7 @@ export interface TypeChecker { symbolToParameterDeclaration(symbol: Symbol, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): ParameterDeclaration | undefined; /** Note that the resulting nodes cannot be checked. */ typeParameterToDeclaration(parameter: TypeParameter, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): TypeParameterDeclaration | undefined; - /** @internal */ typeParameterToDeclaration(parameter: TypeParameter, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number): TypeParameterDeclaration | undefined; + /** @internal */ typeParameterToDeclaration(parameter: TypeParameter, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number): TypeParameterDeclaration | undefined; // eslint-disable-line @typescript-eslint/unified-signatures getSymbolsInScope(location: Node, meaning: SymbolFlags): Symbol[]; getSymbolAtLocation(node: Node): Symbol | undefined; diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index e390178f08d68..63145270f30d1 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -666,7 +666,8 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( symbolDisplayNodeBuilderFlags, /*internalFlags*/ undefined, /*tracker*/ undefined, - verbosityLevel)!; + verbosityLevel, + )!; getPrinter().writeNode(EmitHint.Unspecified, param, getSourceFileOfNode(getParseTreeNode(enclosingDeclaration)), writer); }); addRange(displayParts, typeParameterParts); From ffbdd88c397c4bfe3784f2a7cb49984fd1e7ae98 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 11 Sep 2024 09:56:02 -0700 Subject: [PATCH 15/19] update baselines --- .../fourslashServer/quickinfoVerbosity.js | 48 ++++++++++--------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js index 0b875d7308724..2b5aa13ea098d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js @@ -1,12 +1,14 @@ -currentDirectory:: / useCaseSensitiveFileNames: false -Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist -//// [/lib.d.ts] +Info seq [hh:mm:ss:mss] currentDirectory:: /home/src/Vscode/Projects/bin useCaseSensitiveFileNames:: false +Info seq [hh:mm:ss:mss] libs Location:: /home/src/tslibs/TS/Lib +Info seq [hh:mm:ss:mss] globalTypingsCacheLocation:: /home/src/Library/Caches/typescript +Info seq [hh:mm:ss:mss] Provided types map file "/home/src/tslibs/TS/Lib/typesMap.json" doesn't exist +//// [/home/src/tslibs/TS/Lib/lib.d.ts] lib.d.ts-Text -//// [/lib.decorators.d.ts] +//// [/home/src/tslibs/TS/Lib/lib.decorators.d.ts] lib.decorators.d.ts-Text -//// [/lib.decorators.legacy.d.ts] +//// [/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts] lib.decorators.legacy.d.ts-Text //// [/tests/cases/fourslash/server/quickinfoVerbosity.ts] @@ -24,16 +26,17 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/quickinfoVerbosity.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -41,18 +44,18 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /te Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /lib.d.ts Text-1 lib.d.ts-Text - /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /tests/cases/fourslash/server/quickinfoVerbosity.ts SVC-1-0 "type FooType = string | number\nconst foo: FooType = 1" - ../../../../lib.d.ts + ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - ../../../../lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../lib.d.ts' - ../../../../lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../lib.d.ts' + ../../../../home/src/tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../../home/src/tslibs/TS/Lib/lib.d.ts' + ../../../../home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../../home/src/tslibs/TS/Lib/lib.d.ts' quickinfoVerbosity.ts Root file specified for compilation @@ -77,11 +80,11 @@ Info seq [hh:mm:ss:mss] response: } After Request watchedFiles:: -/lib.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {"pollingInterval":500} -/lib.decorators.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: *new* {"pollingInterval":500} -/lib.decorators.legacy.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} @@ -102,17 +105,18 @@ Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: false ScriptInfos:: -/lib.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/lib.decorators.d.ts *new* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/lib.decorators.legacy.d.ts *new* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* From 7f5dade270169a604e33a2324624d04ca050e840 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 23 Sep 2024 14:23:34 -0700 Subject: [PATCH 16/19] add `canIncreaseVerbosityLevel` --- src/compiler/checker.ts | 75 ++++++++++++------ src/compiler/types.ts | 7 +- src/harness/client.ts | 1 + src/server/protocol.ts | 5 ++ src/server/session.ts | 1 + src/services/services.ts | 3 +- src/services/symbolDisplay.ts | 29 ++++++- src/services/types.ts | 1 + src/services/utilities.ts | 5 +- tests/baselines/reference/api/typescript.d.ts | 5 ++ .../reference/quickinfoVerbosity.baseline | 42 ---------- .../reference/quickinfoVerbosity1.baseline | 5 ++ .../reference/quickinfoVerbosity2.baseline | 4 + .../quickinfoVerbosityClass1.baseline | 16 ++++ .../quickinfoVerbosityInterface1.baseline | 18 +++++ .../quickinfoVerbosityIntersection1.baseline | 4 + .../quickinfoVerbosityObjectType1.baseline | 7 ++ .../quickinfoVerbosityServer.baseline | 79 +++++++++++++++++++ ...rbosity.js => quickinfoVerbosityServer.js} | 57 ++++++++++--- ...rbosity.ts => quickinfoVerbosityServer.ts} | 2 +- 20 files changed, 282 insertions(+), 84 deletions(-) delete mode 100644 tests/baselines/reference/quickinfoVerbosity.baseline create mode 100644 tests/baselines/reference/quickinfoVerbosityServer.baseline rename tests/baselines/reference/tsserver/fourslashServer/{quickinfoVerbosity.js => quickinfoVerbosityServer.js} (83%) rename tests/cases/fourslash/server/{quickinfoVerbosity.ts => quickinfoVerbosityServer.ts} (70%) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index aa03c63f8c7f6..951aae690c5e1 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -1120,6 +1120,7 @@ import { WhileStatement, WideningContext, WithStatement, + WriterContextOut, YieldExpression, } from "./_namespaces/ts.js"; import * as moduleSpecifiers from "./_namespaces/ts.moduleSpecifiers.js"; @@ -1717,8 +1718,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { writeSignature: (signature, enclosingDeclaration, flags, kind, writer) => { return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind, writer); }, - writeType: (type, enclosingDeclaration, flags, writer, verbosityLevel) => { - return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer, verbosityLevel); + writeType: (type, enclosingDeclaration, flags, writer, verbosityLevel, out) => { + return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer, verbosityLevel, out); }, writeSymbol: (symbol, enclosingDeclaration, meaning, flags, writer) => { return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags, writer); @@ -5993,7 +5994,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.AllowUniqueESSymbolType | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer: EmitTextWriter = createTextWriter(""), - verbosityLevel = 0, + verbosityLevel?: number, + out?: WriterContextOut, ): string { const noTruncation = compilerOptions.noErrorTruncation || flags & TypeFormatFlags.NoTruncation; const typeNode = nodeBuilder.typeToTypeNode( @@ -6003,6 +6005,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { /*internalFlags*/ undefined, /*tracker*/ undefined, verbosityLevel, + out, ); if (typeNode === undefined) return Debug.fail("should always get typenode"); // The unresolved type gets a synthesized comment on `any` to hint to users that it's not a plain `any`. @@ -6054,20 +6057,20 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function createNodeBuilder() { return { - typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number) => withContext(enclosingDeclaration, flags, internalFlags, tracker, verbosityLevel, context => typeToTypeNodeHelper(type, context)), - typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), - expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), - serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => serializeTypeForDeclaration(context, declaration, type, symbol)), - serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => serializeReturnTypeForSignature(context, signature)), - indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), - signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => signatureToSignatureDeclarationHelper(signature, kind, context)), - symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), - symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolToExpression(symbol, context, meaning)), - symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => typeParametersToTypeParameterDeclarations(symbol, context)), - symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolToParameterDeclaration(symbol, context)), + typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number, out?: { couldUnfoldMore: boolean; }) => withContext(enclosingDeclaration, flags, internalFlags, tracker, verbosityLevel, context => typeToTypeNodeHelper(type, context), out), + typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), + expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), + serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => serializeTypeForDeclaration(context, declaration, type, symbol)), + serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => serializeReturnTypeForSignature(context, signature)), + indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), + signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => signatureToSignatureDeclarationHelper(signature, kind, context)), + symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), + symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => symbolToExpression(symbol, context, meaning)), + symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => typeParametersToTypeParameterDeclarations(symbol, context)), + symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => symbolToParameterDeclaration(symbol, context)), typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker, verbosityLevel?: number) => withContext(enclosingDeclaration, flags, internalFlags, tracker, verbosityLevel, context => typeParameterToDeclaration(parameter, context)), - symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolTableToDeclarationStatements(symbolTable, context)), - symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ 0, context => symbolToNode(symbol, context, meaning)), + symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => symbolTableToDeclarationStatements(symbolTable, context)), + symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, /*verbosityLevel*/ undefined, context => symbolToNode(symbol, context, meaning)), }; function getTypeFromTypeNode(context: NodeBuilderContext, node: TypeNode, noMappedTypes?: false): Type; @@ -6211,6 +6214,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { tracker: SymbolTracker | undefined, verbosityLevel: number | undefined, cb: (context: NodeBuilderContext) => T, + out?: WriterContextOut, ): T | undefined { const moduleResolverHost = tracker?.trackSymbol ? tracker.moduleResolverHost : (internalFlags || InternalNodeBuilderFlags.None) & InternalNodeBuilderFlags.DoNotIncludeSymbolChain ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : @@ -6221,7 +6225,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { flags: flags || NodeBuilderFlags.None, internalFlags: internalFlags || InternalNodeBuilderFlags.None, tracker: undefined!, - unfoldDepth: verbosityLevel ?? 0, + unfoldDepth: verbosityLevel ?? -1, encounteredError: false, reportedDiagnostic: false, visitedTypes: undefined, @@ -6243,12 +6247,16 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { typeParameterNamesByTextNextNameCount: undefined, mapper: undefined, depth: 0, + couldUnfoldMore: false, }; context.tracker = new SymbolTrackerImpl(context, tracker, moduleResolverHost); const resultingNode = cb(context); if (context.truncating && context.flags & NodeBuilderFlags.NoTruncation) { context.tracker.reportTruncationError(); } + if (out) { + out.couldUnfoldMore = context.couldUnfoldMore; + } return context.encounteredError ? undefined : resultingNode; } @@ -6271,8 +6279,23 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return context.truncating = context.approximateLength > ((context.flags & NodeBuilderFlags.NoTruncation) ? noTruncationMaximumTruncationLength : defaultMaximumTruncationLength); } + function couldUnfoldType(type: Type, context: NodeBuilderContext): boolean { + if (context.visitedTypes?.has(type.id)) { + return false; + } + return context.depth < context.unfoldDepth || context.depth === context.unfoldDepth && !context.couldUnfoldMore; + } + + // Determines if a type can be unfolded, based on how many layers of type aliases we're allowed to unfold. function canUnfoldType(type: Type, context: NodeBuilderContext): boolean { - return context.depth < context.unfoldDepth && !context.visitedTypes?.has(type.id); + if (context.visitedTypes?.has(type.id)) { + return false; + } + const result = context.depth < context.unfoldDepth; + if (!result) { + context.couldUnfoldMore = true; + } + return result; } function typeToTypeNodeHelper(type: Type, context: NodeBuilderContext): TypeNode { @@ -6770,8 +6793,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { context.symbolDepth = new Map(); } - const links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration); - const key = `${getTypeId(type)}|${context.flags}|${context.internalFlags}${context.unfoldDepth > 0 ? `|${context.unfoldDepth}` : ""}`; + // Don't rely on type cache if we're unfolding a type, because we need to compute `couldUnfoldMore`. + const links = context.unfoldDepth >= 0 ? undefined : context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration); + const key = `${getTypeId(type)}|${context.flags}|${context.internalFlags}`; if (links) { links.serializedTypes ||= new Map(); } @@ -7695,7 +7719,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function typeToTypeNodeHelperWithPossibleReusableTypeNode(type: Type, typeNode: TypeNode | undefined, context: NodeBuilderContext) { - return !canUnfoldType(type, context) && typeNode && tryReuseExistingNonParameterTypeNode(context, typeNode, type) || typeToTypeNodeHelper(type, context); + return !couldUnfoldType(type, context) && typeNode && tryReuseExistingNonParameterTypeNode(context, typeNode, type) || typeToTypeNodeHelper(type, context); } function typeParameterToDeclaration(type: TypeParameter, context: NodeBuilderContext, constraint = getConstraintOfTypeParameter(type)): TypeParameterDeclaration { @@ -8412,8 +8436,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration); const enclosingDeclaration = context.enclosingDeclaration; const restoreFlags = saveRestoreFlags(context); - const canUnfold = context.depth < context.unfoldDepth; - if (!canUnfold) { + const couldUnfold = couldUnfoldType(type, context); + if (!couldUnfold) { if (declaration && hasInferredType(declaration) && !(context.internalFlags & InternalNodeBuilderFlags.NoSyntacticPrinter)) { syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, context); } @@ -8443,7 +8467,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } const decl = declaration ?? symbol.valueDeclaration ?? symbol.declarations?.[0]; - const expr = !canUnfold && decl && isDeclarationWithPossibleInnerTypeNodeReuse(decl) ? getPossibleTypeNodeReuseExpression(decl) : undefined; + const expr = !couldUnfold && decl && isDeclarationWithPossibleInnerTypeNodeReuse(decl) ? getPossibleTypeNodeReuseExpression(decl) : undefined; const result = expressionOrTypeToTypeNode(context, expr, type, addUndefinedForParameter); restoreFlags(); @@ -52822,6 +52846,9 @@ interface NodeBuilderContext { bundled: boolean; mapper: TypeMapper | undefined; depth: number; // How many levels of nested type aliases we have unfolded so far + + // Output + couldUnfoldMore: boolean; // Whether we found a type alias that we could unfold but didn't } class SymbolTrackerImpl implements SymbolTracker { diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 8b7a32f71ec69..0c49446f7e77c 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -5038,6 +5038,11 @@ export interface TypeCheckerHost extends ModuleSpecifierResolutionHost { packageBundlesTypes(packageName: string): boolean; } +/** @internal */ +export interface WriterContextOut { + couldUnfoldMore: boolean; +} + export interface TypeChecker { getTypeOfSymbolAtLocation(symbol: Symbol, node: Node): Type; getTypeOfSymbol(symbol: Symbol): Type; @@ -5157,7 +5162,7 @@ export interface TypeChecker { typePredicateToString(predicate: TypePredicate, enclosingDeclaration?: Node, flags?: TypeFormatFlags): string; /** @internal */ writeSignature(signature: Signature, enclosingDeclaration?: Node, flags?: TypeFormatFlags, kind?: SignatureKind, writer?: EmitTextWriter): string; - /** @internal */ writeType(type: Type, enclosingDeclaration?: Node, flags?: TypeFormatFlags, writer?: EmitTextWriter, verbosityLevel?: number): string; + /** @internal */ writeType(type: Type, enclosingDeclaration?: Node, flags?: TypeFormatFlags, writer?: EmitTextWriter, verbosityLevel?: number, out?: WriterContextOut): string; /** @internal */ writeSymbol(symbol: Symbol, enclosingDeclaration?: Node, meaning?: SymbolFlags, flags?: SymbolFormatFlags, writer?: EmitTextWriter): string; /** @internal */ writeTypePredicate(predicate: TypePredicate, enclosingDeclaration?: Node, flags?: TypeFormatFlags, writer?: EmitTextWriter): string; diff --git a/src/harness/client.ts b/src/harness/client.ts index 95e9ba14e73cf..153f65a382984 100644 --- a/src/harness/client.ts +++ b/src/harness/client.ts @@ -268,6 +268,7 @@ export class SessionClient implements LanguageService { displayParts: [{ kind: "text", text: body.displayString }], documentation: typeof body.documentation === "string" ? [{ kind: "text", text: body.documentation }] : body.documentation, tags: this.decodeLinkDisplayParts(body.tags), + canIncreaseVerbosityLevel: body.canIncreaseVerbosityLevel, }; } diff --git a/src/server/protocol.ts b/src/server/protocol.ts index 7f5dcf82966ca..6f9a284a66e27 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -2032,6 +2032,11 @@ export interface QuickInfoResponseBody { * JSDoc tags associated with symbol. */ tags: JSDocTagInfo[]; + + /** + * TODO + */ + canIncreaseVerbosityLevel?: boolean; } /** diff --git a/src/server/session.ts b/src/server/session.ts index 1526397dd8d4f..1123582c50be0 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -2403,6 +2403,7 @@ export class Session implements EventSender { displayString, documentation: useDisplayParts ? this.mapDisplayParts(quickInfo.documentation, project) : displayPartsToString(quickInfo.documentation), tags: this.mapJSDocTagInfo(quickInfo.tags, project, useDisplayParts), + canIncreaseVerbosityLevel: quickInfo.canIncreaseVerbosityLevel, }; } else { diff --git a/src/services/services.ts b/src/services/services.ts index a80a4c18b208b..a09d1d0604909 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2289,7 +2289,7 @@ export function createLanguageService( }; } - const { symbolKind, displayParts, documentation, tags } = typeChecker.runWithCancellationToken( + const { symbolKind, displayParts, documentation, tags, canIncreaseVerbosityLevel } = typeChecker.runWithCancellationToken( cancellationToken, typeChecker => SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind( @@ -2310,6 +2310,7 @@ export function createLanguageService( displayParts, documentation, tags, + canIncreaseVerbosityLevel, }; } diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index 328c20a93b70f..095e023cbe5a4 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -108,6 +108,7 @@ import { TypeParameter, typeToDisplayParts, VariableDeclaration, + WriterContextOut, } from "./_namespaces/ts.js"; const symbolDisplayNodeBuilderFlags = NodeBuilderFlags.OmitParameterModifiers | NodeBuilderFlags.IgnoreErrors | NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope; @@ -254,6 +255,7 @@ export interface SymbolDisplayPartsDocumentationAndSymbolKind { documentation: SymbolDisplayPart[]; symbolKind: ScriptElementKind; tags: JSDocTagInfo[] | undefined; + canIncreaseVerbosityLevel?: boolean; } function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( @@ -277,6 +279,7 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( let documentationFromAlias: SymbolDisplayPart[] | undefined; let tagsFromAlias: JSDocTagInfo[] | undefined; let hasMultipleSignatures = false; + const typeWriterOut: WriterContextOut = { couldUnfoldMore: false }; if (location.kind === SyntaxKind.ThisKeyword && !isThisExpression) { return { displayParts: [keywordPart(SyntaxKind.ThisKeyword)], documentation: [], symbolKind: ScriptElementKind.primitiveType, tags: undefined }; @@ -472,7 +475,17 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( displayParts.push(spacePart()); displayParts.push(operatorPart(SyntaxKind.EqualsToken)); displayParts.push(spacePart()); - addRange(displayParts, typeToDisplayParts(typeChecker, location.parent && isConstTypeReference(location.parent) ? typeChecker.getTypeAtLocation(location.parent) : typeChecker.getDeclaredTypeOfSymbol(symbol), enclosingDeclaration, TypeFormatFlags.InTypeAlias)); + addRange( + displayParts, + typeToDisplayParts( + typeChecker, + location.parent && isConstTypeReference(location.parent) ? typeChecker.getTypeAtLocation(location.parent) : typeChecker.getDeclaredTypeOfSymbol(symbol), + enclosingDeclaration, + TypeFormatFlags.InTypeAlias, + verbosityLevel, + typeWriterOut, + ), + ); } if (symbolFlags & SymbolFlags.Enum) { prefixNextMeaning(); @@ -673,7 +686,17 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( addRange(displayParts, typeParameterParts); } else { - addRange(displayParts, typeToDisplayParts(typeChecker, type, enclosingDeclaration, /*flags*/ undefined, verbosityLevel)); + addRange( + displayParts, + typeToDisplayParts( + typeChecker, + type, + enclosingDeclaration, + /*flags*/ undefined, + verbosityLevel, + typeWriterOut, + ), + ); } if (isTransientSymbol(symbol) && symbol.links.target && isTransientSymbol(symbol.links.target) && symbol.links.target.links.tupleLabelDeclaration) { const labelDecl = symbol.links.target.links.tupleLabelDeclaration; @@ -759,7 +782,7 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( tags = tagsFromAlias; } - return { displayParts, documentation, symbolKind, tags: tags.length === 0 ? undefined : tags }; + return { displayParts, documentation, symbolKind, tags: tags.length === 0 ? undefined : tags, canIncreaseVerbosityLevel: typeWriterOut.couldUnfoldMore }; function getPrinter() { return createPrinterWithRemoveComments(); diff --git a/src/services/types.ts b/src/services/types.ts index 48ef4aa2df67b..592498fcdaeb1 100644 --- a/src/services/types.ts +++ b/src/services/types.ts @@ -1325,6 +1325,7 @@ export interface QuickInfo { displayParts?: SymbolDisplayPart[]; documentation?: SymbolDisplayPart[]; tags?: JSDocTagInfo[]; + canIncreaseVerbosityLevel?: boolean; } export type RenameInfo = RenameInfoSuccess | RenameInfoFailure; diff --git a/src/services/utilities.ts b/src/services/utilities.ts index 817c9a242b855..905fcba45ce44 100644 --- a/src/services/utilities.ts +++ b/src/services/utilities.ts @@ -388,6 +388,7 @@ import { visitEachChild, VoidExpression, walkUpParenthesizedExpressions, + WriterContextOut, YieldExpression, } from "./_namespaces/ts.js"; @@ -3063,9 +3064,9 @@ export function mapToDisplayParts(writeDisplayParts: (writer: DisplayPartsSymbol } /** @internal */ -export function typeToDisplayParts(typechecker: TypeChecker, type: Type, enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.None, verbosityLevel?: number): SymbolDisplayPart[] { +export function typeToDisplayParts(typechecker: TypeChecker, type: Type, enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.None, verbosityLevel?: number, out?: WriterContextOut): SymbolDisplayPart[] { return mapToDisplayParts(writer => { - typechecker.writeType(type, enclosingDeclaration, flags | TypeFormatFlags.MultilineObjectLiterals | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer, verbosityLevel); + typechecker.writeType(type, enclosingDeclaration, flags | TypeFormatFlags.MultilineObjectLiterals | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer, verbosityLevel, out); }); } diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index b1601261991ef..4b672dbddafb4 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -1509,6 +1509,10 @@ declare namespace ts { * JSDoc tags associated with symbol. */ tags: JSDocTagInfo[]; + /** + * TODO + */ + canIncreaseVerbosityLevel?: boolean; } /** * Quickinfo response message. @@ -10726,6 +10730,7 @@ declare namespace ts { displayParts?: SymbolDisplayPart[]; documentation?: SymbolDisplayPart[]; tags?: JSDocTagInfo[]; + canIncreaseVerbosityLevel?: boolean; } type RenameInfo = RenameInfoSuccess | RenameInfoFailure; interface RenameInfoSuccess { diff --git a/tests/baselines/reference/quickinfoVerbosity.baseline b/tests/baselines/reference/quickinfoVerbosity.baseline deleted file mode 100644 index 5276406032ed7..0000000000000 --- a/tests/baselines/reference/quickinfoVerbosity.baseline +++ /dev/null @@ -1,42 +0,0 @@ -// === QuickInfo === -=== /tests/cases/fourslash/server/quickinfoVerbosity.ts === -// type FooType = string | number -// const foo: FooType = 1 -// ^^^ -// | ---------------------------------------------------------------------- -// | const foo: string | number -// | -// | (verbosity level: 1) -// | ---------------------------------------------------------------------- - -[ - { - "marker": { - "fileName": "/tests/cases/fourslash/server/quickinfoVerbosity.ts", - "position": 40, - "name": "a" - }, - "item": { - "kind": "const", - "kindModifiers": "", - "textSpan": { - "start": 37, - "length": 3 - }, - "displayParts": [ - { - "kind": "text", - "text": "const foo: string | number" - } - ], - "documentation": [ - { - "kind": "text", - "text": "" - } - ], - "tags": [], - "verbosityLevel": 1 - } - } -] \ No newline at end of file diff --git a/tests/baselines/reference/quickinfoVerbosity1.baseline b/tests/baselines/reference/quickinfoVerbosity1.baseline index ef348cd1a0c28..e41255cd67c1a 100644 --- a/tests/baselines/reference/quickinfoVerbosity1.baseline +++ b/tests/baselines/reference/quickinfoVerbosity1.baseline @@ -71,6 +71,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -130,6 +131,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -173,6 +175,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -232,6 +235,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -315,6 +319,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 2 } } diff --git a/tests/baselines/reference/quickinfoVerbosity2.baseline b/tests/baselines/reference/quickinfoVerbosity2.baseline index 2409561ebfcff..844d2f7663f34 100644 --- a/tests/baselines/reference/quickinfoVerbosity2.baseline +++ b/tests/baselines/reference/quickinfoVerbosity2.baseline @@ -68,6 +68,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -127,6 +128,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -234,6 +236,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 2 } }, @@ -421,6 +424,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 3 } } diff --git a/tests/baselines/reference/quickinfoVerbosityClass1.baseline b/tests/baselines/reference/quickinfoVerbosityClass1.baseline index 7ace77f1eae67..cd101e72dbec8 100644 --- a/tests/baselines/reference/quickinfoVerbosityClass1.baseline +++ b/tests/baselines/reference/quickinfoVerbosityClass1.baseline @@ -205,6 +205,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -300,6 +301,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -343,6 +345,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -474,6 +477,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -621,6 +625,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 2 } }, @@ -664,6 +669,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -875,6 +881,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -930,6 +937,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -1081,6 +1089,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -1232,6 +1241,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 2 } }, @@ -1275,6 +1285,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -1450,6 +1461,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -1493,6 +1505,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -1668,6 +1681,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -1711,6 +1725,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -1886,6 +1901,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } } diff --git a/tests/baselines/reference/quickinfoVerbosityInterface1.baseline b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline index 0a883ce294038..7d0b66bc6b396 100644 --- a/tests/baselines/reference/quickinfoVerbosityInterface1.baseline +++ b/tests/baselines/reference/quickinfoVerbosityInterface1.baseline @@ -232,6 +232,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -327,6 +328,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -370,6 +372,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -509,6 +512,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -552,6 +556,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -747,6 +752,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -1014,6 +1020,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 2 } }, @@ -1297,6 +1304,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 3 } }, @@ -1340,6 +1348,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -1551,6 +1560,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -1874,6 +1884,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 2 } }, @@ -1929,6 +1940,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -2032,6 +2044,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -2075,6 +2088,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -2130,6 +2144,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -2209,6 +2224,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 2 } }, @@ -2252,6 +2268,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -2359,6 +2376,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } } diff --git a/tests/baselines/reference/quickinfoVerbosityIntersection1.baseline b/tests/baselines/reference/quickinfoVerbosityIntersection1.baseline index 4132f88ec9547..145792e628a26 100644 --- a/tests/baselines/reference/quickinfoVerbosityIntersection1.baseline +++ b/tests/baselines/reference/quickinfoVerbosityIntersection1.baseline @@ -98,6 +98,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -261,6 +262,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 1 } }, @@ -304,6 +306,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 0 } }, @@ -347,6 +350,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 0 } } diff --git a/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline b/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline index 8b0294ad419b1..2a4091f720292 100644 --- a/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline +++ b/tests/baselines/reference/quickinfoVerbosityObjectType1.baseline @@ -108,6 +108,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -243,6 +244,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -430,6 +432,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 2 } }, @@ -697,6 +700,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 3 } }, @@ -832,6 +836,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 0 } }, @@ -1019,6 +1024,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": true, "verbosityLevel": 1 } }, @@ -1286,6 +1292,7 @@ } ], "documentation": [], + "canIncreaseVerbosityLevel": false, "verbosityLevel": 2 } } diff --git a/tests/baselines/reference/quickinfoVerbosityServer.baseline b/tests/baselines/reference/quickinfoVerbosityServer.baseline new file mode 100644 index 0000000000000..6bce07cf78b76 --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosityServer.baseline @@ -0,0 +1,79 @@ +// === QuickInfo === +=== /tests/cases/fourslash/server/quickinfoVerbosityServer.ts === +// type FooType = string | number +// const foo: FooType = 1 +// ^^^ +// | ---------------------------------------------------------------------- +// | const foo: string | number +// | +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- +// ^^^ +// | ---------------------------------------------------------------------- +// | const foo: FooType +// | +// | (verbosity level: 0) +// | ---------------------------------------------------------------------- + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/server/quickinfoVerbosityServer.ts", + "position": 40, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 37, + "length": 3 + }, + "displayParts": [ + { + "kind": "text", + "text": "const foo: FooType" + } + ], + "documentation": [ + { + "kind": "text", + "text": "" + } + ], + "tags": [], + "canIncreaseVerbosityLevel": true, + "verbosityLevel": 0 + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/server/quickinfoVerbosityServer.ts", + "position": 40, + "name": "a" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 37, + "length": 3 + }, + "displayParts": [ + { + "kind": "text", + "text": "const foo: string | number" + } + ], + "documentation": [ + { + "kind": "text", + "text": "" + } + ], + "tags": [], + "canIncreaseVerbosityLevel": false, + "verbosityLevel": 1 + } + } +] \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js similarity index 83% rename from tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js rename to tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js index 2b5aa13ea098d..7e9762e4fd5f3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosity.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js @@ -11,7 +11,7 @@ lib.decorators.d.ts-Text //// [/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts] lib.decorators.legacy.d.ts-Text -//// [/tests/cases/fourslash/server/quickinfoVerbosity.ts] +//// [/tests/cases/fourslash/server/quickinfoVerbosityServer.ts] type FooType = string | number const foo: FooType = 1 @@ -21,11 +21,11 @@ Info seq [hh:mm:ss:mss] request: "seq": 0, "type": "request", "arguments": { - "file": "/tests/cases/fourslash/server/quickinfoVerbosity.ts" + "file": "/tests/cases/fourslash/server/quickinfoVerbosityServer.ts" }, "command": "open" } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/quickinfoVerbosity.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/quickinfoVerbosityServer.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /tests/cases/fourslash/server/quickinfoVerbosity.ts SVC-1-0 "type FooType = string | number\nconst foo: FooType = 1" + /tests/cases/fourslash/server/quickinfoVerbosityServer.ts SVC-1-0 "type FooType = string | number\nconst foo: FooType = 1" ../../../../home/src/tslibs/TS/Lib/lib.d.ts @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators' from file '../../../../home/src/tslibs/TS/Lib/lib.d.ts' ../../../../home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Library referenced via 'decorators.legacy' from file '../../../../home/src/tslibs/TS/Lib/lib.d.ts' - quickinfoVerbosity.ts + quickinfoVerbosityServer.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /tests/cases/fourslash/server/quickinfoVerbosity.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] FileName: /tests/cases/fourslash/server/quickinfoVerbosityServer.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { @@ -120,7 +120,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/tests/cases/fourslash/server/quickinfoVerbosity.ts (Open) *new* +/tests/cases/fourslash/server/quickinfoVerbosityServer.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -130,10 +130,10 @@ Info seq [hh:mm:ss:mss] request: "seq": 1, "type": "request", "arguments": { - "file": "/tests/cases/fourslash/server/quickinfoVerbosity.ts", + "file": "/tests/cases/fourslash/server/quickinfoVerbosityServer.ts", "line": 2, "offset": 10, - "verbosityLevel": 1 + "verbosityLevel": 0 }, "command": "quickinfo" } @@ -144,6 +144,42 @@ Info seq [hh:mm:ss:mss] response: "command": "quickinfo", "request_seq": 1, "success": true, + "body": { + "kind": "const", + "kindModifiers": "", + "start": { + "line": 2, + "offset": 7 + }, + "end": { + "line": 2, + "offset": 10 + }, + "displayString": "const foo: FooType", + "documentation": "", + "tags": [], + "canIncreaseVerbosityLevel": true + } + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 2, + "type": "request", + "arguments": { + "file": "/tests/cases/fourslash/server/quickinfoVerbosityServer.ts", + "line": 2, + "offset": 10, + "verbosityLevel": 1 + }, + "command": "quickinfo" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "quickinfo", + "request_seq": 2, + "success": true, "body": { "kind": "const", "kindModifiers": "", @@ -157,6 +193,7 @@ Info seq [hh:mm:ss:mss] response: }, "displayString": "const foo: string | number", "documentation": "", - "tags": [] + "tags": [], + "canIncreaseVerbosityLevel": false } } \ No newline at end of file diff --git a/tests/cases/fourslash/server/quickinfoVerbosity.ts b/tests/cases/fourslash/server/quickinfoVerbosityServer.ts similarity index 70% rename from tests/cases/fourslash/server/quickinfoVerbosity.ts rename to tests/cases/fourslash/server/quickinfoVerbosityServer.ts index 77ef361d4307f..9fc9eeb7082e1 100644 --- a/tests/cases/fourslash/server/quickinfoVerbosity.ts +++ b/tests/cases/fourslash/server/quickinfoVerbosityServer.ts @@ -3,4 +3,4 @@ //// type FooType = string | number //// const foo/*a*/: FooType = 1 -verify.baselineQuickInfo({ "a": 1 }); \ No newline at end of file +verify.baselineQuickInfo({ "a": [0, 1] }); \ No newline at end of file From 3b361fc6470ffe400bf3a047bed3497644d1a7e0 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 23 Sep 2024 14:42:23 -0700 Subject: [PATCH 17/19] update baselines to include new protocol property --- ...fContextSensitiveParameterNoCrash.baseline | 3 +- .../deprecatedInheritedJSDocOverload.baseline | 3 +- .../reference/jsDocAliasQuickInfo.baseline | 9 +- .../reference/jsDocTypeTagQuickInfo1.baseline | 39 ++- .../reference/jsDocTypeTagQuickInfo2.baseline | 36 ++- .../reference/jsDocTypedefQuickInfo1.baseline | 6 +- tests/baselines/reference/jsdocLink1.baseline | 3 +- tests/baselines/reference/jsdocLink2.baseline | 3 +- tests/baselines/reference/jsdocLink3.baseline | 3 +- tests/baselines/reference/jsdocLink4.baseline | 9 +- tests/baselines/reference/jsdocLink5.baseline | 3 +- tests/baselines/reference/jsdocLink6.baseline | 3 +- .../jsdocOnInheritedMembers1.baseline | 3 +- .../jsdocOnInheritedMembers2.baseline | 3 +- .../reference/quickInfoAlias.baseline | 6 +- ...foCircularInstantiationExpression.baseline | 3 +- .../reference/quickInfoCommentsClass.baseline | 78 +++-- .../quickInfoCommentsClassMembers.baseline | 276 ++++++++++++------ .../quickInfoCommentsCommentParsing.baseline | 162 ++++++---- ...ckInfoCommentsFunctionDeclaration.baseline | 15 +- ...ickInfoCommentsFunctionExpression.baseline | 33 ++- ...splayPartsArrowFunctionExpression.baseline | 24 +- .../quickInfoDisplayPartsClass.baseline | 15 +- ...ickInfoDisplayPartsClassAccessors.baseline | 96 ++++-- ...nfoDisplayPartsClassAutoAccessors.baseline | 78 +++-- ...kInfoDisplayPartsClassConstructor.baseline | 78 +++-- ...DisplayPartsClassDefaultAnonymous.baseline | 6 +- ...InfoDisplayPartsClassDefaultNamed.baseline | 9 +- ...ckInfoDisplayPartsClassIncomplete.baseline | 3 +- .../quickInfoDisplayPartsClassMethod.baseline | 48 ++- ...uickInfoDisplayPartsClassProperty.baseline | 48 ++- .../quickInfoDisplayPartsConst.baseline | 48 ++- .../quickInfoDisplayPartsEnum1.baseline | 90 ++++-- .../quickInfoDisplayPartsEnum2.baseline | 90 ++++-- .../quickInfoDisplayPartsEnum3.baseline | 90 ++++-- .../quickInfoDisplayPartsEnum4.baseline | 6 +- ...foDisplayPartsExternalModuleAlias.baseline | 18 +- ...ckInfoDisplayPartsExternalModules.baseline | 51 ++-- .../quickInfoDisplayPartsFunction.baseline | 42 ++- ...nfoDisplayPartsFunctionExpression.baseline | 18 +- ...nfoDisplayPartsFunctionIncomplete.baseline | 6 +- .../quickInfoDisplayPartsInterface.baseline | 9 +- ...kInfoDisplayPartsInterfaceMembers.baseline | 27 +- ...foDisplayPartsInternalModuleAlias.baseline | 24 +- .../quickInfoDisplayPartsLet.baseline | 48 ++- ...nfoDisplayPartsLiteralLikeNames01.baseline | 30 +- ...uickInfoDisplayPartsLocalFunction.baseline | 48 ++- .../quickInfoDisplayPartsModules.baseline | 51 ++-- .../quickInfoDisplayPartsParameters.baseline | 27 +- .../quickInfoDisplayPartsTypeAlias.baseline | 18 +- ...oDisplayPartsTypeParameterInClass.baseline | 123 +++++--- ...splayPartsTypeParameterInFunction.baseline | 36 ++- ...arameterInFunctionLikeInTypeAlias.baseline | 9 +- ...playPartsTypeParameterInInterface.baseline | 195 ++++++++----- ...playPartsTypeParameterInTypeAlias.baseline | 18 +- .../quickInfoDisplayPartsUsing.baseline | 6 +- .../quickInfoDisplayPartsVar.baseline | 42 ++- ...oDisplayPartsVarWithStringTypes01.baseline | 9 +- ...ForArgumentsPropertyNameInJsMode1.baseline | 6 +- ...ForArgumentsPropertyNameInJsMode2.baseline | 6 +- .../quickInfoForConstAssertions.baseline | 12 +- .../quickInfoForJSDocCodefence.baseline | 6 +- .../quickInfoForJSDocUnknownTag.baseline | 15 +- .../quickInfoForJSDocWithHttpLinks.baseline | 18 +- ...foForJSDocWithUnresolvedHttpLinks.baseline | 6 +- ...InfoForObjectBindingElementName03.baseline | 3 +- ...InfoForObjectBindingElementName04.baseline | 6 +- ...InfoForObjectBindingElementName05.baseline | 3 +- ...InfoForObjectBindingElementName06.baseline | 3 +- .../reference/quickInfoImportMeta.baseline | 6 +- .../reference/quickInfoInheritDoc.baseline | 9 +- .../reference/quickInfoInheritDoc2.baseline | 3 +- .../reference/quickInfoInheritDoc3.baseline | 3 +- .../reference/quickInfoInheritDoc4.baseline | 3 +- .../reference/quickInfoInheritDoc5.baseline | 3 +- .../reference/quickInfoInheritDoc6.baseline | 3 +- .../quickInfoInheritedLinkTag.baseline | 3 +- .../quickInfoJSDocAtBeforeSpace.baseline | 9 +- .../reference/quickInfoJSDocTags.baseline | 27 +- .../reference/quickInfoJsDoc.baseline | 33 ++- .../reference/quickInfoJsDocAlias.baseline | 3 +- .../quickInfoJsDocGetterSetter.baseline | 27 +- .../quickInfoJsDocInheritage.baseline | 72 +++-- .../reference/quickInfoJsDocTags1.baseline | 3 +- .../reference/quickInfoJsDocTags10.baseline | 3 +- .../reference/quickInfoJsDocTags11.baseline | 3 +- .../reference/quickInfoJsDocTags12.baseline | 3 +- .../reference/quickInfoJsDocTags14.baseline | 3 +- .../reference/quickInfoJsDocTags15.baseline | 9 +- .../reference/quickInfoJsDocTags16.baseline | 6 +- .../reference/quickInfoJsDocTags3.baseline | 3 +- .../reference/quickInfoJsDocTags4.baseline | 3 +- .../reference/quickInfoJsDocTags5.baseline | 3 +- .../reference/quickInfoJsDocTags6.baseline | 3 +- .../reference/quickInfoJsDocTags7.baseline | 3 +- .../reference/quickInfoJsDocTags8.baseline | 3 +- .../reference/quickInfoJsDocTags9.baseline | 3 +- .../quickInfoJsDocTagsCallback.baseline | 6 +- ...ckInfoJsDocTagsFunctionOverload01.baseline | 6 +- ...ckInfoJsDocTagsFunctionOverload03.baseline | 6 +- ...ckInfoJsDocTagsFunctionOverload05.baseline | 6 +- .../quickInfoJsDocTagsTypedef.baseline | 6 +- .../reference/quickInfoJsDocThisTag.baseline | 3 +- .../reference/quickInfoLink10.baseline | 3 +- .../reference/quickInfoLink11.baseline | 3 +- .../reference/quickInfoLink2.baseline | 3 +- .../reference/quickInfoLink3.baseline | 3 +- .../reference/quickInfoLink4.baseline | 3 +- .../reference/quickInfoLink5.baseline | 3 +- .../reference/quickInfoLink6.baseline | 3 +- .../reference/quickInfoLink7.baseline | 3 +- .../reference/quickInfoLink8.baseline | 3 +- .../reference/quickInfoLink9.baseline | 3 +- .../reference/quickInfoLinkCodePlain.baseline | 3 +- ...nfoNestedExportEqualExportDefault.baseline | 6 +- ...laredUsingCatchCallIndexSignature.baseline | 3 +- ...singTemplateLiteralTypeSignatures.baseline | 6 +- .../quickInfoOnJsxNamespacedName.baseline | 3 +- .../quickInfoOnParameterProperties.baseline | 6 +- .../reference/quickInfoOnThis5.baseline | 15 +- ...rtiesWithIdenticalJSDocComments01.baseline | 3 +- ...hodsOnAssignedFunctionExpressions.baseline | 3 +- .../reference/quickInfoSatisfiesTag.baseline | 3 +- .../reference/quickInfoThrowsTag.baseline | 9 +- .../reference/quickInfoTypedefTag.baseline | 9 +- .../quickInfoUniqueSymbolJsDoc.baseline | 3 +- .../dynamic-file-without-external-project.js | 3 +- ...-string-for-a-working-link-in-a-comment.js | 3 +- ...de-a-string-for-a-working-link-in-a-tag.js | 3 +- ...y-parts-for-a-working-link-in-a-comment.js | 3 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 3 +- ...-string-for-a-working-link-in-a-comment.js | 3 +- ...de-a-string-for-a-working-link-in-a-tag.js | 3 +- ...-a-span-for-a-working-link-in-a-comment.js | 3 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 3 +- ...ith-mixed-content-are-handled-correctly.js | 3 +- 136 files changed, 1858 insertions(+), 929 deletions(-) diff --git a/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline b/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline index 0639061cb4935..c8ee572e6b745 100644 --- a/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline +++ b/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline @@ -143,7 +143,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } } ] \ No newline at end of file diff --git a/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline b/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline index 1ee52023a0eac..15057085925f8 100644 --- a/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline +++ b/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline @@ -166,7 +166,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocAliasQuickInfo.baseline b/tests/baselines/reference/jsDocAliasQuickInfo.baseline index 61f5a015fbe0a..5c9d6295d5a2f 100644 --- a/tests/baselines/reference/jsDocAliasQuickInfo.baseline +++ b/tests/baselines/reference/jsDocAliasQuickInfo.baseline @@ -91,7 +91,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -157,7 +158,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -203,7 +205,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline b/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline index eaa535157e122..2292cf8a56ff0 100644 --- a/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline +++ b/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline @@ -143,7 +143,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -196,7 +197,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -249,7 +251,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -302,7 +305,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -355,7 +359,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -408,7 +413,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -469,7 +475,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": true } }, { @@ -534,7 +541,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": true } }, { @@ -587,7 +595,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -640,7 +649,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": true } }, { @@ -693,7 +703,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -746,7 +757,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -815,7 +827,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline b/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline index eef0206fc22c8..e2af056eeaf08 100644 --- a/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline +++ b/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline @@ -136,7 +136,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -189,7 +190,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -242,7 +244,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -295,7 +298,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -348,7 +352,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -401,7 +406,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -462,7 +468,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": true } }, { @@ -527,7 +534,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": true } }, { @@ -580,7 +588,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -633,7 +642,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": true } }, { @@ -722,7 +732,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -791,7 +802,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline b/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline index beac39f4ca7f2..daec692432636 100644 --- a/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline +++ b/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline @@ -95,7 +95,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": true } }, { @@ -145,7 +146,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink1.baseline b/tests/baselines/reference/jsdocLink1.baseline index bdb568f20300f..d700e1ebc86e2 100644 --- a/tests/baselines/reference/jsdocLink1.baseline +++ b/tests/baselines/reference/jsdocLink1.baseline @@ -223,7 +223,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink2.baseline b/tests/baselines/reference/jsdocLink2.baseline index 43b06e17f8946..b47f2027b35fa 100644 --- a/tests/baselines/reference/jsdocLink2.baseline +++ b/tests/baselines/reference/jsdocLink2.baseline @@ -221,7 +221,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink3.baseline b/tests/baselines/reference/jsdocLink3.baseline index 01c167788365a..fa8651fa63113 100644 --- a/tests/baselines/reference/jsdocLink3.baseline +++ b/tests/baselines/reference/jsdocLink3.baseline @@ -222,7 +222,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink4.baseline b/tests/baselines/reference/jsdocLink4.baseline index 632fb6d7cdcc2..c8a99a0d89cee 100644 --- a/tests/baselines/reference/jsdocLink4.baseline +++ b/tests/baselines/reference/jsdocLink4.baseline @@ -119,7 +119,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -185,7 +186,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -325,7 +327,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink5.baseline b/tests/baselines/reference/jsdocLink5.baseline index b89b8fe3b95a9..65b8e9888899d 100644 --- a/tests/baselines/reference/jsdocLink5.baseline +++ b/tests/baselines/reference/jsdocLink5.baseline @@ -330,7 +330,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink6.baseline b/tests/baselines/reference/jsdocLink6.baseline index c7fee2ac65b9f..3f07a59ca8b87 100644 --- a/tests/baselines/reference/jsdocLink6.baseline +++ b/tests/baselines/reference/jsdocLink6.baseline @@ -108,7 +108,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocOnInheritedMembers1.baseline b/tests/baselines/reference/jsdocOnInheritedMembers1.baseline index ad5f09b18a1da..6bdcf2eace0ea 100644 --- a/tests/baselines/reference/jsdocOnInheritedMembers1.baseline +++ b/tests/baselines/reference/jsdocOnInheritedMembers1.baseline @@ -88,7 +88,8 @@ "text": "Method documentation.", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocOnInheritedMembers2.baseline b/tests/baselines/reference/jsdocOnInheritedMembers2.baseline index b80ffc8fc2f45..3354316d79298 100644 --- a/tests/baselines/reference/jsdocOnInheritedMembers2.baseline +++ b/tests/baselines/reference/jsdocOnInheritedMembers2.baseline @@ -88,7 +88,8 @@ "text": "Method documentation.", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoAlias.baseline b/tests/baselines/reference/quickInfoAlias.baseline index 88c4a40dc4ba2..2c36aa2c1a6d7 100644 --- a/tests/baselines/reference/quickInfoAlias.baseline +++ b/tests/baselines/reference/quickInfoAlias.baseline @@ -119,7 +119,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -209,7 +210,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline b/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline index 2c190b11c4378..7d336d4ec9267 100644 --- a/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline +++ b/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline @@ -119,7 +119,8 @@ "kind": "text" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsClass.baseline b/tests/baselines/reference/quickInfoCommentsClass.baseline index 70477175c0ccc..3fb11962cc600 100644 --- a/tests/baselines/reference/quickInfoCommentsClass.baseline +++ b/tests/baselines/reference/quickInfoCommentsClass.baseline @@ -209,7 +209,8 @@ "text": "This is class c2 without constructor", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -251,7 +252,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -306,7 +308,8 @@ "text": "This is class c2 without constructor", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -356,7 +359,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -391,7 +395,8 @@ "text": "This is class c2 without constructor", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -421,7 +426,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -463,7 +469,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -518,7 +525,8 @@ "text": "Constructor comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -568,7 +576,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -598,7 +607,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -633,7 +643,8 @@ "text": "Class comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -675,7 +686,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -730,7 +742,8 @@ "text": "Constructor comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -780,7 +793,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -815,7 +829,8 @@ "text": "Class comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -850,7 +865,8 @@ "text": "Class with statics", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -892,7 +908,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -947,7 +964,8 @@ "text": "Class with statics", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -997,7 +1015,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1032,7 +1051,8 @@ "text": "Class with statics", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1067,7 +1087,8 @@ "text": "class with statics and constructor", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1109,7 +1130,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1164,7 +1186,8 @@ "text": "constructor comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1214,7 +1237,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1249,7 +1273,8 @@ "text": "class with statics and constructor", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1336,7 +1361,8 @@ "text": "constructor comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsClassMembers.baseline b/tests/baselines/reference/quickInfoCommentsClassMembers.baseline index 8492ed1944abb..7083f718344ae 100644 --- a/tests/baselines/reference/quickInfoCommentsClassMembers.baseline +++ b/tests/baselines/reference/quickInfoCommentsClassMembers.baseline @@ -579,7 +579,8 @@ "text": "This is comment for c1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -642,7 +643,8 @@ "text": "p1 is property of c1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -729,7 +731,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -792,7 +795,8 @@ "text": "getter property 1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -879,7 +883,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -942,7 +947,8 @@ "text": "setter property 1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1029,7 +1035,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1092,7 +1099,8 @@ "text": "pp1 is property of c1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1179,7 +1187,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1242,7 +1251,8 @@ "text": "getter property 2", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1329,7 +1339,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1392,7 +1403,8 @@ "text": "setter property 2", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1479,7 +1491,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1534,7 +1547,8 @@ "text": "Constructor method", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1597,7 +1611,8 @@ "text": "s1 is static property of c1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1684,7 +1699,8 @@ "text": "static sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1747,7 +1763,8 @@ "text": "static getter property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1834,7 +1851,8 @@ "text": "static sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1897,7 +1915,8 @@ "text": "setter property 3", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1984,7 +2003,8 @@ "text": "static sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2042,7 +2062,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2124,7 +2145,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2182,7 +2204,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2264,7 +2287,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2322,7 +2346,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2404,7 +2429,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2462,7 +2488,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2544,7 +2571,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2602,7 +2630,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2684,7 +2713,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2742,7 +2772,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2824,7 +2855,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2882,7 +2914,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2964,7 +2997,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3022,7 +3056,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3104,7 +3139,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3162,7 +3198,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3244,7 +3281,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3286,7 +3324,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -3341,7 +3380,8 @@ "text": "Constructor method", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3383,7 +3423,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3461,7 +3502,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3548,7 +3590,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3590,7 +3633,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3677,7 +3721,8 @@ "text": "sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3719,7 +3764,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3790,7 +3836,8 @@ "text": "setter property 1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3861,7 +3908,8 @@ "text": "setter property 1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3903,7 +3951,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3945,7 +3994,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4003,7 +4053,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4081,7 +4132,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4163,7 +4215,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4205,7 +4258,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4287,7 +4341,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4329,7 +4384,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4387,7 +4443,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4445,7 +4502,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4487,7 +4545,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4529,7 +4588,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4564,7 +4624,8 @@ "text": "This is comment for c1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4627,7 +4688,8 @@ "text": "s1 is static property of c1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4705,7 +4767,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4792,7 +4855,8 @@ "text": "static sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4834,7 +4898,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4921,7 +4986,8 @@ "text": "static sum with property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4963,7 +5029,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5034,7 +5101,8 @@ "text": "setter property 3", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -5105,7 +5173,8 @@ "text": "setter property 3", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -5147,7 +5216,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5189,7 +5259,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5247,7 +5318,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5325,7 +5397,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5407,7 +5480,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5449,7 +5523,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5531,7 +5606,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5573,7 +5649,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5631,7 +5708,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5689,7 +5767,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5731,7 +5810,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5781,7 +5861,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5816,7 +5897,8 @@ "text": "This is comment for c1", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -5879,7 +5961,8 @@ "text": "setter only property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -5942,7 +6025,8 @@ "text": "getter only property", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -6000,7 +6084,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -6058,7 +6143,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -6148,7 +6234,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -6198,7 +6285,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -6232,7 +6320,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -6322,7 +6411,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -6404,7 +6494,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -6454,7 +6545,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline b/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline index 46db8bc10c583..b7328b8b6bb1e 100644 --- a/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline +++ b/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline @@ -583,7 +583,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -633,7 +634,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -688,7 +690,8 @@ "text": "this is eg of single line jsdoc style comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -743,7 +746,8 @@ "text": "this is multiple line jsdoc stule comment\nNew line1\nNew Line2", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -798,7 +802,8 @@ "text": "Another this one too", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -853,7 +858,8 @@ "text": "jsdoc comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -908,7 +914,8 @@ "text": "another jsDocComment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -963,7 +970,8 @@ "text": "* triplestar jsDocComment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1018,7 +1026,8 @@ "text": "another jsDocComment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1073,7 +1082,8 @@ "text": "another jsDocComment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1128,7 +1138,8 @@ "text": "jsdoc comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1178,7 +1189,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1228,7 +1240,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1278,7 +1291,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1352,7 +1366,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1426,7 +1441,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1557,7 +1573,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1631,7 +1648,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1692,7 +1710,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1753,7 +1772,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1814,7 +1834,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1888,7 +1909,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2145,7 +2167,8 @@ { "name": "anotherTag" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2195,7 +2218,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2245,7 +2269,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2363,7 +2388,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2481,7 +2507,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2531,7 +2558,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2605,7 +2633,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2699,7 +2728,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2793,7 +2823,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2887,7 +2918,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2957,7 +2989,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3340,7 +3373,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3414,7 +3448,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3522,7 +3557,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3596,7 +3632,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3670,7 +3707,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3810,7 +3848,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3884,7 +3923,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -3958,7 +3998,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4089,7 +4130,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4171,7 +4213,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4226,7 +4269,8 @@ "text": "this is inline comment for b", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4300,7 +4344,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4350,7 +4395,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4529,7 +4575,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4584,7 +4631,8 @@ "text": "This is function comment\nAnd properly aligned comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4639,7 +4687,8 @@ "text": "This is function comment\n And aligned with 4 space char margin", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4713,7 +4762,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4787,7 +4837,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -4861,7 +4912,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -5033,7 +5085,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -5070,7 +5123,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline b/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline index ed94be75fe0de..d137b7830db5c 100644 --- a/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline +++ b/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline @@ -95,7 +95,8 @@ "text": "This comment should appear for foo", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -150,7 +151,8 @@ "text": "This comment should appear for foo", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -245,7 +247,8 @@ "text": "This is comment for function signature", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -295,7 +298,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -390,7 +394,8 @@ "text": "This is comment for function signature", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline b/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline index ef4ff78194c04..a5b530b64ab7d 100644 --- a/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline +++ b/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline @@ -209,7 +209,8 @@ "text": "lambdaFoo var comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -316,7 +317,8 @@ "text": "this is lambda multiplication", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -382,7 +384,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -500,7 +503,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -574,7 +578,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -624,7 +629,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -674,7 +680,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -748,7 +755,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -866,7 +874,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1011,7 +1020,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1156,7 +1166,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline b/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline index 1a59669f5bb89..394428192f52f 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline @@ -113,7 +113,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -163,7 +164,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -265,7 +267,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -315,7 +318,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -365,7 +369,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -443,7 +448,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -493,7 +499,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -555,7 +562,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClass.baseline b/tests/baselines/reference/quickInfoDisplayPartsClass.baseline index 4a23d7e88a3cb..8976bd6c9160f 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClass.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClass.baseline @@ -53,7 +53,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -95,7 +96,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -145,7 +147,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -195,7 +198,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -225,7 +229,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline index fa10abdf8f936..450fad1c8fea0 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline @@ -220,7 +220,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -278,7 +279,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -336,7 +338,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -394,7 +397,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -452,7 +456,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -510,7 +515,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -568,7 +574,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -626,7 +633,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -684,7 +692,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -742,7 +751,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -800,7 +810,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -858,7 +869,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -916,7 +928,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -974,7 +987,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1032,7 +1046,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1090,7 +1105,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1148,7 +1164,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1206,7 +1223,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1264,7 +1282,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1322,7 +1341,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1380,7 +1400,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1438,7 +1459,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1496,7 +1518,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1554,7 +1577,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1596,7 +1620,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1654,7 +1679,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1684,7 +1710,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1742,7 +1769,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1784,7 +1812,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1842,7 +1871,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1872,7 +1902,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1930,7 +1961,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline index 8a7779717b08d..2268d1eb8f6ae 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline @@ -190,7 +190,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -248,7 +249,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -306,7 +308,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -364,7 +367,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -422,7 +426,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -480,7 +485,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -538,7 +544,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -596,7 +603,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -654,7 +662,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -712,7 +721,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -770,7 +780,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -828,7 +839,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -886,7 +898,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -944,7 +957,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1002,7 +1016,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1060,7 +1075,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1118,7 +1134,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1176,7 +1193,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1218,7 +1236,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1276,7 +1295,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1306,7 +1326,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1364,7 +1385,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1406,7 +1428,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1464,7 +1487,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1494,7 +1518,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1552,7 +1577,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline index 81a44f6b6d767..1197cdc668163 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline @@ -179,7 +179,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -221,7 +222,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -271,7 +273,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -321,7 +324,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -351,7 +355,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -445,7 +450,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -539,7 +545,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -633,7 +640,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -675,7 +683,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -769,7 +778,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -811,7 +821,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -905,7 +916,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -955,7 +967,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -985,7 +998,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1079,7 +1093,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1173,7 +1188,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1267,7 +1283,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1361,7 +1378,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1403,7 +1421,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1497,7 +1516,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1539,7 +1559,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1633,7 +1654,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1675,7 +1697,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1769,7 +1792,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1819,7 +1843,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1849,7 +1874,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline index 344dda6046bc2..1430ae2d1da7b 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline @@ -54,7 +54,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -84,7 +85,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline index 6b365359fb4a2..40b6be277669f 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline @@ -58,7 +58,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -88,7 +89,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -118,7 +120,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline index 38095e74e89f6..2300134b87688 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline @@ -39,7 +39,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline index 59333da1aeff7..5667ed527c233 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline @@ -148,7 +148,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -214,7 +215,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -280,7 +282,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -346,7 +349,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -412,7 +416,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -478,7 +483,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -544,7 +550,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -610,7 +617,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -676,7 +684,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -742,7 +751,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -808,7 +818,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -874,7 +885,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -916,7 +928,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -982,7 +995,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1012,7 +1026,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1078,7 +1093,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline index 7dbcdbc6cec00..b8a233d4c2582 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline @@ -140,7 +140,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -198,7 +199,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -256,7 +258,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -314,7 +317,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -372,7 +376,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -430,7 +435,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -488,7 +494,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -546,7 +553,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -604,7 +612,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -662,7 +671,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -720,7 +730,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -778,7 +789,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -820,7 +832,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -878,7 +891,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -908,7 +922,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -966,7 +981,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsConst.baseline b/tests/baselines/reference/quickInfoDisplayPartsConst.baseline index ab682f5974def..3dc8275f1f911 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsConst.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsConst.baseline @@ -135,7 +135,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -177,7 +178,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -219,7 +221,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -261,7 +264,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -303,7 +307,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -353,7 +358,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -395,7 +401,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -457,7 +464,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -519,7 +527,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -581,7 +590,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -643,7 +653,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -789,7 +800,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -935,7 +947,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1081,7 +1094,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1187,7 +1201,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1293,7 +1308,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline index 76df896caa42d..42fb6df28b274 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline @@ -167,7 +167,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -229,7 +230,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -291,7 +293,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -353,7 +356,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -395,7 +399,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -425,7 +430,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -467,7 +473,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -497,7 +504,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -559,7 +567,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -601,7 +610,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -631,7 +641,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -693,7 +704,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -735,7 +747,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -765,7 +778,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -827,7 +841,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -865,7 +880,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -927,7 +943,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -989,7 +1006,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1051,7 +1069,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1093,7 +1112,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1131,7 +1151,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1173,7 +1194,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1211,7 +1233,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1273,7 +1296,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1315,7 +1339,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1353,7 +1378,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1415,7 +1441,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1457,7 +1484,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1495,7 +1523,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1557,7 +1586,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline index 74cea35177157..10fe017624384 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline @@ -167,7 +167,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -233,7 +234,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -299,7 +301,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -365,7 +368,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -407,7 +411,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -437,7 +442,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -479,7 +485,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -509,7 +516,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -575,7 +583,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -617,7 +626,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -647,7 +657,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -713,7 +724,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -755,7 +767,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -785,7 +798,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -851,7 +865,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -889,7 +904,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -955,7 +971,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1021,7 +1038,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1087,7 +1105,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1129,7 +1148,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1167,7 +1187,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1209,7 +1230,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1247,7 +1269,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1313,7 +1336,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1355,7 +1379,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1393,7 +1418,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1459,7 +1485,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1501,7 +1528,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1539,7 +1567,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1605,7 +1634,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline index 81f3d2db91499..1fa7c06550b5c 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline @@ -167,7 +167,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -233,7 +234,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -299,7 +301,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -365,7 +368,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -407,7 +411,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -437,7 +442,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -479,7 +485,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -509,7 +516,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -575,7 +583,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -617,7 +626,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -647,7 +657,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -713,7 +724,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -755,7 +767,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -785,7 +798,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -851,7 +865,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -889,7 +904,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -955,7 +971,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1021,7 +1038,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1087,7 +1105,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1129,7 +1148,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1167,7 +1187,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1209,7 +1230,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1247,7 +1269,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1313,7 +1336,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1355,7 +1379,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1393,7 +1418,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1459,7 +1485,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1501,7 +1528,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1539,7 +1567,8 @@ "kind": "enumName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1605,7 +1634,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline index f48e166e4cb89..83b70b4892b50 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline @@ -79,7 +79,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -145,7 +146,8 @@ "kind": "numericLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline index 7745fa2442617..028422efafd84 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline @@ -85,7 +85,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -115,7 +116,8 @@ "kind": "aliasName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -173,7 +175,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -231,7 +234,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -261,7 +265,8 @@ "kind": "aliasName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -319,7 +324,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline b/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline index 06e804b0d9316..5007ca1ac6019 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline @@ -109,7 +109,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -151,7 +152,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -201,7 +203,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -251,7 +254,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -281,7 +285,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -331,7 +336,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -361,7 +367,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -391,7 +398,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -429,7 +437,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -471,7 +480,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -529,7 +539,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -587,7 +598,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -617,7 +629,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -655,7 +668,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -713,7 +727,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -743,7 +758,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -781,7 +797,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline b/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline index f821703daf724..341a449afa290 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline @@ -232,7 +232,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -326,7 +327,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -420,7 +422,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -514,7 +517,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -608,7 +612,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -702,7 +707,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -796,7 +802,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -890,7 +897,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1048,7 +1056,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1142,7 +1151,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1236,7 +1246,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1330,7 +1341,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1424,7 +1436,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1518,7 +1531,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline b/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline index 10601e1d5d3f6..98250f3fd9d1f 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline @@ -93,7 +93,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -151,7 +152,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -209,7 +211,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -271,7 +274,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -329,7 +333,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -387,7 +392,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline b/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline index d5cc54296c771..c06f2999d8b25 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline @@ -113,7 +113,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -214,7 +215,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline b/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline index 2619bd0fe8141..1d8ab7bc7e6c5 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline @@ -44,7 +44,8 @@ "kind": "interfaceName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -86,7 +87,8 @@ "kind": "interfaceName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -116,7 +118,8 @@ "kind": "interfaceName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline b/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline index 21441e8e5dd24..5606b70a8c772 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline @@ -105,7 +105,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -171,7 +172,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -213,7 +215,8 @@ "kind": "interfaceName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -271,7 +274,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -313,7 +317,8 @@ "kind": "interfaceName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -379,7 +384,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -449,7 +455,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -491,7 +498,8 @@ "kind": "interfaceName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -569,7 +577,8 @@ "kind": "interfaceName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline index 0b2754eff818d..b543da4e9b528 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline @@ -131,7 +131,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -209,7 +210,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -295,7 +297,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -381,7 +384,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -475,7 +479,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -569,7 +574,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -671,7 +677,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -773,7 +780,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsLet.baseline b/tests/baselines/reference/quickInfoDisplayPartsLet.baseline index 4ba81a21147c4..a555108e8852d 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsLet.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsLet.baseline @@ -135,7 +135,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -177,7 +178,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -219,7 +221,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -261,7 +264,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -303,7 +307,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -353,7 +358,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -395,7 +401,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -457,7 +464,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -519,7 +527,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -581,7 +590,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -643,7 +653,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -789,7 +800,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -935,7 +947,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1081,7 +1094,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1187,7 +1201,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1293,7 +1308,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline b/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline index f070027118beb..394309f28de63 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline @@ -122,7 +122,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -188,7 +189,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -254,7 +256,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -324,7 +327,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -394,7 +398,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -464,7 +469,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -530,7 +536,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -596,7 +603,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -662,7 +670,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -732,7 +741,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline b/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline index 7a172f986fd38..ddc8bc7e1b31e 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline @@ -135,7 +135,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -301,7 +302,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -403,7 +405,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -505,7 +508,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -607,7 +611,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -709,7 +714,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -811,7 +817,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -913,7 +920,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1015,7 +1023,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1181,7 +1190,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1283,7 +1293,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1385,7 +1396,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1487,7 +1499,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1589,7 +1602,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1691,7 +1705,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1741,7 +1756,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsModules.baseline b/tests/baselines/reference/quickInfoDisplayPartsModules.baseline index 4dbccdf889882..6a2a3d5db99f6 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsModules.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsModules.baseline @@ -109,7 +109,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -151,7 +152,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -201,7 +203,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -251,7 +254,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -281,7 +285,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -331,7 +336,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -361,7 +367,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -391,7 +398,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -429,7 +437,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -471,7 +480,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -529,7 +539,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -587,7 +598,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -617,7 +629,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -655,7 +668,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -713,7 +727,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -743,7 +758,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -781,7 +797,8 @@ "kind": "moduleName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline b/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline index a434b4d582205..0d517683cf9d8 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline @@ -212,7 +212,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -262,7 +263,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -312,7 +314,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -362,7 +365,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -420,7 +424,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -470,7 +475,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -520,7 +526,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -570,7 +577,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -628,7 +636,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline index abce4f22f05ad..6a57377a8c08b 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline @@ -57,7 +57,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -103,7 +104,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -133,7 +135,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -175,7 +178,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -221,7 +225,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -271,7 +276,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline index fdd4984b23028..4aa16d07c801d 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline @@ -225,7 +225,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -291,7 +292,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -381,7 +383,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -431,7 +434,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -497,7 +501,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -627,7 +632,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -773,7 +779,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -823,7 +830,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -969,7 +977,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1019,7 +1028,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1085,7 +1095,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1135,7 +1146,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1189,7 +1201,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1279,7 +1292,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1329,7 +1343,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1371,7 +1386,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1425,7 +1441,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -1555,7 +1572,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1625,7 +1643,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1719,7 +1738,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1761,7 +1781,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1879,7 +1900,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1957,7 +1979,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2051,7 +2074,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2237,7 +2261,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2439,7 +2464,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2481,7 +2507,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2559,7 +2586,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2761,7 +2789,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2839,7 +2868,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2933,7 +2963,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3011,7 +3042,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3077,7 +3109,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -3203,7 +3236,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3257,7 +3291,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -3307,7 +3342,8 @@ "kind": "className" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3377,7 +3413,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3443,7 +3480,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -3633,7 +3671,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3687,7 +3726,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -3741,7 +3781,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline index 8c1e3b3f30da2..522ed02e9e0ec 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline @@ -133,7 +133,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -235,7 +236,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -285,7 +287,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -387,7 +390,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -437,7 +441,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -515,7 +520,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -609,7 +615,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -727,7 +734,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -793,7 +801,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -911,7 +920,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -977,7 +987,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1055,7 +1066,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline index 76879f3e9e778..947e0ad033c30 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline @@ -87,7 +87,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -161,7 +162,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -235,7 +237,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline index 9a39fbdd993df..ab477ca076666 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline @@ -323,7 +323,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -389,7 +390,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -519,7 +521,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -569,7 +572,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -699,7 +703,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -749,7 +754,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -815,7 +821,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -945,7 +952,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1067,7 +1075,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1117,7 +1126,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1239,7 +1249,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1289,7 +1300,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1355,7 +1367,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1477,7 +1490,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1607,7 +1621,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1753,7 +1768,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1803,7 +1819,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1949,7 +1966,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1999,7 +2017,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2065,7 +2084,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2211,7 +2231,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2265,7 +2286,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -2307,7 +2329,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2437,7 +2460,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2559,7 +2583,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2613,7 +2638,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -2743,7 +2769,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2813,7 +2840,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2907,7 +2935,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -2949,7 +2978,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3107,7 +3137,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3149,7 +3180,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3227,7 +3259,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3385,7 +3418,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3463,7 +3497,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3557,7 +3592,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3715,7 +3751,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3865,7 +3902,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3907,7 +3945,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -3985,7 +4024,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4135,7 +4175,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4213,7 +4254,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4307,7 +4349,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4457,7 +4500,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4643,7 +4687,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4845,7 +4890,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4887,7 +4933,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -4965,7 +5012,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5167,7 +5215,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5245,7 +5294,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5339,7 +5389,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5541,7 +5592,8 @@ "kind": "typeParameterName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5607,7 +5659,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -5677,7 +5730,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5719,7 +5773,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5897,7 +5952,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -5951,7 +6007,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -6005,7 +6062,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -6175,7 +6233,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -6229,7 +6288,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -6283,7 +6343,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -6349,7 +6410,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -6539,7 +6601,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -6593,7 +6656,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -6647,7 +6711,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline index e57500c0125fe..a18569b7750cc 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline @@ -91,7 +91,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -165,7 +166,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -239,7 +241,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -321,7 +324,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } }, { @@ -411,7 +415,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -501,7 +506,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline b/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline index 71ee2c0d29434..439a4ad14e6b6 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline @@ -55,7 +55,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -169,7 +170,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsVar.baseline b/tests/baselines/reference/quickInfoDisplayPartsVar.baseline index fd4db6a83e444..fd66eda311ff6 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsVar.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsVar.baseline @@ -121,7 +121,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -171,7 +172,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -213,7 +215,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -255,7 +258,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -305,7 +309,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -367,7 +372,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -429,7 +435,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -491,7 +498,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -553,7 +561,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -699,7 +708,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -845,7 +855,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -991,7 +1002,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1097,7 +1109,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -1203,7 +1216,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline b/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline index 5647b2a07c1ae..69715fb214531 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline @@ -56,7 +56,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -98,7 +99,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -156,7 +158,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline index 5e83f546a4a5f..0406325c1581c 100644 --- a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline +++ b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline @@ -82,7 +82,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -148,7 +149,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline index 52867228ab187..902d15d02a23a 100644 --- a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline +++ b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline @@ -114,7 +114,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -216,7 +217,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForConstAssertions.baseline b/tests/baselines/reference/quickInfoForConstAssertions.baseline index ae2371632db8f..cc8d06ae860b4 100644 --- a/tests/baselines/reference/quickInfoForConstAssertions.baseline +++ b/tests/baselines/reference/quickInfoForConstAssertions.baseline @@ -111,7 +111,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -157,7 +158,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -203,7 +205,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -277,7 +280,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocCodefence.baseline b/tests/baselines/reference/quickInfoForJSDocCodefence.baseline index 6f6b6908db713..018edeb4d98ba 100644 --- a/tests/baselines/reference/quickInfoForJSDocCodefence.baseline +++ b/tests/baselines/reference/quickInfoForJSDocCodefence.baseline @@ -92,7 +92,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -153,7 +154,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline b/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline index 13e285ca3d305..ff10fc6ffb6e3 100644 --- a/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline +++ b/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline @@ -143,7 +143,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -204,7 +205,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -265,7 +267,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -329,7 +332,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -393,7 +397,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline b/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline index ea0e79b3b58af..4169f2c4dd253 100644 --- a/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline +++ b/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline @@ -98,7 +98,8 @@ "text": "://wat", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -153,7 +154,8 @@ "text": "://wass", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -224,7 +226,8 @@ "text": "://vad", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -281,7 +284,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -353,7 +357,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -419,7 +424,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline b/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline index ba49b977c0fcc..33f70e567a790 100644 --- a/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline +++ b/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline @@ -79,7 +79,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -138,7 +139,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline index e32129e4ee5cc..e1a30d2b660f1 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline @@ -69,7 +69,8 @@ "text": "A description of foo", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline index c85ba86e54e65..a18cf29fc428e 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline @@ -118,7 +118,8 @@ "text": "A description of 'a'", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -173,7 +174,8 @@ "text": "A description of 'b'", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline index 36781df3e6fd7..3081b686e5778 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline @@ -88,7 +88,8 @@ "text": "A description of a", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline index 499f47cac181a..e545c6adbecae 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline @@ -69,7 +69,8 @@ "text": "Thing is a baz", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoImportMeta.baseline b/tests/baselines/reference/quickInfoImportMeta.baseline index 0e20a5dce7db3..9614b8bb0236a 100644 --- a/tests/baselines/reference/quickInfoImportMeta.baseline +++ b/tests/baselines/reference/quickInfoImportMeta.baseline @@ -31,7 +31,8 @@ "length": 6 }, "displayParts": [], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -53,7 +54,8 @@ "text": "The type of `import.meta`.\n\nIf you need to declare that a given property exists on `import.meta`,\nthis type may be augmented via interface merging.", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc.baseline b/tests/baselines/reference/quickInfoInheritDoc.baseline index 3c4a4b8b2b910..dd3f2610654ca 100644 --- a/tests/baselines/reference/quickInfoInheritDoc.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc.baseline @@ -270,7 +270,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -414,7 +415,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -500,7 +502,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc2.baseline b/tests/baselines/reference/quickInfoInheritDoc2.baseline index d2aaaeda13c16..255c937b4ccf4 100644 --- a/tests/baselines/reference/quickInfoInheritDoc2.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc2.baseline @@ -114,7 +114,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc3.baseline b/tests/baselines/reference/quickInfoInheritDoc3.baseline index d99290ad41924..4f2ef699a0ffe 100644 --- a/tests/baselines/reference/quickInfoInheritDoc3.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc3.baseline @@ -103,7 +103,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc4.baseline b/tests/baselines/reference/quickInfoInheritDoc4.baseline index 77c59a8b26d27..4abe49528db40 100644 --- a/tests/baselines/reference/quickInfoInheritDoc4.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc4.baseline @@ -85,7 +85,8 @@ { "name": "inheritdoc" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc5.baseline b/tests/baselines/reference/quickInfoInheritDoc5.baseline index 263026c1d1e86..9178044a85e61 100644 --- a/tests/baselines/reference/quickInfoInheritDoc5.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc5.baseline @@ -85,7 +85,8 @@ { "name": "inheritdoc" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc6.baseline b/tests/baselines/reference/quickInfoInheritDoc6.baseline index 2f73a1ff8737f..63657ac78333e 100644 --- a/tests/baselines/reference/quickInfoInheritDoc6.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc6.baseline @@ -83,7 +83,8 @@ { "name": "inheritdoc" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritedLinkTag.baseline b/tests/baselines/reference/quickInfoInheritedLinkTag.baseline index 8b2ef7117eb25..f0e804c28a6b2 100644 --- a/tests/baselines/reference/quickInfoInheritedLinkTag.baseline +++ b/tests/baselines/reference/quickInfoInheritedLinkTag.baseline @@ -123,7 +123,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline b/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline index e73693d5540a1..e38140bdb4c52 100644 --- a/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline +++ b/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline @@ -89,7 +89,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -150,7 +151,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -211,7 +213,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJSDocTags.baseline b/tests/baselines/reference/quickInfoJSDocTags.baseline index 6d1623363042d..fe065b03263ae 100644 --- a/tests/baselines/reference/quickInfoJSDocTags.baseline +++ b/tests/baselines/reference/quickInfoJSDocTags.baseline @@ -213,7 +213,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -266,7 +267,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -348,7 +350,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -426,7 +429,8 @@ { "name": "mytag" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -510,7 +514,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -630,7 +635,8 @@ { "name": "mytag" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -699,7 +705,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -783,7 +790,8 @@ { "name": "mytag" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -854,7 +862,8 @@ { "name": "mytag" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { diff --git a/tests/baselines/reference/quickInfoJsDoc.baseline b/tests/baselines/reference/quickInfoJsDoc.baseline index c47cad84ba7fa..913520ee31b81 100644 --- a/tests/baselines/reference/quickInfoJsDoc.baseline +++ b/tests/baselines/reference/quickInfoJsDoc.baseline @@ -194,7 +194,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -262,7 +263,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -338,7 +340,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -390,7 +393,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -430,7 +434,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -505,7 +510,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -573,7 +579,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -649,7 +656,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -701,7 +709,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -741,7 +750,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -801,7 +811,8 @@ { "name": "deprecated" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocAlias.baseline b/tests/baselines/reference/quickInfoJsDocAlias.baseline index 81f8fa873b6c8..e922e44f24fac 100644 --- a/tests/baselines/reference/quickInfoJsDocAlias.baseline +++ b/tests/baselines/reference/quickInfoJsDocAlias.baseline @@ -86,7 +86,8 @@ "text": "docs - const A: T", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline b/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline index 9390e77ffe41c..e7a072792ba94 100644 --- a/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline +++ b/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline @@ -180,7 +180,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -271,7 +272,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -345,7 +347,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -427,7 +430,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -509,7 +513,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -617,7 +622,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -716,7 +722,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -824,7 +831,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -906,7 +914,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocInheritage.baseline b/tests/baselines/reference/quickInfoJsDocInheritage.baseline index 6b9afc7233993..1dced5fb40d88 100644 --- a/tests/baselines/reference/quickInfoJsDocInheritage.baseline +++ b/tests/baselines/reference/quickInfoJsDocInheritage.baseline @@ -300,7 +300,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -393,7 +394,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -462,7 +464,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -567,7 +570,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -636,7 +640,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -729,7 +734,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -798,7 +804,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -903,7 +910,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -972,7 +980,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1082,7 +1091,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1151,7 +1161,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1273,7 +1284,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1342,7 +1354,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1452,7 +1465,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1521,7 +1535,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1643,7 +1658,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1712,7 +1728,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1822,7 +1839,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -1891,7 +1909,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2013,7 +2032,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2082,7 +2102,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2192,7 +2213,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2261,7 +2283,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -2383,7 +2406,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags1.baseline b/tests/baselines/reference/quickInfoJsDocTags1.baseline index fa68495893670..bdc03835993d5 100644 --- a/tests/baselines/reference/quickInfoJsDocTags1.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags1.baseline @@ -220,7 +220,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags10.baseline b/tests/baselines/reference/quickInfoJsDocTags10.baseline index 9abeae9024438..37ab39ebf774c 100644 --- a/tests/baselines/reference/quickInfoJsDocTags10.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags10.baseline @@ -187,7 +187,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags11.baseline b/tests/baselines/reference/quickInfoJsDocTags11.baseline index 184901160b8af..97457c4a31a6c 100644 --- a/tests/baselines/reference/quickInfoJsDocTags11.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags11.baseline @@ -242,7 +242,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags12.baseline b/tests/baselines/reference/quickInfoJsDocTags12.baseline index 657360b6a5d46..6268ad75f9439 100644 --- a/tests/baselines/reference/quickInfoJsDocTags12.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags12.baseline @@ -184,7 +184,8 @@ { "name": "returns" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags14.baseline b/tests/baselines/reference/quickInfoJsDocTags14.baseline index ec3e3738e8989..e09405ec940d0 100644 --- a/tests/baselines/reference/quickInfoJsDocTags14.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags14.baseline @@ -221,7 +221,8 @@ { "name": "returns" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags15.baseline b/tests/baselines/reference/quickInfoJsDocTags15.baseline index da5ff2162dba0..2f768d9231996 100644 --- a/tests/baselines/reference/quickInfoJsDocTags15.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags15.baseline @@ -122,7 +122,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -212,7 +213,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -302,7 +304,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags16.baseline b/tests/baselines/reference/quickInfoJsDocTags16.baseline index 10e0db6a5e053..c86b6b12dfb18 100644 --- a/tests/baselines/reference/quickInfoJsDocTags16.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags16.baseline @@ -103,7 +103,8 @@ { "name": "virtual" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -179,7 +180,8 @@ { "name": "virtual" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags3.baseline b/tests/baselines/reference/quickInfoJsDocTags3.baseline index ff1de54b66d5d..02a48514904bc 100644 --- a/tests/baselines/reference/quickInfoJsDocTags3.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags3.baseline @@ -176,7 +176,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags4.baseline b/tests/baselines/reference/quickInfoJsDocTags4.baseline index 019b580902f59..0eb24e695399a 100644 --- a/tests/baselines/reference/quickInfoJsDocTags4.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags4.baseline @@ -211,7 +211,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags5.baseline b/tests/baselines/reference/quickInfoJsDocTags5.baseline index 8da5413da6f91..599b7b00bb066 100644 --- a/tests/baselines/reference/quickInfoJsDocTags5.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags5.baseline @@ -211,7 +211,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags6.baseline b/tests/baselines/reference/quickInfoJsDocTags6.baseline index 369916645ddf6..905e539629306 100644 --- a/tests/baselines/reference/quickInfoJsDocTags6.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags6.baseline @@ -216,7 +216,8 @@ { "name": "inheritDoc" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags7.baseline b/tests/baselines/reference/quickInfoJsDocTags7.baseline index 78dfd1fe99fd3..cc143b073296e 100644 --- a/tests/baselines/reference/quickInfoJsDocTags7.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags7.baseline @@ -112,7 +112,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags8.baseline b/tests/baselines/reference/quickInfoJsDocTags8.baseline index 06ad0ea310d9c..cf936f37421a3 100644 --- a/tests/baselines/reference/quickInfoJsDocTags8.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags8.baseline @@ -120,7 +120,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags9.baseline b/tests/baselines/reference/quickInfoJsDocTags9.baseline index 414a194e29c7f..c008874bde57a 100644 --- a/tests/baselines/reference/quickInfoJsDocTags9.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags9.baseline @@ -128,7 +128,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline b/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline index bec1fcd678cf2..392d04a6c7b40 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline @@ -100,7 +100,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -182,7 +183,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline index 3c5faa39d23f6..a079a7185db18 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline @@ -103,7 +103,8 @@ "text": "Doc foo", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -213,7 +214,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline index a672cd597b099..e6c6c85f12630 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline @@ -94,7 +94,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -204,7 +205,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline index 44420b87c6763..291afa945d1e2 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline @@ -92,7 +92,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -197,7 +198,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline b/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline index ca9834e92f546..9787692eeb347 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline @@ -145,7 +145,8 @@ "text": "Bar comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -260,7 +261,8 @@ "text": "Bar comment", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocThisTag.baseline b/tests/baselines/reference/quickInfoJsDocThisTag.baseline index b039c374a1f3d..4d97f63bb603e 100644 --- a/tests/baselines/reference/quickInfoJsDocThisTag.baseline +++ b/tests/baselines/reference/quickInfoJsDocThisTag.baseline @@ -63,7 +63,8 @@ { "name": "this" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink10.baseline b/tests/baselines/reference/quickInfoLink10.baseline index 94c7babf59d10..00ca609eec67d 100644 --- a/tests/baselines/reference/quickInfoLink10.baseline +++ b/tests/baselines/reference/quickInfoLink10.baseline @@ -87,7 +87,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink11.baseline b/tests/baselines/reference/quickInfoLink11.baseline index ae30c4edfb59b..43a4553da6400 100644 --- a/tests/baselines/reference/quickInfoLink11.baseline +++ b/tests/baselines/reference/quickInfoLink11.baseline @@ -115,7 +115,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink2.baseline b/tests/baselines/reference/quickInfoLink2.baseline index fc984248f16bc..b6792c8b1cc24 100644 --- a/tests/baselines/reference/quickInfoLink2.baseline +++ b/tests/baselines/reference/quickInfoLink2.baseline @@ -115,7 +115,8 @@ "text": ".", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink3.baseline b/tests/baselines/reference/quickInfoLink3.baseline index 6b1febab10078..ee05627ac0fdf 100644 --- a/tests/baselines/reference/quickInfoLink3.baseline +++ b/tests/baselines/reference/quickInfoLink3.baseline @@ -245,7 +245,8 @@ "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink4.baseline b/tests/baselines/reference/quickInfoLink4.baseline index d20a343db409c..7a18fdc7658ed 100644 --- a/tests/baselines/reference/quickInfoLink4.baseline +++ b/tests/baselines/reference/quickInfoLink4.baseline @@ -73,7 +73,8 @@ "kind": "stringLiteral" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink5.baseline b/tests/baselines/reference/quickInfoLink5.baseline index 6302fcd24e27e..ce16f999566b3 100644 --- a/tests/baselines/reference/quickInfoLink5.baseline +++ b/tests/baselines/reference/quickInfoLink5.baseline @@ -83,7 +83,8 @@ "text": " instead", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink6.baseline b/tests/baselines/reference/quickInfoLink6.baseline index 521613452bcb9..bb395917cd52a 100644 --- a/tests/baselines/reference/quickInfoLink6.baseline +++ b/tests/baselines/reference/quickInfoLink6.baseline @@ -83,7 +83,8 @@ "text": " instead", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink7.baseline b/tests/baselines/reference/quickInfoLink7.baseline index 11d5955805416..16f77a27fc72b 100644 --- a/tests/baselines/reference/quickInfoLink7.baseline +++ b/tests/baselines/reference/quickInfoLink7.baseline @@ -71,7 +71,8 @@ "text": " instead", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink8.baseline b/tests/baselines/reference/quickInfoLink8.baseline index 8e003df73233d..9cbbc01383725 100644 --- a/tests/baselines/reference/quickInfoLink8.baseline +++ b/tests/baselines/reference/quickInfoLink8.baseline @@ -83,7 +83,8 @@ "text": " instead", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink9.baseline b/tests/baselines/reference/quickInfoLink9.baseline index b925be560f2d7..879d699ea46b8 100644 --- a/tests/baselines/reference/quickInfoLink9.baseline +++ b/tests/baselines/reference/quickInfoLink9.baseline @@ -59,7 +59,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLinkCodePlain.baseline b/tests/baselines/reference/quickInfoLinkCodePlain.baseline index 143b85205e6b0..e9de7178c0559 100644 --- a/tests/baselines/reference/quickInfoLinkCodePlain.baseline +++ b/tests/baselines/reference/quickInfoLinkCodePlain.baseline @@ -120,7 +120,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline b/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline index 3dec1073bd9e2..40ec6983d6e88 100644 --- a/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline +++ b/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline @@ -185,7 +185,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -351,7 +352,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline index 934c4c108ff7b..c7a92c6944d3a 100644 --- a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline +++ b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline @@ -69,7 +69,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline index b6e088885f9d2..3efe56acf93c8 100644 --- a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline +++ b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline @@ -85,7 +85,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -179,7 +180,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline b/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline index 4a209d3197680..b0cc1d4bf21e2 100644 --- a/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline +++ b/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline @@ -112,7 +112,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnParameterProperties.baseline b/tests/baselines/reference/quickInfoOnParameterProperties.baseline index 789f84dc60cc2..31a9508960a20 100644 --- a/tests/baselines/reference/quickInfoOnParameterProperties.baseline +++ b/tests/baselines/reference/quickInfoOnParameterProperties.baseline @@ -112,7 +112,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -186,7 +187,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnThis5.baseline b/tests/baselines/reference/quickInfoOnThis5.baseline index 2075bc2603b6c..4f545df601cb1 100644 --- a/tests/baselines/reference/quickInfoOnThis5.baseline +++ b/tests/baselines/reference/quickInfoOnThis5.baseline @@ -356,7 +356,8 @@ "kind": "punctuation" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -390,7 +391,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -424,7 +426,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -458,7 +461,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -492,7 +496,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline b/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline index ce486a59eec47..890acb196a4ef 100644 --- a/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline +++ b/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline @@ -88,7 +88,8 @@ "text": "A language id, like `typescript`.", "kind": "text" } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline b/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline index 932dfe01dd71e..b706af39ef7a2 100644 --- a/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline +++ b/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline @@ -55,7 +55,8 @@ "kind": "functionName" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": true } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoSatisfiesTag.baseline b/tests/baselines/reference/quickInfoSatisfiesTag.baseline index 62247027be5ff..40016277da2b4 100644 --- a/tests/baselines/reference/quickInfoSatisfiesTag.baseline +++ b/tests/baselines/reference/quickInfoSatisfiesTag.baseline @@ -67,7 +67,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoThrowsTag.baseline b/tests/baselines/reference/quickInfoThrowsTag.baseline index 5a9fc8ea59b67..fb45b4956e20b 100644 --- a/tests/baselines/reference/quickInfoThrowsTag.baseline +++ b/tests/baselines/reference/quickInfoThrowsTag.baseline @@ -94,7 +94,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -163,7 +164,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } }, { @@ -224,7 +226,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoTypedefTag.baseline b/tests/baselines/reference/quickInfoTypedefTag.baseline index 79595a198834b..92bf2ea018359 100644 --- a/tests/baselines/reference/quickInfoTypedefTag.baseline +++ b/tests/baselines/reference/quickInfoTypedefTag.baseline @@ -87,7 +87,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -137,7 +138,8 @@ "kind": "keyword" } ], - "documentation": [] + "documentation": [], + "canIncreaseVerbosityLevel": false } }, { @@ -245,7 +247,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline b/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline index ddc8034c63190..da957ac9cf3b1 100644 --- a/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline +++ b/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline @@ -68,7 +68,8 @@ } ] } - ] + ], + "canIncreaseVerbosityLevel": false } } ] \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js index b168e904d9ca1..5c1dfaa4ee616 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js @@ -296,7 +296,8 @@ Info seq [hh:mm:ss:mss] response: }, "displayString": "var x: number", "documentation": "", - "tags": [] + "tags": [], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js index 4ae14e89aec5d..4dc3be755011e 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -267,7 +267,8 @@ Info seq [hh:mm:ss:mss] response: }, "displayString": "var x: number", "documentation": "{@link C}", - "tags": [] + "tags": [], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js index ed0261c3cbe77..a623dd1d92dc6 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -271,7 +271,8 @@ Info seq [hh:mm:ss:mss] response: "name": "wat", "text": "{@link C}" } - ] + ], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 84f7d1c47a15d..2d757034c0674 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -295,7 +295,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "link" } ], - "tags": [] + "tags": [], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index 4cc7ec1e225a5..b83c8aafe9108 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -299,7 +299,8 @@ Info seq [hh:mm:ss:mss] response: } ] } - ] + ], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index 41b7eec812351..a0aa6fff76d25 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -312,7 +312,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "link" } ], - "tags": [] + "tags": [], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js index 9128e05e7dbb8..488f8932fc1b7 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -292,7 +292,8 @@ Info seq [hh:mm:ss:mss] response: "name": "wat", "text": "{@link C}" } - ] + ], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js index 95c082d99316b..9677aa7c65bd8 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js @@ -311,7 +311,8 @@ Info seq [hh:mm:ss:mss] response: "text": "}", "kind": "link" } - ] + ], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index ffe7363522e42..fe1b18e535776 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -316,7 +316,8 @@ Info seq [hh:mm:ss:mss] response: } ] } - ] + ], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js index 914375adce1fc..56228ebefa01c 100644 --- a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js +++ b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js @@ -350,7 +350,8 @@ Info seq [hh:mm:ss:mss] response: }, "displayString": "var x: number", "documentation": "", - "tags": [] + "tags": [], + "canIncreaseVerbosityLevel": false }, "responseRequired": true } From 51fb9e19a06d15387bd521d29f58b664e97aac80 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 24 Sep 2024 10:50:42 -0700 Subject: [PATCH 18/19] only set `canIncreaseVerbosityLevel` if verbosity level is set --- src/services/symbolDisplay.ts | 10 +- ...fContextSensitiveParameterNoCrash.baseline | 3 +- .../deprecatedInheritedJSDocOverload.baseline | 3 +- .../reference/jsDocAliasQuickInfo.baseline | 9 +- .../reference/jsDocTypeTagQuickInfo1.baseline | 39 +-- .../reference/jsDocTypeTagQuickInfo2.baseline | 36 +-- .../reference/jsDocTypedefQuickInfo1.baseline | 6 +- tests/baselines/reference/jsdocLink1.baseline | 3 +- tests/baselines/reference/jsdocLink2.baseline | 3 +- tests/baselines/reference/jsdocLink3.baseline | 3 +- tests/baselines/reference/jsdocLink4.baseline | 9 +- tests/baselines/reference/jsdocLink5.baseline | 3 +- tests/baselines/reference/jsdocLink6.baseline | 3 +- .../jsdocOnInheritedMembers1.baseline | 3 +- .../jsdocOnInheritedMembers2.baseline | 3 +- .../reference/quickInfoAlias.baseline | 6 +- ...foCircularInstantiationExpression.baseline | 3 +- .../reference/quickInfoCommentsClass.baseline | 78 ++--- .../quickInfoCommentsClassMembers.baseline | 276 ++++++------------ .../quickInfoCommentsCommentParsing.baseline | 162 ++++------ ...ckInfoCommentsFunctionDeclaration.baseline | 15 +- ...ickInfoCommentsFunctionExpression.baseline | 33 +-- ...splayPartsArrowFunctionExpression.baseline | 24 +- .../quickInfoDisplayPartsClass.baseline | 15 +- ...ickInfoDisplayPartsClassAccessors.baseline | 96 ++---- ...nfoDisplayPartsClassAutoAccessors.baseline | 78 ++--- ...kInfoDisplayPartsClassConstructor.baseline | 78 ++--- ...DisplayPartsClassDefaultAnonymous.baseline | 6 +- ...InfoDisplayPartsClassDefaultNamed.baseline | 9 +- ...ckInfoDisplayPartsClassIncomplete.baseline | 3 +- .../quickInfoDisplayPartsClassMethod.baseline | 48 +-- ...uickInfoDisplayPartsClassProperty.baseline | 48 +-- .../quickInfoDisplayPartsConst.baseline | 48 +-- .../quickInfoDisplayPartsEnum1.baseline | 90 ++---- .../quickInfoDisplayPartsEnum2.baseline | 90 ++---- .../quickInfoDisplayPartsEnum3.baseline | 90 ++---- .../quickInfoDisplayPartsEnum4.baseline | 6 +- ...foDisplayPartsExternalModuleAlias.baseline | 18 +- ...ckInfoDisplayPartsExternalModules.baseline | 51 ++-- .../quickInfoDisplayPartsFunction.baseline | 42 +-- ...nfoDisplayPartsFunctionExpression.baseline | 18 +- ...nfoDisplayPartsFunctionIncomplete.baseline | 6 +- .../quickInfoDisplayPartsInterface.baseline | 9 +- ...kInfoDisplayPartsInterfaceMembers.baseline | 27 +- ...foDisplayPartsInternalModuleAlias.baseline | 24 +- .../quickInfoDisplayPartsLet.baseline | 48 +-- ...nfoDisplayPartsLiteralLikeNames01.baseline | 30 +- ...uickInfoDisplayPartsLocalFunction.baseline | 48 +-- .../quickInfoDisplayPartsModules.baseline | 51 ++-- .../quickInfoDisplayPartsParameters.baseline | 27 +- .../quickInfoDisplayPartsTypeAlias.baseline | 18 +- ...oDisplayPartsTypeParameterInClass.baseline | 123 +++----- ...splayPartsTypeParameterInFunction.baseline | 36 +-- ...arameterInFunctionLikeInTypeAlias.baseline | 9 +- ...playPartsTypeParameterInInterface.baseline | 195 +++++-------- ...playPartsTypeParameterInTypeAlias.baseline | 18 +- .../quickInfoDisplayPartsUsing.baseline | 6 +- .../quickInfoDisplayPartsVar.baseline | 42 +-- ...oDisplayPartsVarWithStringTypes01.baseline | 9 +- ...ForArgumentsPropertyNameInJsMode1.baseline | 6 +- ...ForArgumentsPropertyNameInJsMode2.baseline | 6 +- .../quickInfoForConstAssertions.baseline | 12 +- .../quickInfoForJSDocCodefence.baseline | 6 +- .../quickInfoForJSDocUnknownTag.baseline | 15 +- .../quickInfoForJSDocWithHttpLinks.baseline | 18 +- ...foForJSDocWithUnresolvedHttpLinks.baseline | 6 +- ...InfoForObjectBindingElementName03.baseline | 3 +- ...InfoForObjectBindingElementName04.baseline | 6 +- ...InfoForObjectBindingElementName05.baseline | 3 +- ...InfoForObjectBindingElementName06.baseline | 3 +- .../reference/quickInfoImportMeta.baseline | 6 +- .../reference/quickInfoInheritDoc.baseline | 9 +- .../reference/quickInfoInheritDoc2.baseline | 3 +- .../reference/quickInfoInheritDoc3.baseline | 3 +- .../reference/quickInfoInheritDoc4.baseline | 3 +- .../reference/quickInfoInheritDoc5.baseline | 3 +- .../reference/quickInfoInheritDoc6.baseline | 3 +- .../quickInfoInheritedLinkTag.baseline | 3 +- .../quickInfoJSDocAtBeforeSpace.baseline | 9 +- .../reference/quickInfoJSDocTags.baseline | 27 +- .../reference/quickInfoJsDoc.baseline | 33 +-- .../reference/quickInfoJsDocAlias.baseline | 3 +- .../quickInfoJsDocGetterSetter.baseline | 27 +- .../quickInfoJsDocInheritage.baseline | 72 ++--- .../reference/quickInfoJsDocTags1.baseline | 3 +- .../reference/quickInfoJsDocTags10.baseline | 3 +- .../reference/quickInfoJsDocTags11.baseline | 3 +- .../reference/quickInfoJsDocTags12.baseline | 3 +- .../reference/quickInfoJsDocTags14.baseline | 3 +- .../reference/quickInfoJsDocTags15.baseline | 9 +- .../reference/quickInfoJsDocTags16.baseline | 6 +- .../reference/quickInfoJsDocTags3.baseline | 3 +- .../reference/quickInfoJsDocTags4.baseline | 3 +- .../reference/quickInfoJsDocTags5.baseline | 3 +- .../reference/quickInfoJsDocTags6.baseline | 3 +- .../reference/quickInfoJsDocTags7.baseline | 3 +- .../reference/quickInfoJsDocTags8.baseline | 3 +- .../reference/quickInfoJsDocTags9.baseline | 3 +- .../quickInfoJsDocTagsCallback.baseline | 6 +- ...ckInfoJsDocTagsFunctionOverload01.baseline | 6 +- ...ckInfoJsDocTagsFunctionOverload03.baseline | 6 +- ...ckInfoJsDocTagsFunctionOverload05.baseline | 6 +- .../quickInfoJsDocTagsTypedef.baseline | 6 +- .../reference/quickInfoJsDocThisTag.baseline | 3 +- .../reference/quickInfoLink10.baseline | 3 +- .../reference/quickInfoLink11.baseline | 3 +- .../reference/quickInfoLink2.baseline | 3 +- .../reference/quickInfoLink3.baseline | 3 +- .../reference/quickInfoLink4.baseline | 3 +- .../reference/quickInfoLink5.baseline | 3 +- .../reference/quickInfoLink6.baseline | 3 +- .../reference/quickInfoLink7.baseline | 3 +- .../reference/quickInfoLink8.baseline | 3 +- .../reference/quickInfoLink9.baseline | 3 +- .../reference/quickInfoLinkCodePlain.baseline | 3 +- ...nfoNestedExportEqualExportDefault.baseline | 6 +- ...laredUsingCatchCallIndexSignature.baseline | 3 +- ...singTemplateLiteralTypeSignatures.baseline | 6 +- .../quickInfoOnJsxNamespacedName.baseline | 3 +- .../quickInfoOnParameterProperties.baseline | 6 +- .../reference/quickInfoOnThis5.baseline | 15 +- ...rtiesWithIdenticalJSDocComments01.baseline | 3 +- ...hodsOnAssignedFunctionExpressions.baseline | 3 +- .../reference/quickInfoSatisfiesTag.baseline | 3 +- .../reference/quickInfoThrowsTag.baseline | 9 +- .../reference/quickInfoTypedefTag.baseline | 9 +- .../quickInfoUniqueSymbolJsDoc.baseline | 3 +- .../dynamic-file-without-external-project.js | 3 +- ...-string-for-a-working-link-in-a-comment.js | 3 +- ...de-a-string-for-a-working-link-in-a-tag.js | 3 +- ...y-parts-for-a-working-link-in-a-comment.js | 3 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 3 +- ...-string-for-a-working-link-in-a-comment.js | 3 +- ...de-a-string-for-a-working-link-in-a-tag.js | 3 +- ...-a-span-for-a-working-link-in-a-comment.js | 3 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 3 +- ...ith-mixed-content-are-handled-correctly.js | 3 +- 137 files changed, 937 insertions(+), 1860 deletions(-) diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index 095e023cbe5a4..0b6e220912921 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -279,7 +279,7 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( let documentationFromAlias: SymbolDisplayPart[] | undefined; let tagsFromAlias: JSDocTagInfo[] | undefined; let hasMultipleSignatures = false; - const typeWriterOut: WriterContextOut = { couldUnfoldMore: false }; + const typeWriterOut: WriterContextOut | undefined = verbosityLevel !== undefined ? { couldUnfoldMore: false } : undefined; if (location.kind === SyntaxKind.ThisKeyword && !isThisExpression) { return { displayParts: [keywordPart(SyntaxKind.ThisKeyword)], documentation: [], symbolKind: ScriptElementKind.primitiveType, tags: undefined }; @@ -782,7 +782,13 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker( tags = tagsFromAlias; } - return { displayParts, documentation, symbolKind, tags: tags.length === 0 ? undefined : tags, canIncreaseVerbosityLevel: typeWriterOut.couldUnfoldMore }; + return { + displayParts, + documentation, + symbolKind, + tags: tags.length === 0 ? undefined : tags, + canIncreaseVerbosityLevel: typeWriterOut?.couldUnfoldMore, + }; function getPrinter() { return createPrinterWithRemoveComments(); diff --git a/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline b/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline index c8ee572e6b745..0639061cb4935 100644 --- a/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline +++ b/tests/baselines/reference/completionDetailsOfContextSensitiveParameterNoCrash.baseline @@ -143,8 +143,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline b/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline index 15057085925f8..1ee52023a0eac 100644 --- a/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline +++ b/tests/baselines/reference/deprecatedInheritedJSDocOverload.baseline @@ -166,8 +166,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocAliasQuickInfo.baseline b/tests/baselines/reference/jsDocAliasQuickInfo.baseline index 5c9d6295d5a2f..61f5a015fbe0a 100644 --- a/tests/baselines/reference/jsDocAliasQuickInfo.baseline +++ b/tests/baselines/reference/jsDocAliasQuickInfo.baseline @@ -91,8 +91,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -158,8 +157,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -205,8 +203,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline b/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline index 2292cf8a56ff0..eaa535157e122 100644 --- a/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline +++ b/tests/baselines/reference/jsDocTypeTagQuickInfo1.baseline @@ -143,8 +143,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -197,8 +196,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -251,8 +249,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -305,8 +302,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -359,8 +355,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -413,8 +408,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -475,8 +469,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": true + ] } }, { @@ -541,8 +534,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": true + ] } }, { @@ -595,8 +587,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -649,8 +640,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": true + ] } }, { @@ -703,8 +693,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -757,8 +746,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -827,8 +815,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline b/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline index e2af056eeaf08..eef0206fc22c8 100644 --- a/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline +++ b/tests/baselines/reference/jsDocTypeTagQuickInfo2.baseline @@ -136,8 +136,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -190,8 +189,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -244,8 +242,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -298,8 +295,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -352,8 +348,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -406,8 +401,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -468,8 +462,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": true + ] } }, { @@ -534,8 +527,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": true + ] } }, { @@ -588,8 +580,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -642,8 +633,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": true + ] } }, { @@ -732,8 +722,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -802,8 +791,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline b/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline index daec692432636..beac39f4ca7f2 100644 --- a/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline +++ b/tests/baselines/reference/jsDocTypedefQuickInfo1.baseline @@ -95,8 +95,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": true + ] } }, { @@ -146,8 +145,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink1.baseline b/tests/baselines/reference/jsdocLink1.baseline index d700e1ebc86e2..bdb568f20300f 100644 --- a/tests/baselines/reference/jsdocLink1.baseline +++ b/tests/baselines/reference/jsdocLink1.baseline @@ -223,8 +223,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink2.baseline b/tests/baselines/reference/jsdocLink2.baseline index b47f2027b35fa..43b06e17f8946 100644 --- a/tests/baselines/reference/jsdocLink2.baseline +++ b/tests/baselines/reference/jsdocLink2.baseline @@ -221,8 +221,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink3.baseline b/tests/baselines/reference/jsdocLink3.baseline index fa8651fa63113..01c167788365a 100644 --- a/tests/baselines/reference/jsdocLink3.baseline +++ b/tests/baselines/reference/jsdocLink3.baseline @@ -222,8 +222,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink4.baseline b/tests/baselines/reference/jsdocLink4.baseline index c8a99a0d89cee..632fb6d7cdcc2 100644 --- a/tests/baselines/reference/jsdocLink4.baseline +++ b/tests/baselines/reference/jsdocLink4.baseline @@ -119,8 +119,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -186,8 +185,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -327,8 +325,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink5.baseline b/tests/baselines/reference/jsdocLink5.baseline index 65b8e9888899d..b89b8fe3b95a9 100644 --- a/tests/baselines/reference/jsdocLink5.baseline +++ b/tests/baselines/reference/jsdocLink5.baseline @@ -330,8 +330,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocLink6.baseline b/tests/baselines/reference/jsdocLink6.baseline index 3f07a59ca8b87..c7fee2ac65b9f 100644 --- a/tests/baselines/reference/jsdocLink6.baseline +++ b/tests/baselines/reference/jsdocLink6.baseline @@ -108,8 +108,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocOnInheritedMembers1.baseline b/tests/baselines/reference/jsdocOnInheritedMembers1.baseline index 6bdcf2eace0ea..ad5f09b18a1da 100644 --- a/tests/baselines/reference/jsdocOnInheritedMembers1.baseline +++ b/tests/baselines/reference/jsdocOnInheritedMembers1.baseline @@ -88,8 +88,7 @@ "text": "Method documentation.", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocOnInheritedMembers2.baseline b/tests/baselines/reference/jsdocOnInheritedMembers2.baseline index 3354316d79298..b80ffc8fc2f45 100644 --- a/tests/baselines/reference/jsdocOnInheritedMembers2.baseline +++ b/tests/baselines/reference/jsdocOnInheritedMembers2.baseline @@ -88,8 +88,7 @@ "text": "Method documentation.", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoAlias.baseline b/tests/baselines/reference/quickInfoAlias.baseline index 2c36aa2c1a6d7..88c4a40dc4ba2 100644 --- a/tests/baselines/reference/quickInfoAlias.baseline +++ b/tests/baselines/reference/quickInfoAlias.baseline @@ -119,8 +119,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -210,8 +209,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline b/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline index 7d336d4ec9267..2c190b11c4378 100644 --- a/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline +++ b/tests/baselines/reference/quickInfoCircularInstantiationExpression.baseline @@ -119,8 +119,7 @@ "kind": "text" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsClass.baseline b/tests/baselines/reference/quickInfoCommentsClass.baseline index 3fb11962cc600..70477175c0ccc 100644 --- a/tests/baselines/reference/quickInfoCommentsClass.baseline +++ b/tests/baselines/reference/quickInfoCommentsClass.baseline @@ -209,8 +209,7 @@ "text": "This is class c2 without constructor", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -252,8 +251,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -308,8 +306,7 @@ "text": "This is class c2 without constructor", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -359,8 +356,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -395,8 +391,7 @@ "text": "This is class c2 without constructor", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -426,8 +421,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -469,8 +463,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -525,8 +518,7 @@ "text": "Constructor comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -576,8 +568,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -607,8 +598,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -643,8 +633,7 @@ "text": "Class comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -686,8 +675,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -742,8 +730,7 @@ "text": "Constructor comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -793,8 +780,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -829,8 +815,7 @@ "text": "Class comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -865,8 +850,7 @@ "text": "Class with statics", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -908,8 +892,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -964,8 +947,7 @@ "text": "Class with statics", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1015,8 +997,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1051,8 +1032,7 @@ "text": "Class with statics", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1087,8 +1067,7 @@ "text": "class with statics and constructor", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1130,8 +1109,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1186,8 +1164,7 @@ "text": "constructor comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1237,8 +1214,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1273,8 +1249,7 @@ "text": "class with statics and constructor", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1361,8 +1336,7 @@ "text": "constructor comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsClassMembers.baseline b/tests/baselines/reference/quickInfoCommentsClassMembers.baseline index 7083f718344ae..8492ed1944abb 100644 --- a/tests/baselines/reference/quickInfoCommentsClassMembers.baseline +++ b/tests/baselines/reference/quickInfoCommentsClassMembers.baseline @@ -579,8 +579,7 @@ "text": "This is comment for c1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -643,8 +642,7 @@ "text": "p1 is property of c1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -731,8 +729,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -795,8 +792,7 @@ "text": "getter property 1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -883,8 +879,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -947,8 +942,7 @@ "text": "setter property 1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1035,8 +1029,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1099,8 +1092,7 @@ "text": "pp1 is property of c1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1187,8 +1179,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1251,8 +1242,7 @@ "text": "getter property 2", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1339,8 +1329,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1403,8 +1392,7 @@ "text": "setter property 2", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1491,8 +1479,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1547,8 +1534,7 @@ "text": "Constructor method", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1611,8 +1597,7 @@ "text": "s1 is static property of c1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1699,8 +1684,7 @@ "text": "static sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1763,8 +1747,7 @@ "text": "static getter property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1851,8 +1834,7 @@ "text": "static sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1915,8 +1897,7 @@ "text": "setter property 3", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2003,8 +1984,7 @@ "text": "static sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2062,8 +2042,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2145,8 +2124,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2204,8 +2182,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2287,8 +2264,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2346,8 +2322,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2429,8 +2404,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2488,8 +2462,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2571,8 +2544,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2630,8 +2602,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2713,8 +2684,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2772,8 +2742,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2855,8 +2824,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2914,8 +2882,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2997,8 +2964,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3056,8 +3022,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3139,8 +3104,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3198,8 +3162,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3281,8 +3244,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3324,8 +3286,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -3380,8 +3341,7 @@ "text": "Constructor method", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3423,8 +3383,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3502,8 +3461,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3590,8 +3548,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3633,8 +3590,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3721,8 +3677,7 @@ "text": "sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3764,8 +3719,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3836,8 +3790,7 @@ "text": "setter property 1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3908,8 +3861,7 @@ "text": "setter property 1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3951,8 +3903,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3994,8 +3945,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4053,8 +4003,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4132,8 +4081,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4215,8 +4163,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4258,8 +4205,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4341,8 +4287,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4384,8 +4329,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4443,8 +4387,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4502,8 +4445,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4545,8 +4487,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4588,8 +4529,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4624,8 +4564,7 @@ "text": "This is comment for c1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4688,8 +4627,7 @@ "text": "s1 is static property of c1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4767,8 +4705,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4855,8 +4792,7 @@ "text": "static sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4898,8 +4834,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4986,8 +4921,7 @@ "text": "static sum with property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -5029,8 +4963,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5101,8 +5034,7 @@ "text": "setter property 3", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -5173,8 +5105,7 @@ "text": "setter property 3", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -5216,8 +5147,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5259,8 +5189,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5318,8 +5247,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5397,8 +5325,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5480,8 +5407,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5523,8 +5449,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5606,8 +5531,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5649,8 +5573,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5708,8 +5631,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5767,8 +5689,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5810,8 +5731,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5861,8 +5781,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5897,8 +5816,7 @@ "text": "This is comment for c1", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -5961,8 +5879,7 @@ "text": "setter only property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -6025,8 +5942,7 @@ "text": "getter only property", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -6084,8 +6000,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -6143,8 +6058,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -6234,8 +6148,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -6285,8 +6198,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -6320,8 +6232,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -6411,8 +6322,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -6494,8 +6404,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -6545,8 +6454,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline b/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline index b7328b8b6bb1e..46db8bc10c583 100644 --- a/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline +++ b/tests/baselines/reference/quickInfoCommentsCommentParsing.baseline @@ -583,8 +583,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -634,8 +633,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -690,8 +688,7 @@ "text": "this is eg of single line jsdoc style comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -746,8 +743,7 @@ "text": "this is multiple line jsdoc stule comment\nNew line1\nNew Line2", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -802,8 +798,7 @@ "text": "Another this one too", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -858,8 +853,7 @@ "text": "jsdoc comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -914,8 +908,7 @@ "text": "another jsDocComment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -970,8 +963,7 @@ "text": "* triplestar jsDocComment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1026,8 +1018,7 @@ "text": "another jsDocComment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1082,8 +1073,7 @@ "text": "another jsDocComment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1138,8 +1128,7 @@ "text": "jsdoc comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1189,8 +1178,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1240,8 +1228,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1291,8 +1278,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1366,8 +1352,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1441,8 +1426,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1573,8 +1557,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1648,8 +1631,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1710,8 +1692,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1772,8 +1753,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1834,8 +1814,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1909,8 +1888,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2167,8 +2145,7 @@ { "name": "anotherTag" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2218,8 +2195,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2269,8 +2245,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2388,8 +2363,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2507,8 +2481,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2558,8 +2531,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2633,8 +2605,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2728,8 +2699,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2823,8 +2793,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2918,8 +2887,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2989,8 +2957,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3373,8 +3340,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3448,8 +3414,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3557,8 +3522,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3632,8 +3596,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3707,8 +3670,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3848,8 +3810,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3923,8 +3884,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -3998,8 +3958,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4130,8 +4089,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4213,8 +4171,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4269,8 +4226,7 @@ "text": "this is inline comment for b", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4344,8 +4300,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4395,8 +4350,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4575,8 +4529,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4631,8 +4584,7 @@ "text": "This is function comment\nAnd properly aligned comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4687,8 +4639,7 @@ "text": "This is function comment\n And aligned with 4 space char margin", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4762,8 +4713,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4837,8 +4787,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -4912,8 +4861,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -5085,8 +5033,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -5123,8 +5070,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline b/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline index d137b7830db5c..ed94be75fe0de 100644 --- a/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline +++ b/tests/baselines/reference/quickInfoCommentsFunctionDeclaration.baseline @@ -95,8 +95,7 @@ "text": "This comment should appear for foo", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -151,8 +150,7 @@ "text": "This comment should appear for foo", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -247,8 +245,7 @@ "text": "This is comment for function signature", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -298,8 +295,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -394,8 +390,7 @@ "text": "This is comment for function signature", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline b/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline index a5b530b64ab7d..ef4ff78194c04 100644 --- a/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline +++ b/tests/baselines/reference/quickInfoCommentsFunctionExpression.baseline @@ -209,8 +209,7 @@ "text": "lambdaFoo var comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -317,8 +316,7 @@ "text": "this is lambda multiplication", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -384,8 +382,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -503,8 +500,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -578,8 +574,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -629,8 +624,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -680,8 +674,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -755,8 +748,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -874,8 +866,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1020,8 +1011,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1166,8 +1156,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline b/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline index 394428192f52f..1a59669f5bb89 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsArrowFunctionExpression.baseline @@ -113,8 +113,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -164,8 +163,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -267,8 +265,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -318,8 +315,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -369,8 +365,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -448,8 +443,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -499,8 +493,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -562,8 +555,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClass.baseline b/tests/baselines/reference/quickInfoDisplayPartsClass.baseline index 8976bd6c9160f..4a23d7e88a3cb 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClass.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClass.baseline @@ -53,8 +53,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -96,8 +95,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -147,8 +145,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -198,8 +195,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -229,8 +225,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline index 450fad1c8fea0..fa10abdf8f936 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassAccessors.baseline @@ -220,8 +220,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -279,8 +278,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -338,8 +336,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -397,8 +394,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -456,8 +452,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -515,8 +510,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -574,8 +568,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -633,8 +626,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -692,8 +684,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -751,8 +742,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -810,8 +800,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -869,8 +858,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -928,8 +916,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -987,8 +974,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1046,8 +1032,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1105,8 +1090,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1164,8 +1148,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1223,8 +1206,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1282,8 +1264,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1341,8 +1322,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1400,8 +1380,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1459,8 +1438,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1518,8 +1496,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1577,8 +1554,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1620,8 +1596,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1679,8 +1654,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1710,8 +1684,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1769,8 +1742,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1812,8 +1784,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1871,8 +1842,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1902,8 +1872,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1961,8 +1930,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline index 2268d1eb8f6ae..8a7779717b08d 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassAutoAccessors.baseline @@ -190,8 +190,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -249,8 +248,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -308,8 +306,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -367,8 +364,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -426,8 +422,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -485,8 +480,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -544,8 +538,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -603,8 +596,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -662,8 +654,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -721,8 +712,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -780,8 +770,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -839,8 +828,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -898,8 +886,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -957,8 +944,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1016,8 +1002,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1075,8 +1060,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1134,8 +1118,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1193,8 +1176,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1236,8 +1218,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1295,8 +1276,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1326,8 +1306,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1385,8 +1364,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1428,8 +1406,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1487,8 +1464,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1518,8 +1494,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1577,8 +1552,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline index 1197cdc668163..81a44f6b6d767 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassConstructor.baseline @@ -179,8 +179,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -222,8 +221,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -273,8 +271,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -324,8 +321,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -355,8 +351,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -450,8 +445,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -545,8 +539,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -640,8 +633,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -683,8 +675,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -778,8 +769,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -821,8 +811,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -916,8 +905,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -967,8 +955,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -998,8 +985,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1093,8 +1079,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1188,8 +1173,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1283,8 +1267,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1378,8 +1361,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1421,8 +1403,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1516,8 +1497,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1559,8 +1539,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1654,8 +1633,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1697,8 +1675,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1792,8 +1769,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1843,8 +1819,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1874,8 +1849,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline index 1430ae2d1da7b..344dda6046bc2 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultAnonymous.baseline @@ -54,8 +54,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -85,8 +84,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline index 40b6be277669f..6b365359fb4a2 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassDefaultNamed.baseline @@ -58,8 +58,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -89,8 +88,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -120,8 +118,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline index 2300134b87688..38095e74e89f6 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassIncomplete.baseline @@ -39,8 +39,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline index 5667ed527c233..59333da1aeff7 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassMethod.baseline @@ -148,8 +148,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -215,8 +214,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -282,8 +280,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -349,8 +346,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -416,8 +412,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -483,8 +478,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -550,8 +544,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -617,8 +610,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -684,8 +676,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -751,8 +742,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -818,8 +808,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -885,8 +874,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -928,8 +916,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -995,8 +982,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1026,8 +1012,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1093,8 +1078,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline b/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline index b8a233d4c2582..7dbcdbc6cec00 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsClassProperty.baseline @@ -140,8 +140,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -199,8 +198,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -258,8 +256,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -317,8 +314,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -376,8 +372,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -435,8 +430,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -494,8 +488,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -553,8 +546,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -612,8 +604,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -671,8 +662,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -730,8 +720,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -789,8 +778,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -832,8 +820,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -891,8 +878,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -922,8 +908,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -981,8 +966,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsConst.baseline b/tests/baselines/reference/quickInfoDisplayPartsConst.baseline index 3dc8275f1f911..ab682f5974def 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsConst.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsConst.baseline @@ -135,8 +135,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -178,8 +177,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -221,8 +219,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -264,8 +261,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -307,8 +303,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -358,8 +353,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -401,8 +395,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -464,8 +457,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -527,8 +519,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -590,8 +581,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -653,8 +643,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -800,8 +789,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -947,8 +935,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1094,8 +1081,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1201,8 +1187,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1308,8 +1293,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline index 42fb6df28b274..76df896caa42d 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum1.baseline @@ -167,8 +167,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -230,8 +229,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -293,8 +291,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -356,8 +353,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -399,8 +395,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -430,8 +425,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -473,8 +467,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -504,8 +497,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -567,8 +559,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -610,8 +601,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -641,8 +631,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -704,8 +693,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -747,8 +735,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -778,8 +765,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -841,8 +827,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -880,8 +865,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -943,8 +927,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1006,8 +989,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1069,8 +1051,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1112,8 +1093,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1151,8 +1131,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1194,8 +1173,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1233,8 +1211,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1296,8 +1273,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1339,8 +1315,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1378,8 +1353,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1441,8 +1415,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1484,8 +1457,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1523,8 +1495,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1586,8 +1557,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline index 10fe017624384..74cea35177157 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum2.baseline @@ -167,8 +167,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -234,8 +233,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -301,8 +299,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -368,8 +365,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -411,8 +407,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -442,8 +437,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -485,8 +479,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -516,8 +509,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -583,8 +575,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -626,8 +617,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -657,8 +647,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -724,8 +713,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -767,8 +755,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -798,8 +785,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -865,8 +851,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -904,8 +889,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -971,8 +955,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1038,8 +1021,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1105,8 +1087,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1148,8 +1129,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1187,8 +1167,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1230,8 +1209,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1269,8 +1247,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1336,8 +1313,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1379,8 +1355,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1418,8 +1393,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1485,8 +1459,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1528,8 +1501,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1567,8 +1539,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1634,8 +1605,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline index 1fa7c06550b5c..81f3d2db91499 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum3.baseline @@ -167,8 +167,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -234,8 +233,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -301,8 +299,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -368,8 +365,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -411,8 +407,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -442,8 +437,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -485,8 +479,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -516,8 +509,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -583,8 +575,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -626,8 +617,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -657,8 +647,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -724,8 +713,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -767,8 +755,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -798,8 +785,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -865,8 +851,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -904,8 +889,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -971,8 +955,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1038,8 +1021,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1105,8 +1087,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1148,8 +1129,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1187,8 +1167,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1230,8 +1209,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1269,8 +1247,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1336,8 +1313,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1379,8 +1355,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1418,8 +1393,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1485,8 +1459,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1528,8 +1501,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1567,8 +1539,7 @@ "kind": "enumName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1634,8 +1605,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline b/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline index 83b70b4892b50..f48e166e4cb89 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsEnum4.baseline @@ -79,8 +79,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -146,8 +145,7 @@ "kind": "numericLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline index 028422efafd84..7745fa2442617 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsExternalModuleAlias.baseline @@ -85,8 +85,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -116,8 +115,7 @@ "kind": "aliasName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -175,8 +173,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -234,8 +231,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -265,8 +261,7 @@ "kind": "aliasName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -324,8 +319,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline b/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline index 5007ca1ac6019..06e804b0d9316 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsExternalModules.baseline @@ -109,8 +109,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -152,8 +151,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -203,8 +201,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -254,8 +251,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -285,8 +281,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -336,8 +331,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -367,8 +361,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -398,8 +391,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -437,8 +429,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -480,8 +471,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -539,8 +529,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -598,8 +587,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -629,8 +617,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -668,8 +655,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -727,8 +713,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -758,8 +743,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -797,8 +781,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline b/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline index 341a449afa290..f821703daf724 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsFunction.baseline @@ -232,8 +232,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -327,8 +326,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -422,8 +420,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -517,8 +514,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -612,8 +608,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -707,8 +702,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -802,8 +796,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -897,8 +890,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1056,8 +1048,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1151,8 +1142,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1246,8 +1236,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1341,8 +1330,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1436,8 +1424,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1531,8 +1518,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline b/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline index 98250f3fd9d1f..10601e1d5d3f6 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsFunctionExpression.baseline @@ -93,8 +93,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -152,8 +151,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -211,8 +209,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -274,8 +271,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -333,8 +329,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -392,8 +387,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline b/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline index c06f2999d8b25..d5cc54296c771 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsFunctionIncomplete.baseline @@ -113,8 +113,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -215,8 +214,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { diff --git a/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline b/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline index 1d8ab7bc7e6c5..2619bd0fe8141 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsInterface.baseline @@ -44,8 +44,7 @@ "kind": "interfaceName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -87,8 +86,7 @@ "kind": "interfaceName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -118,8 +116,7 @@ "kind": "interfaceName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline b/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline index 5606b70a8c772..21441e8e5dd24 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsInterfaceMembers.baseline @@ -105,8 +105,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -172,8 +171,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -215,8 +213,7 @@ "kind": "interfaceName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -274,8 +271,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -317,8 +313,7 @@ "kind": "interfaceName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -384,8 +379,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -455,8 +449,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -498,8 +491,7 @@ "kind": "interfaceName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -577,8 +569,7 @@ "kind": "interfaceName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline index b543da4e9b528..0b2754eff818d 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsInternalModuleAlias.baseline @@ -131,8 +131,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -210,8 +209,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -297,8 +295,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -384,8 +381,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -479,8 +475,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -574,8 +569,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -677,8 +671,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -780,8 +773,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsLet.baseline b/tests/baselines/reference/quickInfoDisplayPartsLet.baseline index a555108e8852d..4ba81a21147c4 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsLet.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsLet.baseline @@ -135,8 +135,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -178,8 +177,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -221,8 +219,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -264,8 +261,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -307,8 +303,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -358,8 +353,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -401,8 +395,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -464,8 +457,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -527,8 +519,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -590,8 +581,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -653,8 +643,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -800,8 +789,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -947,8 +935,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1094,8 +1081,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1201,8 +1187,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1308,8 +1293,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline b/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline index 394309f28de63..f070027118beb 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsLiteralLikeNames01.baseline @@ -122,8 +122,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -189,8 +188,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -256,8 +254,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -327,8 +324,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -398,8 +394,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -469,8 +464,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -536,8 +530,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -603,8 +596,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -670,8 +662,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -741,8 +732,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline b/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline index ddc8bc7e1b31e..7a172f986fd38 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsLocalFunction.baseline @@ -135,8 +135,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -302,8 +301,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -405,8 +403,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -508,8 +505,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -611,8 +607,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -714,8 +709,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -817,8 +811,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -920,8 +913,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1023,8 +1015,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1190,8 +1181,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1293,8 +1283,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1396,8 +1385,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1499,8 +1487,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1602,8 +1589,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1705,8 +1691,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1756,8 +1741,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsModules.baseline b/tests/baselines/reference/quickInfoDisplayPartsModules.baseline index 6a2a3d5db99f6..4dbccdf889882 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsModules.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsModules.baseline @@ -109,8 +109,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -152,8 +151,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -203,8 +201,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -254,8 +251,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -285,8 +281,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -336,8 +331,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -367,8 +361,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -398,8 +391,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -437,8 +429,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -480,8 +471,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -539,8 +529,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -598,8 +587,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -629,8 +617,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -668,8 +655,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -727,8 +713,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -758,8 +743,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -797,8 +781,7 @@ "kind": "moduleName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline b/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline index 0d517683cf9d8..a434b4d582205 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsParameters.baseline @@ -212,8 +212,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -263,8 +262,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -314,8 +312,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -365,8 +362,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -424,8 +420,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -475,8 +470,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -526,8 +520,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -577,8 +570,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -636,8 +628,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline index 6a57377a8c08b..abce4f22f05ad 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeAlias.baseline @@ -57,8 +57,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -104,8 +103,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -135,8 +133,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -178,8 +175,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -225,8 +221,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -276,8 +271,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline index 4aa16d07c801d..fdd4984b23028 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInClass.baseline @@ -225,8 +225,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -292,8 +291,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -383,8 +381,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -434,8 +431,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -501,8 +497,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -632,8 +627,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -779,8 +773,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -830,8 +823,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -977,8 +969,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1028,8 +1019,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1095,8 +1085,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1146,8 +1135,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1201,8 +1189,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1292,8 +1279,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1343,8 +1329,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1386,8 +1371,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1441,8 +1425,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -1572,8 +1555,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1643,8 +1625,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1738,8 +1719,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1781,8 +1761,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1900,8 +1879,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1979,8 +1957,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2074,8 +2051,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2261,8 +2237,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2464,8 +2439,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2507,8 +2481,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2586,8 +2559,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2789,8 +2761,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2868,8 +2839,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2963,8 +2933,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3042,8 +3011,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3109,8 +3077,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -3236,8 +3203,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3291,8 +3257,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -3342,8 +3307,7 @@ "kind": "className" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3413,8 +3377,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3480,8 +3443,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -3671,8 +3633,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3726,8 +3687,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -3781,8 +3741,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline index 522ed02e9e0ec..8c1e3b3f30da2 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunction.baseline @@ -133,8 +133,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -236,8 +235,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -287,8 +285,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -390,8 +387,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -441,8 +437,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -520,8 +515,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -615,8 +609,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -734,8 +727,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -801,8 +793,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -920,8 +911,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -987,8 +977,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1066,8 +1055,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline index 947e0ad033c30..76879f3e9e778 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInFunctionLikeInTypeAlias.baseline @@ -87,8 +87,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -162,8 +161,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -237,8 +235,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline index ab477ca076666..9a39fbdd993df 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInInterface.baseline @@ -323,8 +323,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -390,8 +389,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -521,8 +519,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -572,8 +569,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -703,8 +699,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -754,8 +749,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -821,8 +815,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -952,8 +945,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1075,8 +1067,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1126,8 +1117,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1249,8 +1239,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1300,8 +1289,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1367,8 +1355,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1490,8 +1477,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1621,8 +1607,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1768,8 +1753,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1819,8 +1803,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1966,8 +1949,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2017,8 +1999,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2084,8 +2065,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2231,8 +2211,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2286,8 +2265,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -2329,8 +2307,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2460,8 +2437,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2583,8 +2559,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2638,8 +2613,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -2769,8 +2743,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2840,8 +2813,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2935,8 +2907,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -2978,8 +2949,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3137,8 +3107,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3180,8 +3149,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3259,8 +3227,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3418,8 +3385,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3497,8 +3463,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3592,8 +3557,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3751,8 +3715,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3902,8 +3865,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -3945,8 +3907,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4024,8 +3985,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4175,8 +4135,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4254,8 +4213,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4349,8 +4307,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4500,8 +4457,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4687,8 +4643,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4890,8 +4845,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -4933,8 +4887,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5012,8 +4965,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5215,8 +5167,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5294,8 +5245,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5389,8 +5339,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5592,8 +5541,7 @@ "kind": "typeParameterName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5659,8 +5607,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -5730,8 +5677,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5773,8 +5719,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -5952,8 +5897,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -6007,8 +5951,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -6062,8 +6005,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -6233,8 +6175,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -6288,8 +6229,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -6343,8 +6283,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -6410,8 +6349,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -6601,8 +6539,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -6656,8 +6593,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -6711,8 +6647,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline index a18569b7750cc..e57500c0125fe 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsTypeParameterInTypeAlias.baseline @@ -91,8 +91,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -166,8 +165,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -241,8 +239,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -324,8 +321,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } }, { @@ -415,8 +411,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -506,8 +501,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline b/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline index 439a4ad14e6b6..71ee2c0d29434 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsUsing.baseline @@ -55,8 +55,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -170,8 +169,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsVar.baseline b/tests/baselines/reference/quickInfoDisplayPartsVar.baseline index fd66eda311ff6..fd4db6a83e444 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsVar.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsVar.baseline @@ -121,8 +121,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -172,8 +171,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -215,8 +213,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -258,8 +255,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -309,8 +305,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -372,8 +367,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -435,8 +429,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -498,8 +491,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -561,8 +553,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -708,8 +699,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -855,8 +845,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1002,8 +991,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1109,8 +1097,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -1216,8 +1203,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline b/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline index 69715fb214531..5647b2a07c1ae 100644 --- a/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline +++ b/tests/baselines/reference/quickInfoDisplayPartsVarWithStringTypes01.baseline @@ -56,8 +56,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -99,8 +98,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -158,8 +156,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline index 0406325c1581c..5e83f546a4a5f 100644 --- a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline +++ b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode1.baseline @@ -82,8 +82,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -149,8 +148,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline index 902d15d02a23a..52867228ab187 100644 --- a/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline +++ b/tests/baselines/reference/quickInfoForArgumentsPropertyNameInJsMode2.baseline @@ -114,8 +114,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -217,8 +216,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForConstAssertions.baseline b/tests/baselines/reference/quickInfoForConstAssertions.baseline index cc8d06ae860b4..ae2371632db8f 100644 --- a/tests/baselines/reference/quickInfoForConstAssertions.baseline +++ b/tests/baselines/reference/quickInfoForConstAssertions.baseline @@ -111,8 +111,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -158,8 +157,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -205,8 +203,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -280,8 +277,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocCodefence.baseline b/tests/baselines/reference/quickInfoForJSDocCodefence.baseline index 018edeb4d98ba..6f6b6908db713 100644 --- a/tests/baselines/reference/quickInfoForJSDocCodefence.baseline +++ b/tests/baselines/reference/quickInfoForJSDocCodefence.baseline @@ -92,8 +92,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -154,8 +153,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline b/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline index ff10fc6ffb6e3..13e285ca3d305 100644 --- a/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline +++ b/tests/baselines/reference/quickInfoForJSDocUnknownTag.baseline @@ -143,8 +143,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -205,8 +204,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -267,8 +265,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -332,8 +329,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -397,8 +393,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline b/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline index 4169f2c4dd253..ea0e79b3b58af 100644 --- a/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline +++ b/tests/baselines/reference/quickInfoForJSDocWithHttpLinks.baseline @@ -98,8 +98,7 @@ "text": "://wat", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -154,8 +153,7 @@ "text": "://wass", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -226,8 +224,7 @@ "text": "://vad", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -284,8 +281,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -357,8 +353,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -424,8 +419,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline b/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline index 33f70e567a790..ba49b977c0fcc 100644 --- a/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline +++ b/tests/baselines/reference/quickInfoForJSDocWithUnresolvedHttpLinks.baseline @@ -79,8 +79,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -139,8 +138,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline index e1a30d2b660f1..e32129e4ee5cc 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName03.baseline @@ -69,8 +69,7 @@ "text": "A description of foo", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline index a18cf29fc428e..c85ba86e54e65 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName04.baseline @@ -118,8 +118,7 @@ "text": "A description of 'a'", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -174,8 +173,7 @@ "text": "A description of 'b'", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline index 3081b686e5778..36781df3e6fd7 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName05.baseline @@ -88,8 +88,7 @@ "text": "A description of a", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline b/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline index e545c6adbecae..499f47cac181a 100644 --- a/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline +++ b/tests/baselines/reference/quickInfoForObjectBindingElementName06.baseline @@ -69,8 +69,7 @@ "text": "Thing is a baz", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoImportMeta.baseline b/tests/baselines/reference/quickInfoImportMeta.baseline index 9614b8bb0236a..0e20a5dce7db3 100644 --- a/tests/baselines/reference/quickInfoImportMeta.baseline +++ b/tests/baselines/reference/quickInfoImportMeta.baseline @@ -31,8 +31,7 @@ "length": 6 }, "displayParts": [], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -54,8 +53,7 @@ "text": "The type of `import.meta`.\n\nIf you need to declare that a given property exists on `import.meta`,\nthis type may be augmented via interface merging.", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc.baseline b/tests/baselines/reference/quickInfoInheritDoc.baseline index dd3f2610654ca..3c4a4b8b2b910 100644 --- a/tests/baselines/reference/quickInfoInheritDoc.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc.baseline @@ -270,8 +270,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -415,8 +414,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -502,8 +500,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc2.baseline b/tests/baselines/reference/quickInfoInheritDoc2.baseline index 255c937b4ccf4..d2aaaeda13c16 100644 --- a/tests/baselines/reference/quickInfoInheritDoc2.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc2.baseline @@ -114,8 +114,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc3.baseline b/tests/baselines/reference/quickInfoInheritDoc3.baseline index 4f2ef699a0ffe..d99290ad41924 100644 --- a/tests/baselines/reference/quickInfoInheritDoc3.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc3.baseline @@ -103,8 +103,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc4.baseline b/tests/baselines/reference/quickInfoInheritDoc4.baseline index 4abe49528db40..77c59a8b26d27 100644 --- a/tests/baselines/reference/quickInfoInheritDoc4.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc4.baseline @@ -85,8 +85,7 @@ { "name": "inheritdoc" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc5.baseline b/tests/baselines/reference/quickInfoInheritDoc5.baseline index 9178044a85e61..263026c1d1e86 100644 --- a/tests/baselines/reference/quickInfoInheritDoc5.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc5.baseline @@ -85,8 +85,7 @@ { "name": "inheritdoc" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritDoc6.baseline b/tests/baselines/reference/quickInfoInheritDoc6.baseline index 63657ac78333e..2f73a1ff8737f 100644 --- a/tests/baselines/reference/quickInfoInheritDoc6.baseline +++ b/tests/baselines/reference/quickInfoInheritDoc6.baseline @@ -83,8 +83,7 @@ { "name": "inheritdoc" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoInheritedLinkTag.baseline b/tests/baselines/reference/quickInfoInheritedLinkTag.baseline index f0e804c28a6b2..8b2ef7117eb25 100644 --- a/tests/baselines/reference/quickInfoInheritedLinkTag.baseline +++ b/tests/baselines/reference/quickInfoInheritedLinkTag.baseline @@ -123,8 +123,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline b/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline index e38140bdb4c52..e73693d5540a1 100644 --- a/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline +++ b/tests/baselines/reference/quickInfoJSDocAtBeforeSpace.baseline @@ -89,8 +89,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -151,8 +150,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -213,8 +211,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJSDocTags.baseline b/tests/baselines/reference/quickInfoJSDocTags.baseline index fe065b03263ae..6d1623363042d 100644 --- a/tests/baselines/reference/quickInfoJSDocTags.baseline +++ b/tests/baselines/reference/quickInfoJSDocTags.baseline @@ -213,8 +213,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -267,8 +266,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -350,8 +348,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -429,8 +426,7 @@ { "name": "mytag" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -514,8 +510,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -635,8 +630,7 @@ { "name": "mytag" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -705,8 +699,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -790,8 +783,7 @@ { "name": "mytag" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -862,8 +854,7 @@ { "name": "mytag" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { diff --git a/tests/baselines/reference/quickInfoJsDoc.baseline b/tests/baselines/reference/quickInfoJsDoc.baseline index 913520ee31b81..c47cad84ba7fa 100644 --- a/tests/baselines/reference/quickInfoJsDoc.baseline +++ b/tests/baselines/reference/quickInfoJsDoc.baseline @@ -194,8 +194,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -263,8 +262,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -340,8 +338,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -393,8 +390,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -434,8 +430,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -510,8 +505,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -579,8 +573,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -656,8 +649,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -709,8 +701,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -750,8 +741,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -811,8 +801,7 @@ { "name": "deprecated" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocAlias.baseline b/tests/baselines/reference/quickInfoJsDocAlias.baseline index e922e44f24fac..81f8fa873b6c8 100644 --- a/tests/baselines/reference/quickInfoJsDocAlias.baseline +++ b/tests/baselines/reference/quickInfoJsDocAlias.baseline @@ -86,8 +86,7 @@ "text": "docs - const A: T", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline b/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline index e7a072792ba94..9390e77ffe41c 100644 --- a/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline +++ b/tests/baselines/reference/quickInfoJsDocGetterSetter.baseline @@ -180,8 +180,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -272,8 +271,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -347,8 +345,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -430,8 +427,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -513,8 +509,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -622,8 +617,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -722,8 +716,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -831,8 +824,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -914,8 +906,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocInheritage.baseline b/tests/baselines/reference/quickInfoJsDocInheritage.baseline index 1dced5fb40d88..6b9afc7233993 100644 --- a/tests/baselines/reference/quickInfoJsDocInheritage.baseline +++ b/tests/baselines/reference/quickInfoJsDocInheritage.baseline @@ -300,8 +300,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -394,8 +393,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -464,8 +462,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -570,8 +567,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -640,8 +636,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -734,8 +729,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -804,8 +798,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -910,8 +903,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -980,8 +972,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1091,8 +1082,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1161,8 +1151,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1284,8 +1273,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1354,8 +1342,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1465,8 +1452,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1535,8 +1521,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1658,8 +1643,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1728,8 +1712,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1839,8 +1822,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -1909,8 +1891,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2032,8 +2013,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2102,8 +2082,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2213,8 +2192,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2283,8 +2261,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -2406,8 +2383,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags1.baseline b/tests/baselines/reference/quickInfoJsDocTags1.baseline index bdc03835993d5..fa68495893670 100644 --- a/tests/baselines/reference/quickInfoJsDocTags1.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags1.baseline @@ -220,8 +220,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags10.baseline b/tests/baselines/reference/quickInfoJsDocTags10.baseline index 37ab39ebf774c..9abeae9024438 100644 --- a/tests/baselines/reference/quickInfoJsDocTags10.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags10.baseline @@ -187,8 +187,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags11.baseline b/tests/baselines/reference/quickInfoJsDocTags11.baseline index 97457c4a31a6c..184901160b8af 100644 --- a/tests/baselines/reference/quickInfoJsDocTags11.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags11.baseline @@ -242,8 +242,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags12.baseline b/tests/baselines/reference/quickInfoJsDocTags12.baseline index 6268ad75f9439..657360b6a5d46 100644 --- a/tests/baselines/reference/quickInfoJsDocTags12.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags12.baseline @@ -184,8 +184,7 @@ { "name": "returns" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags14.baseline b/tests/baselines/reference/quickInfoJsDocTags14.baseline index e09405ec940d0..ec3e3738e8989 100644 --- a/tests/baselines/reference/quickInfoJsDocTags14.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags14.baseline @@ -221,8 +221,7 @@ { "name": "returns" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags15.baseline b/tests/baselines/reference/quickInfoJsDocTags15.baseline index 2f768d9231996..da5ff2162dba0 100644 --- a/tests/baselines/reference/quickInfoJsDocTags15.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags15.baseline @@ -122,8 +122,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -213,8 +212,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -304,8 +302,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags16.baseline b/tests/baselines/reference/quickInfoJsDocTags16.baseline index c86b6b12dfb18..10e0db6a5e053 100644 --- a/tests/baselines/reference/quickInfoJsDocTags16.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags16.baseline @@ -103,8 +103,7 @@ { "name": "virtual" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -180,8 +179,7 @@ { "name": "virtual" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags3.baseline b/tests/baselines/reference/quickInfoJsDocTags3.baseline index 02a48514904bc..ff1de54b66d5d 100644 --- a/tests/baselines/reference/quickInfoJsDocTags3.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags3.baseline @@ -176,8 +176,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags4.baseline b/tests/baselines/reference/quickInfoJsDocTags4.baseline index 0eb24e695399a..019b580902f59 100644 --- a/tests/baselines/reference/quickInfoJsDocTags4.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags4.baseline @@ -211,8 +211,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags5.baseline b/tests/baselines/reference/quickInfoJsDocTags5.baseline index 599b7b00bb066..8da5413da6f91 100644 --- a/tests/baselines/reference/quickInfoJsDocTags5.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags5.baseline @@ -211,8 +211,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags6.baseline b/tests/baselines/reference/quickInfoJsDocTags6.baseline index 905e539629306..369916645ddf6 100644 --- a/tests/baselines/reference/quickInfoJsDocTags6.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags6.baseline @@ -216,8 +216,7 @@ { "name": "inheritDoc" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags7.baseline b/tests/baselines/reference/quickInfoJsDocTags7.baseline index cc143b073296e..78dfd1fe99fd3 100644 --- a/tests/baselines/reference/quickInfoJsDocTags7.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags7.baseline @@ -112,8 +112,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags8.baseline b/tests/baselines/reference/quickInfoJsDocTags8.baseline index cf936f37421a3..06ad0ea310d9c 100644 --- a/tests/baselines/reference/quickInfoJsDocTags8.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags8.baseline @@ -120,8 +120,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTags9.baseline b/tests/baselines/reference/quickInfoJsDocTags9.baseline index c008874bde57a..414a194e29c7f 100644 --- a/tests/baselines/reference/quickInfoJsDocTags9.baseline +++ b/tests/baselines/reference/quickInfoJsDocTags9.baseline @@ -128,8 +128,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline b/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline index 392d04a6c7b40..bec1fcd678cf2 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsCallback.baseline @@ -100,8 +100,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -183,8 +182,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline index a079a7185db18..3c5faa39d23f6 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload01.baseline @@ -103,8 +103,7 @@ "text": "Doc foo", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -214,8 +213,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline index e6c6c85f12630..a672cd597b099 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload03.baseline @@ -94,8 +94,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -205,8 +204,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline index 291afa945d1e2..44420b87c6763 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsFunctionOverload05.baseline @@ -92,8 +92,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -198,8 +197,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline b/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline index 9787692eeb347..ca9834e92f546 100644 --- a/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline +++ b/tests/baselines/reference/quickInfoJsDocTagsTypedef.baseline @@ -145,8 +145,7 @@ "text": "Bar comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -261,8 +260,7 @@ "text": "Bar comment", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoJsDocThisTag.baseline b/tests/baselines/reference/quickInfoJsDocThisTag.baseline index 4d97f63bb603e..b039c374a1f3d 100644 --- a/tests/baselines/reference/quickInfoJsDocThisTag.baseline +++ b/tests/baselines/reference/quickInfoJsDocThisTag.baseline @@ -63,8 +63,7 @@ { "name": "this" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink10.baseline b/tests/baselines/reference/quickInfoLink10.baseline index 00ca609eec67d..94c7babf59d10 100644 --- a/tests/baselines/reference/quickInfoLink10.baseline +++ b/tests/baselines/reference/quickInfoLink10.baseline @@ -87,8 +87,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink11.baseline b/tests/baselines/reference/quickInfoLink11.baseline index 43a4553da6400..ae30c4edfb59b 100644 --- a/tests/baselines/reference/quickInfoLink11.baseline +++ b/tests/baselines/reference/quickInfoLink11.baseline @@ -115,8 +115,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink2.baseline b/tests/baselines/reference/quickInfoLink2.baseline index b6792c8b1cc24..fc984248f16bc 100644 --- a/tests/baselines/reference/quickInfoLink2.baseline +++ b/tests/baselines/reference/quickInfoLink2.baseline @@ -115,8 +115,7 @@ "text": ".", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink3.baseline b/tests/baselines/reference/quickInfoLink3.baseline index ee05627ac0fdf..6b1febab10078 100644 --- a/tests/baselines/reference/quickInfoLink3.baseline +++ b/tests/baselines/reference/quickInfoLink3.baseline @@ -245,8 +245,7 @@ "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink4.baseline b/tests/baselines/reference/quickInfoLink4.baseline index 7a18fdc7658ed..d20a343db409c 100644 --- a/tests/baselines/reference/quickInfoLink4.baseline +++ b/tests/baselines/reference/quickInfoLink4.baseline @@ -73,8 +73,7 @@ "kind": "stringLiteral" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink5.baseline b/tests/baselines/reference/quickInfoLink5.baseline index ce16f999566b3..6302fcd24e27e 100644 --- a/tests/baselines/reference/quickInfoLink5.baseline +++ b/tests/baselines/reference/quickInfoLink5.baseline @@ -83,8 +83,7 @@ "text": " instead", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink6.baseline b/tests/baselines/reference/quickInfoLink6.baseline index bb395917cd52a..521613452bcb9 100644 --- a/tests/baselines/reference/quickInfoLink6.baseline +++ b/tests/baselines/reference/quickInfoLink6.baseline @@ -83,8 +83,7 @@ "text": " instead", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink7.baseline b/tests/baselines/reference/quickInfoLink7.baseline index 16f77a27fc72b..11d5955805416 100644 --- a/tests/baselines/reference/quickInfoLink7.baseline +++ b/tests/baselines/reference/quickInfoLink7.baseline @@ -71,8 +71,7 @@ "text": " instead", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink8.baseline b/tests/baselines/reference/quickInfoLink8.baseline index 9cbbc01383725..8e003df73233d 100644 --- a/tests/baselines/reference/quickInfoLink8.baseline +++ b/tests/baselines/reference/quickInfoLink8.baseline @@ -83,8 +83,7 @@ "text": " instead", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLink9.baseline b/tests/baselines/reference/quickInfoLink9.baseline index 879d699ea46b8..b925be560f2d7 100644 --- a/tests/baselines/reference/quickInfoLink9.baseline +++ b/tests/baselines/reference/quickInfoLink9.baseline @@ -59,8 +59,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoLinkCodePlain.baseline b/tests/baselines/reference/quickInfoLinkCodePlain.baseline index e9de7178c0559..143b85205e6b0 100644 --- a/tests/baselines/reference/quickInfoLinkCodePlain.baseline +++ b/tests/baselines/reference/quickInfoLinkCodePlain.baseline @@ -120,8 +120,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline b/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline index 40ec6983d6e88..3dec1073bd9e2 100644 --- a/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline +++ b/tests/baselines/reference/quickInfoNestedExportEqualExportDefault.baseline @@ -185,8 +185,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -352,8 +351,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline index c7a92c6944d3a..934c4c108ff7b 100644 --- a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline +++ b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingCatchCallIndexSignature.baseline @@ -69,8 +69,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline index 3efe56acf93c8..b6e088885f9d2 100644 --- a/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline +++ b/tests/baselines/reference/quickInfoOnJsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.baseline @@ -85,8 +85,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -180,8 +179,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline b/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline index b0cc1d4bf21e2..4a209d3197680 100644 --- a/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline +++ b/tests/baselines/reference/quickInfoOnJsxNamespacedName.baseline @@ -112,8 +112,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnParameterProperties.baseline b/tests/baselines/reference/quickInfoOnParameterProperties.baseline index 31a9508960a20..789f84dc60cc2 100644 --- a/tests/baselines/reference/quickInfoOnParameterProperties.baseline +++ b/tests/baselines/reference/quickInfoOnParameterProperties.baseline @@ -112,8 +112,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -187,8 +186,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnThis5.baseline b/tests/baselines/reference/quickInfoOnThis5.baseline index 4f545df601cb1..2075bc2603b6c 100644 --- a/tests/baselines/reference/quickInfoOnThis5.baseline +++ b/tests/baselines/reference/quickInfoOnThis5.baseline @@ -356,8 +356,7 @@ "kind": "punctuation" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -391,8 +390,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -426,8 +424,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -461,8 +458,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -496,8 +492,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline b/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline index 890acb196a4ef..ce486a59eec47 100644 --- a/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline +++ b/tests/baselines/reference/quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.baseline @@ -88,8 +88,7 @@ "text": "A language id, like `typescript`.", "kind": "text" } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline b/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline index b706af39ef7a2..932dfe01dd71e 100644 --- a/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline +++ b/tests/baselines/reference/quickInfoSalsaMethodsOnAssignedFunctionExpressions.baseline @@ -55,8 +55,7 @@ "kind": "functionName" } ], - "documentation": [], - "canIncreaseVerbosityLevel": true + "documentation": [] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoSatisfiesTag.baseline b/tests/baselines/reference/quickInfoSatisfiesTag.baseline index 40016277da2b4..62247027be5ff 100644 --- a/tests/baselines/reference/quickInfoSatisfiesTag.baseline +++ b/tests/baselines/reference/quickInfoSatisfiesTag.baseline @@ -67,8 +67,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoThrowsTag.baseline b/tests/baselines/reference/quickInfoThrowsTag.baseline index fb45b4956e20b..5a9fc8ea59b67 100644 --- a/tests/baselines/reference/quickInfoThrowsTag.baseline +++ b/tests/baselines/reference/quickInfoThrowsTag.baseline @@ -94,8 +94,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -164,8 +163,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } }, { @@ -226,8 +224,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoTypedefTag.baseline b/tests/baselines/reference/quickInfoTypedefTag.baseline index 92bf2ea018359..79595a198834b 100644 --- a/tests/baselines/reference/quickInfoTypedefTag.baseline +++ b/tests/baselines/reference/quickInfoTypedefTag.baseline @@ -87,8 +87,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -138,8 +137,7 @@ "kind": "keyword" } ], - "documentation": [], - "canIncreaseVerbosityLevel": false + "documentation": [] } }, { @@ -247,8 +245,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline b/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline index da957ac9cf3b1..ddc8034c63190 100644 --- a/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline +++ b/tests/baselines/reference/quickInfoUniqueSymbolJsDoc.baseline @@ -68,8 +68,7 @@ } ] } - ], - "canIncreaseVerbosityLevel": false + ] } } ] \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js index 5c1dfaa4ee616..b168e904d9ca1 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js @@ -296,8 +296,7 @@ Info seq [hh:mm:ss:mss] response: }, "displayString": "var x: number", "documentation": "", - "tags": [], - "canIncreaseVerbosityLevel": false + "tags": [] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js index 4dc3be755011e..4ae14e89aec5d 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -267,8 +267,7 @@ Info seq [hh:mm:ss:mss] response: }, "displayString": "var x: number", "documentation": "{@link C}", - "tags": [], - "canIncreaseVerbosityLevel": false + "tags": [] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js index a623dd1d92dc6..ed0261c3cbe77 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -271,8 +271,7 @@ Info seq [hh:mm:ss:mss] response: "name": "wat", "text": "{@link C}" } - ], - "canIncreaseVerbosityLevel": false + ] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 2d757034c0674..84f7d1c47a15d 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -295,8 +295,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "link" } ], - "tags": [], - "canIncreaseVerbosityLevel": false + "tags": [] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index b83c8aafe9108..4cc7ec1e225a5 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -299,8 +299,7 @@ Info seq [hh:mm:ss:mss] response: } ] } - ], - "canIncreaseVerbosityLevel": false + ] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index a0aa6fff76d25..41b7eec812351 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -312,8 +312,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "link" } ], - "tags": [], - "canIncreaseVerbosityLevel": false + "tags": [] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js index 488f8932fc1b7..9128e05e7dbb8 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -292,8 +292,7 @@ Info seq [hh:mm:ss:mss] response: "name": "wat", "text": "{@link C}" } - ], - "canIncreaseVerbosityLevel": false + ] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js index 9677aa7c65bd8..95c082d99316b 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js @@ -311,8 +311,7 @@ Info seq [hh:mm:ss:mss] response: "text": "}", "kind": "link" } - ], - "canIncreaseVerbosityLevel": false + ] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index fe1b18e535776..ffe7363522e42 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -316,8 +316,7 @@ Info seq [hh:mm:ss:mss] response: } ] } - ], - "canIncreaseVerbosityLevel": false + ] }, "responseRequired": true } diff --git a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js index 56228ebefa01c..914375adce1fc 100644 --- a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js +++ b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js @@ -350,8 +350,7 @@ Info seq [hh:mm:ss:mss] response: }, "displayString": "var x: number", "documentation": "", - "tags": [], - "canIncreaseVerbosityLevel": false + "tags": [] }, "responseRequired": true } From 6262262f867f4f26bb66635033843708bd6146e5 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 24 Sep 2024 18:18:14 -0700 Subject: [PATCH 19/19] disable truncation in verbose quickinfo --- src/compiler/checker.ts | 2 +- .../quickinfoVerbosityTruncation.baseline | 706 ++++++++++++++++++ .../fourslash/quickinfoVerbosityTruncation.ts | 31 + 3 files changed, 738 insertions(+), 1 deletion(-) create mode 100644 tests/baselines/reference/quickinfoVerbosityTruncation.baseline create mode 100644 tests/cases/fourslash/quickinfoVerbosityTruncation.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index bab26e11849ec..b8dc3ff9b31cd 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -5999,7 +5999,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { verbosityLevel?: number, out?: WriterContextOut, ): string { - const noTruncation = compilerOptions.noErrorTruncation || flags & TypeFormatFlags.NoTruncation; + const noTruncation = compilerOptions.noErrorTruncation || flags & TypeFormatFlags.NoTruncation || verbosityLevel !== undefined; const typeNode = nodeBuilder.typeToTypeNode( type, enclosingDeclaration, diff --git a/tests/baselines/reference/quickinfoVerbosityTruncation.baseline b/tests/baselines/reference/quickinfoVerbosityTruncation.baseline new file mode 100644 index 0000000000000..b65773e3c335d --- /dev/null +++ b/tests/baselines/reference/quickinfoVerbosityTruncation.baseline @@ -0,0 +1,706 @@ +// === QuickInfo === +=== /tests/cases/fourslash/quickinfoVerbosityTruncation.ts === +// type Str = string | {}; +// type FooType = Str | number; +// type Sym = symbol | (() => void); +// type BarType = Sym | boolean; +// interface LotsOfProps { +// someLongPropertyName1: Str; +// someLongPropertyName2: FooType; +// someLongPropertyName3: Sym; +// someLongPropertyName4: BarType; +// someLongPropertyName5: Str; +// someLongPropertyName6: FooType; +// someLongPropertyName7: Sym; +// someLongPropertyName8: BarType; +// someLongMethodName1(a: FooType, b: BarType): Sym; +// someLongPropertyName9: Str; +// someLongPropertyName10: FooType; +// someLongPropertyName11: Sym; +// someLongPropertyName12: BarType; +// someLongPropertyName13: Str; +// someLongPropertyName14: FooType; +// someLongPropertyName15: Sym; +// someLongPropertyName16: BarType; +// someLongMethodName2(a: FooType, b: BarType): Sym; +// } +// const obj1: LotsOfProps = undefined as any as LotsOfProps; +// ^^^^ +// | ---------------------------------------------------------------------- +// | const obj1: { +// | someLongPropertyName1: Str; +// | someLongPropertyName2: FooType; +// | someLongPropertyName3: Sym; +// | someLongPropertyName4: BarType; +// | someLongPropertyName5: Str; +// | someLongPropertyName6: FooType; +// | someLongPropertyName7: Sym; +// | someLongPropertyName8: BarType; +// | someLongMethodName1(a: FooType, b: BarType): Sym; +// | someLongPropertyName9: Str; +// | someLongPropertyName10: FooType; +// | someLongPropertyName11: Sym; +// | someLongPropertyName12: BarType; +// | someLongPropertyName13: Str; +// | someLongPropertyName14: FooType; +// | someLongPropertyName15: Sym; +// | someLongPropertyName16: BarType; +// | someLongMethodName2(a: FooType, b: BarType): Sym; +// | } +// | (verbosity level: 1) +// | ---------------------------------------------------------------------- + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/quickinfoVerbosityTruncation.ts", + "position": 812, + "name": "o1" + }, + "item": { + "kind": "const", + "kindModifiers": "", + "textSpan": { + "start": 808, + "length": 4 + }, + "displayParts": [ + { + "text": "const", + "kind": "keyword" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "obj1", + "kind": "localName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "{", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName1", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName2", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName3", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName4", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName5", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName6", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName7", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName8", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongMethodName1", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "a", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ",", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName9", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName10", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName11", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName12", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName13", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Str", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName14", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName15", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongPropertyName16", + "kind": "propertyName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "someLongMethodName2", + "kind": "text" + }, + { + "text": "(", + "kind": "punctuation" + }, + { + "text": "a", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "FooType", + "kind": "aliasName" + }, + { + "text": ",", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "b", + "kind": "parameterName" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "BarType", + "kind": "aliasName" + }, + { + "text": ")", + "kind": "punctuation" + }, + { + "text": ":", + "kind": "punctuation" + }, + { + "text": " ", + "kind": "space" + }, + { + "text": "Sym", + "kind": "aliasName" + }, + { + "text": ";", + "kind": "punctuation" + }, + { + "text": "\n", + "kind": "lineBreak" + }, + { + "text": "}", + "kind": "punctuation" + } + ], + "documentation": [], + "canIncreaseVerbosityLevel": true, + "verbosityLevel": 1 + } + } +] \ No newline at end of file diff --git a/tests/cases/fourslash/quickinfoVerbosityTruncation.ts b/tests/cases/fourslash/quickinfoVerbosityTruncation.ts new file mode 100644 index 0000000000000..b321761950d92 --- /dev/null +++ b/tests/cases/fourslash/quickinfoVerbosityTruncation.ts @@ -0,0 +1,31 @@ +/// + +//// type Str = string | {}; +//// type FooType = Str | number; +//// type Sym = symbol | (() => void); +//// type BarType = Sym | boolean; + +//// interface LotsOfProps { +//// someLongPropertyName1: Str; +//// someLongPropertyName2: FooType; +//// someLongPropertyName3: Sym; +//// someLongPropertyName4: BarType; +//// someLongPropertyName5: Str; +//// someLongPropertyName6: FooType; +//// someLongPropertyName7: Sym; +//// someLongPropertyName8: BarType; +//// someLongMethodName1(a: FooType, b: BarType): Sym; +//// someLongPropertyName9: Str; +//// someLongPropertyName10: FooType; +//// someLongPropertyName11: Sym; +//// someLongPropertyName12: BarType; +//// someLongPropertyName13: Str; +//// someLongPropertyName14: FooType; +//// someLongPropertyName15: Sym; +//// someLongPropertyName16: BarType; +//// someLongMethodName2(a: FooType, b: BarType): Sym; +//// } +//// const obj1/*o1*/: LotsOfProps = undefined as any as LotsOfProps; + + +verify.baselineQuickInfo({ "o1": [1], }); \ No newline at end of file