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

Add support for JavaScript "get" and "set" keywords

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: Release 3.7.0
    • Component/s: JS
    • Labels:
      None

      Description

      JavaScript has support for getters and setters via get() and set() methods since a long time now and it's supported in many major browsers. It'd be nice if Aptana Studio could support those keywords as well.

      Example script:
      var object = {
      someInteger: 4,
      get someValue()

      { return "4"; }

      ,

      get integer()

      { return this.someInteger; }

      ,

      test: function()

      { return 1 + this.someValue; }

      };

      developer.mozilla.org page:
      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/get

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                tobbi Tobias Markus
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration