Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 883 Bytes

File metadata and controls

47 lines (27 loc) · 883 Bytes

kingsoft-rule-marker README

This is a Visual Studio Code extension that highlights usage of functions marked with custom warning comments, enhancing code readability and maintainability.

Features

  • Highlights functions marked with @warning in red and bold.
  • Scans specific directories for TypeScript files.
  • Caches results for improved performance.

Installation

  1. Open VSCode.
  2. Press Ctrl+P and type ext install your-extension-name.
  3. Reload VSCode.

Usage

  1. Open a TypeScript file in one of the specified directories.
  2. Mark a function with the @warning comment.
  3. All usages of the marked function will be highlighted in red and bold.

Release Notes

0.1.5

  • Optimization function.

0.1.4

  • Optimization function.

0.1.3

  • Optimization function.

0.1.2

  • Add function.

0.1.1

  • Add icon.

0.1.0

  • Initial release.