Skip to content

Expose the maximumLength and verbosityLevel parameters for the getQuickInfoAtPosition function #5250

@juhort

Description

@juhort

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

In version "0.55.1"

In file node_modules/monaco-editor/esm/vs/language/typescript/tsWorker.js, the getQuickInfoAtPosition API doesn't accept the 3rd and 4th parameters.

async getQuickInfoAtPosition(fileName, position) {
  if (fileNameIsLib(fileName)) {
    return void 0;
  }
  return this._languageService.getQuickInfoAtPosition(fileName, position);
}

Whilst the underlying _languageService.getQuickInfoAtPosition does support the 3rd and 4th parameters.

File: node_modules/monaco-editor/esm/vs/language/typescript/lib/typescriptServices.js

function getQuickInfoAtPosition(fileName, position, maximumLength, verbosityLevel) {
    ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions