Closed as not planned
Description
Subset of #121345. π§ Draft to get discussions started.
As an addition to the planned "New β¦" #124304 contribution point, VS Code wants to make it easier to get started with TypeScript by generating a folder with all the necessary files. The script could introduce the key aspects of TS and VS Code's capabilities and provide a playground to try them out.
What could the user flow be?
The ecosystem of CLI tools for project bootstrapping is vivid across most languages. Every major JS/node project provides their own tool. VS Code's built-in Terminal would therefor be the perfect entry point for project creation.
- (Welcome) "New β¦" β (Quick prompt) "TypeScript Starter"
- πͺ Pick container or local folder
- Native dialog to pick a new or existing folder
- Attach VS Code window to selected folder
- Open Terminal with tsc --init command that guides the user through the wizard (frontend, backend, fullstack)
- The generated TS index file opens and contains a basic TS snippet hello world + next steps (how to run, complex, next steps) in comments
Other variations:
- Open Terminal in current VS Code window and give the user the option to open the window when the command ran
- Detect if node/npm is installed and guide user through the installation if needed
How should the entry point be called?
- "New TypeScript Project"
- π Often used for similar concepts
- π Project is a overloaded term in code environments and not used in VS Code
- "New TypeScript Configuration"
- π TSConfig reference
- Does not imply that it creates a new folder/workspace, but maybe could be run in an existing folder
- "TypeScript Frontend" | "TypeScript Backend" | "TypeScript Fullstack"
- π One for each to avoid naming it
- π Makes the use case clearer for beginners
- Not many languages are fullstack, so it wouldn't be a common pattern
cc @gcrev93 @JacksonKearl @misolori @DanielRosenwasser