Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4116

Functions with parameters do not display arg assist if they have an associated sdoc block with no @param tags

    Details

    • Story Points:
      8

      Description

      Given the following block of code

      /**
       * @return {Object}
       */
      function abc(a, b, c) {}
      

      We should show arg assist for the "a, b, c" parameters. However, since the sdoc comment does not list the parameters, the type inferencer assumes the function has no arguments. We should perform a sanity check and use what is in the code if no @params are defined. If one or more @params are defined, then the sdoc will win in that case.

        Attachments

          Activity

            People

            • Assignee:
              klindsey Kevin Lindsey
              Reporter:
              klindsey Kevin Lindsey
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code