-
-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have a command that toggles throw ball with mouse on #376
Have a command that toggles throw ball with mouse on #376
Conversation
By using a getter, `pets` on `allPets` can be accessed using `.pets` rather than needing to call it as a method (`.pets()`)
For pet type class methods that just return private values, replace the methods with getter methods so that the fields can be accessed on the pets without parentheses. E.g. `pet.name` instead of `pet.name()`
Add new duck names
Change PetCollection.pets to be a getter
Change relevant pet fields to getters
Added new pet names
Add pet names
…ation Avoid `*` activating extension
I have added a few new pet names of snake, duck, and crab.
Updated name.ts
adding white cat option
Codecov Report
@@ Coverage Diff @@
## master #376 +/- ##
==========================================
- Coverage 17.08% 16.99% -0.09%
==========================================
Files 21 21
Lines 1147 1153 +6
Branches 154 156 +2
==========================================
Hits 196 196
- Misses 942 951 +9
+ Partials 9 6 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
New Crowdin translations
Add pet size small
package.json
Outdated
@@ -84,7 +84,7 @@ | |||
"icon": "media/dog.svg" | |||
}, | |||
{ | |||
"command": "vscode-pets.throw-with-mouse", | |||
"command": "vscode-pets.throwBallWithMouse", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change the command ID to camelCase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry it had the same name as a variable in extension.ts so I presumed that it had to be named the same.
Gitignore build file and DS_Store
I have had to force a bunch of changes to this repository to remove the cat assets (and previous copies). GitHub automatically closed the PR. You may need to create a new fork, before submitting future changes. |
"Throw ball with mouse" command that toggles the throw ball with mouse option on or off. For #375