pranaygp / vscode-css-peek

A vscode extension for peeking at CSS definitions from a class or id tag in HTML
MIT License
145 stars 32 forks source link

Several search processes are started #59

Closed roblourens closed 5 years ago

roblourens commented 5 years ago

From https://github.com/Microsoft/vscode/issues/70457

This line starts 3 searches, which can be expensive in large workspaces https://github.com/pranaygp/vscode-css-peek/blob/2b7708dbea34126b251e4eff9e6d9b1120718905/client/src/extension.ts#L111

Please consider a different approach

arch-stack commented 5 years ago

I made a PR to sort out a different issue, in the process I made an adjustment to that line above that should reflect your third point Let me know if you think that's similar to what you expect https://github.com/pranaygp/vscode-css-peek/pull/61

pranaygp commented 5 years ago

@arch-stack's PR fixed this and is included in the new release of 3.0.2