material-extensions / vscode-material-icon-theme

Available on the VSCode Marketplace
https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
MIT License
2.1k stars 632 forks source link

[Icon Request] TS/JS/JSX _test and _spec suffix #1985

Open sadfsdfdsa opened 1 year ago

sadfsdfdsa commented 1 year ago

Icon Type

File Names

Graphic ideas

Existing icons from base ts/js/tsx icons set

https://github.com/PKief/vscode-material-icon-theme/blob/main/icons/test-ts.svg - ts https://github.com/PKief/vscode-material-icon-theme/blob/main/icons/test-jsx.svg - jsx/tsx https://github.com/PKief/vscode-material-icon-theme/blob/main/icons/test-js.svg - js

Additional context Add extension separator _, because some JS/TS codestyles recommend naming files with pattern some_file.ts, so test for this file be like some_file_test.ts or some_file_spec.ts. For example google typescript style guide and example - chromium/chromium/blob/main/chrome/test/data/pdf/title_test.ts.

Seems related and blocked by https://github.com/PKief/vscode-material-icon-theme/issues/330

zm-cttae commented 1 year ago

The upstream API feat is currently in my hands for now, but should be absurdly easy to implement once done.