镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Automatically generating getter and setter #12417

Description

From user414 on April 24, 2016 12:39

I couldn't find this issue already existing. I was starting to make variable public just to avoid the setter/getter manual writing, I knew it was time to look for something. Luckily someone beat me to it

https://marketplace.visualstudio.com/items?itemName=DSKWRK.vscode-generate-getter-setter

perhaps this code can be integrated in the mainline, or use as a basis for this new functionality.

Copied from original issue: microsoft/vscode#5716

Activity

  1. waderyan commented on Nov 21, 2016

    @waderyan
    Author

    From Dirk Bäumer (@dbaeumer) on November 15, 2016 19:0

    Wade Anderson (@waderyan) this should come from the TS team.

  2. DrewLandgrave commented on Feb 3, 2017

    @DrewLandgrave

    Has there been any movement on this?

  3. arielalvarez88 commented on Jun 15, 2017

    @arielalvarez88

    +1, pretty please

  4. davidmach14 commented on Jun 15, 2017

    @davidmach14

    +1 I'm surprised it's not yet done...

  5. JianboYan commented on Feb 22, 2018

    @JianboYan

    +1 I'm surprised it's not yet done...

  6. Kingwl commented on Feb 22, 2018

    @Kingwl
    Contributor

    should this issue for community milestone? Mohamed Hegazy (@mhegazy)

  7. added this to the milestone on Feb 22, 2018
  8. mhegazy commented on Feb 22, 2018

    @mhegazy
    Contributor
  9. modified the milestones: , TypeScript 2.9 on Apr 3, 2018
  10. ghost closed this as completedin #22143on Apr 10, 2018
  11. mhegazy commented on Apr 10, 2018

    @mhegazy
    Contributor
  12. locked and limited conversation to collaborators on Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: LS: Refactoringse.g. extract to constant or function, rename symbolFixedA PR has been merged for this issueSuggestionAn idea for TypeScriptVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions