Refactor: Event Names Consistency. Use EventType constants everywhere if possible #236939
Labels
unreleased
Patch has not yet been released in VS Code Insiders
Milestone
Description:
In the VSCode codebase, event types like 'mouseup', 'contextmenu', etc., are often hardcoded instead of using predefined constants such as those in dom.EventType
Proposed Solution:
Replace hardcoded event names with the corresponding constants available in EventType.
For example:
Issue found in files:
src/vs/editor/browser/editorDom.ts
src/vs/workbench/electron-sandbox/parts/titlebar/titlebarPart.ts
The text was updated successfully, but these errors were encountered: