microsoft / microsoft/TypeScript-Website
NON-CRITICAL: Playground Settings > Disable Definition Files breaks many plugin tabs
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 1.5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 7
Description
Page URL: https://www.typescriptlang.org/play?
Issue: Disable Definition Files breaks many plugin tabs
Step 1: Enable plugins, Preitter, Format on Save, (I also have TypeScript Json Schema)
Step 2: Observe the plugin menu and that everything works
Step 3: Go to Settings and disable Definition Files, And refresh the page
Step 4: Observe Prettier Tab is visible but unselectable,
Step 5: Observe Format on Save is missing
Something about "process is not defined" in tsWorker.js
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the TypeScript Playground settings and plugin handling for the Definition Files option, then inspect the reported "process is not defined" error in tsWorker.js. Reproduce the steps at https://www.typescriptlang.org/play with plugins, Prettier, and Format on Save enabled. Done means disabling Definition Files no longer makes plugin tabs unusable or removes Format on Save.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100