-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Not sure if this is a bug or a feature request, but it's not an issue in .ts
files so I filed it as a bug for now.
Bug Report
🔎 Search Terms
jsdoc autocomplete function parameter
🕗 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
/**
* @typedef OptionsObject
* @property {number} opt1
* @property {string} opt2
*/
/**
* @param {OptionsObject} options
*/
function takeOptions({ }) {
// ^
// Place your caret here and press ctrl + space
}
🙁 Actual behavior
No autocompletion
🙂 Expected behavior
A list of autocompletions showing opt1
and opt2
, with TypeScript syntax this works fine.
Metadata
Metadata
Assignees
Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript