Skip to content
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

Closed
wants to merge 745 commits into from
Closed

Have a command that toggles throw ball with mouse on #376

wants to merge 745 commits into from

Conversation

Harry-Hopkinson
Copy link
Contributor

"Throw ball with mouse" command that toggles the throw ball with mouse option on or off. For #375

Eric Simmons and others added 30 commits October 20, 2022 14:59
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()`
Change PetCollection.pets to be a getter
Change relevant pet fields to getters
I have added a few new pet names of snake, duck, and crab.
@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2023

Codecov Report

Merging #376 (3ba41cc) into master (eaeae88) will decrease coverage by 0.09%.
The diff coverage is 16.66%.

@@            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     
Impacted Files Coverage Δ
src/extension/extension.ts 20.99% <16.66%> (-0.38%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Harry-Hopkinson Harry-Hopkinson changed the title Have a command that turns throw ball with mouse Have a command that toggles throw ball with mouse on Jan 31, 2023
package.json Outdated
@@ -84,7 +84,7 @@
"icon": "media/dog.svg"
},
{
"command": "vscode-pets.throw-with-mouse",
"command": "vscode-pets.throwBallWithMouse",
Copy link
Owner

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?

Copy link
Contributor Author

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.

@tonybaloney
Copy link
Owner

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.

rlszabo added a commit to rlszabo/vscode-pets that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet