Hasty Briefsbeta

Bilingual

Show HN: A new VSCode extension that shows definition functions in a stack

a year ago
  • #VSCode
  • #TypeScript
  • #JavaScript
  • Definition Stack is a VSCode extension for reading JavaScript and TypeScript code, especially unfamiliar code.
  • It displays source code of definitions and references in a stack for fast review, with functions appearing in isolated blocks.
  • A single command 'Definition Stack:Open' initiates the stack, allowing users to click on symbols to view their definitions in new blocks above.
  • Users can traverse the tree of definitions and references, reducing cognitive load by not needing to remember file locations.
  • Features include 44 light and dark themes, real-time theme and highlight color adjustments, and collapsible blocks.
  • Blocks can show references to definitions, and the UI includes navigation buttons for managing the stack.
  • Supports 26 symbol types including Functions, Variables, and Modules.
  • Limitations include no keyboard shortcuts, no auto-update on source file edits, and currently only supports JavaScript and TypeScript.
  • The UI is described as not visually appealing, with potential for improvement.