Skip to content

ts plugin provide symbols #61929

Closed as not planned
Closed as not planned
@mantou132

Description

@mantou132

πŸ” Search Terms

ls, plugin, symbols

βœ… Viability Checklist

⭐ Suggestion

typescript LanguageService add provideDocumentSymbols:

interface LanguageService {
  ...
  provideDocumentSymbols: (fileName: string) => SymbolInformation[]
}

πŸ“ƒ Motivating Example

Provide symbols for documents in ts plugin, not relying on LSP/Editor

πŸ’» Use Cases

Embedded language language provides merge symbols and ts symbols

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions