void icon indicating copy to clipboard operation
void copied to clipboard

Code Clarity Improvements, Bug Fixes, and Cleanup (JSON Serialization, Typo Corrections, Redundant Listener Removal)

Open rachavz opened this issue 8 months ago • 0 comments

This pull request includes several changes across different files, focusing on code formatting improvements, bug fixes, and minor refactoring. The most notable changes involve fixing typos, improving JSON serialization logic, and removing redundant event listeners.

Code Formatting Improvements:

  • src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx: Corrected the indentation of a comment for better readability.
  • src/vs/workbench/services/treeSitter/browser/treeSitterCodeEditors.ts: Fixed the spelling of languageEditorDisposables and adjusted the indentation for consistent formatting.

Bug Fixes:

  • cli/src/commands/output.rs: Adjusted the JSON serialization logic in the TablePrinter implementation to ensure proper formatting by fixing misplaced commas and braces.

Refactoring:

  • test/monaco/monaco.test.ts: Removed a redundant page.on('pageerror') event listener to avoid duplicate error logging.

rachavz avatar Jun 07 '25 08:06 rachavz