Skip to content

Misleading documentation for Position functions #41221

@KamasamaK

Description

@KamasamaK

In vscode.d.ts, the Position comparison functions isBefore, isBeforeOrEqual, isAfter, and isAfterOrEqual have misleading descriptions. For example, isBefore says "Check if other is before this position." I think it would be more clear to say something like "Check if this position is before other", as that is when true is returned. Likewise for the other three.

Metadata

Metadata

Assignees

Labels

apigood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunities

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions