material-extensions / material-extensions/vscode-material-icon-theme

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

Open
#1,985 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3k
Forks
800
Avg merge
3d 4h
Merged PRs (30d)
10

Description

Icon Type

  • Folder
  • File

File Names

  • _test.ts
  • _test.js
  • _test.tsx
  • _test.jsx
  • _spec.ts
  • _spec.js
  • _spec.jsx

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the referenced icons/test-ts.svg, icons/test-jsx.svg, and icons/test-js.svg, then check the related issue #330 before starting. Add support for the listed _test and _spec TypeScript, JavaScript, TSX, and JSX filenames so they use the corresponding test icons.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.