question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make setting up a tuned TypeScript project easy as 🥧

See original GitHub issue

Currently it takes quite a bit of product knowledge to set up a TypeScript project and get all the nice features VS Code has to offer. Examples:

  • What should my tsconfig.json include?
  • How can I run my project?
  • How can I get debugging to work?
  • How should I run my build/watch?
  • How can I set up tests?
  • How should I lint/format the code?

And probably lots more…

This issue tracks making these questions easy to answer, the starting point for this will be developing start list contributions to instantiate template folders that have been tuned to make the development/build/test/debug process as seamless as possible.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:8
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yume-chancommented, Aug 26, 2021

How about editing tsconfig.json with the built-in settings editor #104044?

1reaction
gcrev93commented, Aug 25, 2021

As a starting solution, we discussed a simple solution:

Having a welcome page for TypeScript that has the following steps:

  1. Tells users how to download TS
  2. Has a button that allows users to create a simple TS solution . (This will use tsc --init to create a base tsconfig and then
  3. Shows users how to compile their code with tsc

I think our simple solution can also assist here https://github.com/microsoft/vscode/issues/124280 . it is mentioned that the having a base tsconfig can speed up the run/debug

I would love to hear your thoughts @JacksonKearl @DanielRosenwasser @digitarald

Also going to mention @connor4312 since its his comment I am referring to

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Set Up a New TypeScript Project - DigitalOcean
Step 1 — Starting the TypeScript Project ... To begin your TypeScript project, you will need to create a directory for your project:...
Read more >
How to set up a TypeScript project - freeCodeCamp
Step 4: Install Typescript​​ If you use the --global option, then the TypeScript compiler tsc will be available in all projects on the...
Read more >
Simple setup for your next TypeScript project - ITNEXT
First, we need a directory for our project. In this example we create the folder “typescript-helloworld” and change into it after the creation....
Read more >
TypeScript | WebStorm Documentation - JetBrains
Configure integration with the TypeScript Language Service ... In most cases, everything works out of the box and no manual configuration is ...
Read more >
How to setup TypeScript projects in 2021 - Eugene Obrezkov
As you have already noticed, all the configuration lies inside a single JSON file. You can easily make a npm package from it,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found