Skip to content

Autocomplete not working for @template typesΒ #47223

Closed
@jespertheend

Description

@jespertheend

Bug Report

πŸ”Ž Search Terms

jsdoc autocomplete template

πŸ•— Version & Regression Information

  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about autocomplete

⏯ Playground Link

Playground link with relevant code

πŸ’» Code

/**
 * Place your caret here and press ctrl + space
 *           ||
 *           \/
 * @template {} T
 * @typedef {Object} MyGeneric
 * @property {T} foo
 */

πŸ™ Actual behavior

It only autocompletes existing words.

πŸ™‚ Expected behavior

It autocompletes similarly to how it works for @type.

Related: #46606 #47222

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions