microsoft/vscode

JSDoc not work properly with default values

OMendozaG opened this issue · 1 comments

  • VS Code Version: Versión: 1.76.2
  • OS Version: W11

Steps to Reproduce:

  1. Create a function documentated with default value on parameter
    `/**
  • Testing default values
  • @param {boolean} [p=true] Parameter with default value
  • @returns {boolean} Return value
    */
    function f(p = true) {
    return p;
    }
    `
  1. Why not show on any description the default value por "p" parameter?
    Captura 1470 2023 03 17 22 19 27
    Captura 1471 2023 03 17 22 19 39
mjbvz commented