Quick FinderA lightweight, high-performance VS Code extension for Angular/TypeScript projects. It bridges the gap between your stylesheets, HTML templates, and TypeScript code — all accessible from a single right-click Quick Finder submenu. Features at a Glance
Feature Details1. Find HTML UsageRight-click a CSS class name in a 2. Go To Definition —
|
| Results found | Action |
|---|---|
| 1 match | Navigates directly — cursor lands on the method name |
| 2+ matches | Quick-pick list showing file path, line number, and a preview of the calling line |
| 0 matches | Warning message: no parent usages found |
8. Add Access Modifiers to File
Open a TypeScript class file, right-click → Quick Finder → Add Access Modifiers to File. Quick Finder scans the entire workspace and applies the correct public, private, or protected modifier to every undecorated method.
Modifier inference rules
| Modifier | Condition |
|---|---|
public |
Angular lifecycle hook (ngOnInit, ngOnDestroy, etc.) |
public |
Method name appears in any HTML template |
public |
Method is called via .method() in another TypeScript file |
protected |
Method is called via super.method() in a subclass |
private |
Method starts with _ |
private |
Method is only called via this.method() inside its own class |
| (skipped) | Method is not referenced anywhere |
Private method auto-rename
When a method is determined to be private and does not already have an underscore prefix:
- The method declaration is renamed
methodName→_methodName - All
this.methodName(call-sites within the same file are renamed tothis._methodName(
Performance
All workspace files are loaded once in parallel, all analysis runs in-memory, and all edits are applied in a single batch — no repeated disk reads, no incremental saves.
Right-Click Submenu
All commands are grouped under a Quick Finder submenu in the editor context menu. The submenu only appears when the active file is a supported type:
- CSS / SCSS files → Find HTML Usage, Detect Hardcoded Colors (Workspace), Detect Hardcoded Colors in This File
- TypeScript / TSX files → Go to Parent Component Usage, Add Access Modifiers to File
Keyboard Shortcuts
| Shortcut | Action | File |
|---|---|---|
F12 |
Go to first HTML usage of selector | CSS / SCSS |
Shift+F12 |
Find all references (HTML + TS parent components) | CSS / SCSS / TypeScript |
Supported Languages
- CSS (
.css) - SCSS (
.scss) - TypeScript (
.ts,.tsx)
Excluded Paths
All workspace scans automatically skip:
node_modules, dist, .angular, build, out
Roadmap
- Multi-file hardcoded color detection for HTML and TypeScript
- Ignore list for files such as
variables.scss,theme.scss,helper.scss - Unused SCSS selector detection
- Improved Angular
ngClassand dynamic class analysis - Support for standalone Angular templates and inline HTML
Version History
v0.0.6
- Go to Parent Component Usage command — right-click a method in a child component and jump directly to where it is called in a parent component or HTML template
- Single result navigates immediately; multiple results shown in a quick-pick with file, line, and preview
v0.0.5
- All commands grouped under a single Quick Finder right-click submenu
- TypeScript
Shift+F12reference provider — finds method call-sites in parent components and HTML templates - Private method auto-rename with
_prefix when adding access modifiers - Access modifier command checks parent component TypeScript and HTML files
v0.0.4
- Automatic Access Modifier Generator for TypeScript
- Intelligent modifier inference (
public,private,protected) - High-performance workspace analysis with in-memory caching
- Batch editing for faster code updates
v0.0.3
- Real-time hardcoded color highlighting with hover tooltips
- Detect Hardcoded Colors in current file command
v0.0.2
- Workspace-wide hardcoded color detection
v0.0.1
- Find HTML Usage command
- F12 Go To Definition for CSS/SCSS selectors
- Shift+F12 Find All References for CSS/SCSS selectors