Skip to content

docs: fix typos in comments and an error message - #413

Merged
JakeShirley merged 1 commit into
Mojang:mainfrom
TypoScan3000:docs/fix-typos
Oct 27, 2026
Merged

JakeShirley merged 1 commit into
Mojang:mainfrom
TypoScan3000:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown
Contributor

Summary

Fix typos in 3 files:

  • src/protocol-events.ts: "debugee" → "debuggee" in the two section-header comments
  • src/breakpoints.ts: a comment referred to handSetBreakpointsRequest; the method is handleSetBreakpointsRequest
  • src/panels/home-view-provider.ts: the error shown for an empty Command Shortcut, "can not be empty" → "cannot be empty"

The last item changes a user-visible message string (no tests assert on it); the rest are comments. Identifiers spelled Debugee (for example sendDebugeeRequestAsync on IDebuggeeMessageSender, which the tests mock) were deliberately left unchanged, since renaming them is an API change; you may want to decide on those separately.

No functional changes — comments and one message string only.

- 'debugee' -> 'debuggee' in the two section-header comments of protocol-events.ts
- comment referenced 'handSetBreakpointsRequest'; the method is handleSetBreakpointsRequest (breakpoints.ts)
- 'can not be empty' -> 'cannot be empty' in the Command Shortcut error message (home-view-provider.ts)

Identifiers such as sendDebugeeRequestAsync are left unchanged.

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>
@JakeShirley
JakeShirley merged commit 075c0ed into Mojang:main Oct 27, 2026
1 check passed
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.

2 participants