francodacosta / sublime-php-getters-setters

generare getters and setters for php classes
Other
73 stars 32 forks source link

Generate Setters generates getters instead #65

Open bgarrison25 opened 8 years ago

bgarrison25 commented 8 years ago

So both Generate Setters and Generate Getters command generates getters. In order to get setters i have to generate both using "Generate Getters and Setters".

Latest Version of Sublime Text 3 / just installed your package today

Ruggie commented 6 years ago

The file "Default.sublime-commands" has an entry of "PHP: Generate Setters" with the command "php_generate_getters".

As a work around you can use PackageResourceViewer to open that file inside the package and change the command to "php_generate_setters" and everything works as expected.

It doesn't look like the right click menu was impacted by this typo so you can probably right click in the file go to "Getters and Setters" and then "Generate Setters" as well.