You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Show all errors and warnings in project for all JavaScript and TypeScript files, not just opened ones #13953
I am using VS Code on a project at work that has hundreds of files and many layers of nested sub-directories. I frequently make changes that break many files, such as changing the call signature of a commonly used method. Since the project is entirely typescript, it is useful to be able to open the "Problems" view and see the errors and warnings my change caused in the files I have open. However, because of the size of the project, I still need to go to my terminal and run our own make commands to see the list of problems. I then need to perform the fun dance between my terminal and VS Code, searching for the right line in the right file before I can fix the problem.
What I need is a way to tell the "Problems" view to show me all errors and warnings across all open and closed files in my project. This would allow me to see all problems in a single list and quickly click through and fix them.
Reacted by Guillaume Lecomte, Tyler Davis, Wade Anderson, Abel Valente, echo-sean, Max Pixel, Andreas Olsson, Han Lin Yap, Svetoslav Stanev, José Joaquín Bocanegra and 1501 more
Reacted by Bowen Wang
Reacted by Peter Majchrak, Amine D., Jameel Khan, a11delavar, J. Conrad Hanson, Bart Koedijk, Hadi, Hunter Pruett, andrei, Roman Konstantinovskiy and 8 more
Reacted by Brad Larson, Dieter Oberkofler, Daniel Steigerwald, Alejandro Corredor, Vladan Paunovic, Muhammad N ElNokrashy, iamolegga, Sebastian Duque Gutierrez, Cyrus Frost, Dennis Zoma and 96 more
Reacted by Bowen Wang
Reacted by Nick Braica, Till Wolff, Michael Letcher, Adam Pietrasiak, Rhys van der Waerden, Gregory, Vladislav Botvin, Shenghan Gao, JeroenBos, Kyle Pittman and 169 more
Reacted by Sebastian Castano-Aguirre, Tobias Hernstig, Julius, Tom Neckermann, Karen G., DerHerr95, Fabian Frank, Donovan Hiland, Luis Eduardo Brito, Serhii Sovhut and 84 more
Reacted by Sebastian Castano-Aguirre, Julius, Tom Neckermann, Scott Ho, DerHerr95, Fabian Frank, Donovan Hiland, Luis Eduardo Brito, Serhii Sovhut, Christoph and 85 more
Reacted by Keegan Farley, wildeyes, Aniello Del Sorbo, Christopher Diggins, Andrei Markeev, Jonas, Martin Sjåstad, Vadim Roschupkin, Noah Sherwin, Baran Basaran and 2 more
Something I didn't realize was that it's possible to do this with the Tasks infrastructure that VSCode has. All you have to do is put this into your tasks.json:
Then just run it and you'll get all of the errors across your entire project in the problems view.
I'm a bit perplexed why this isn't displayed more prominently. It's super useful and cool.
Reacted by Paarth, Dominic Gee, Chris Tarczon, William Chelman, Christopher Simerle, Andrew Paulicek, Eric Berger, Jonathan Bonnefoy, Jack Thompson, Aaron Ross and 46 more
Reacted by [ZE]
Reacted by Kevin Buhmann, Adrian Moisa, Walter Johnson, Lydia Schow, Melvin Valster, Benoit V., Payden K. Pringle, Jordan Rolph, Matthew Kooshad and Muhab Abubaker
Reacted by Gil Amran, Arturo Guzman, Evan Wallace, Eric Berger, Ryan Allen, Michael Wu, Shayan Sayahi, Jack Thompson, Aaron Ross, James Batt and 40 more
Reacted by [ZE]
Reacted by Kevin Buhmann, Gabriel Grinberg, Ben Katz, Evan Wallace, Ryan Allen, Adrian Moisa, AB, Martin Simoneau, Walter Johnson, Shiv Roy and 8 more
This issue was incredibly annoying back in 2016, but the world has changed so much I now find it irrelevant. My LLM agent already automatically runs builds and types checks before commits and then automatically fixes whatever problems it finds. Now this is swatting a gnat with a bazooka, but in fact, I'm no longer bothered by the IDE error and warning display behavior!
I found this issue for the same scenario but with opposite intuition: I've seen agent changes cause problems that weren't visible to it for whatever reason, but could show in the Problems view. So, I added instructions for agent to never finish a change until Problems count is 0 (among other checks, like no build errors or test failures). This seems to work well for additional feedback to get good results.
Beyond that, eager problem surfacing is still essential for efficient workflow. It's useful to see ASAP if a change in one file has downstream impacts. If this can be known, it should be, at least for those who opt in. Waiting until build time is often significantly more overhead and time than revealing problems and linting issues pre-build.
So, I hope it gets more work in some form. 🤞
Reacted by Matthijs Wensveen, flurrux, MathLien and Artyom Sovetnikov
yeah - it's not a good idea.
Also I don't get why this issues is being ignored by the vscode team for so long now. It will become 10 years old in October.
For those who are still looking for a solution, and if the experimental feature mentioned in #13953 (comment) is helpful, I just wanted to mention that the setting has been renamed to:
I built an extension for this while it waits on the backlog: Project Problems.
It finds every tsconfig in the workspace, runs that project's own TypeScript in watch mode (including TypeScript 7), and puts every error in the Problems panel, including files you have not opened. Files you do have open are left to the built-in TypeScript support, so nothing shows twice, and errors from closed files stay after you close them and update as you edit other files.
A few things it handles that came up in this thread:
Vite style setups where tsconfig.json only references tsconfig.app.json and tsconfig.node.json
Monorepos with several tsconfigs, including configs with other names (tsconfig.scripts.json and so on) that are reached through references
It never writes into the project. The compiler cache goes to the extension's own storage.
Two honest limits: it only runs in trusted folders, since it runs the project's TypeScript from node_modules, and with project references, types that cross between packages are only checked fully once those packages have been built.
I appreciate your effort but I'm not sure whether I want to install an extension just for this feature looking at all the supply chain vulnerabilities going on in the software industry recently
NOT rely on AI for things an AI is not made for!!
Vibe typechecking
Sam Jaques (@jaques-sam-tlv)flurrux lol the AI agent is running the same type-check command you'd run yourself or put in a pre-commit hook, and then checking the output of the command before running the commit command. Which part is "not made for AI" and which part is "vibe"? 🤣 🤣 🤣 🤣
Activity
dbaeumer commentedon Oct 25, 2016
Wade Anderson (@waderyan) this is a feature request for the builder work we discussed with the TS team.
waderyan commentedon Oct 25, 2016
For reference here is a link to the issue - microsoft/TypeScript#11229
plievone commentedon Dec 22, 2016
Well, I just use a watching build task with
"problemMatcher": "$tsc-watch"(see https://code.visualstudio.com/Docs/editor/tasks#_processing-task-output-with-problem-matchers) and all errors and warnings are properly shown in the Problems view. It is quite a nice workflow because changes in open files are noticed immediately due to language server, but save triggers incremental compilation (withtsc --watch) which still takes a while, but I can control that latency by saving/not saving yet.maxime1992 commentedon Jan 26, 2017
any ETA on this ? There's a lot of issues opened for that feature and not sure if I missed anything or not 😄
waderyan commentedon Jan 26, 2017
Maxime (@maxime1992) thanks for the follow up. This is on our radar. No firm timeline yet.
johnfn commentedon Mar 12, 2017
Something I didn't realize was that it's possible to do this with the Tasks infrastructure that VSCode has. All you have to do is put this into your tasks.json:
Then just run it and you'll get all of the errors across your entire project in the problems view.
I'm a bit perplexed why this isn't displayed more prominently. It's super useful and cool.
WilliamChelman commentedon Apr 7, 2017
Grant Mathews (@johnfn) Great solution, thanks a lot. I would even add the "--noEmit" argument if the sole purpose of the task is to show the errors
{ "version": "0.1.0", "command": "tsc", "isShellCommand": true, "args": ["-w", "-p", ".", "--noEmit"], "showOutput": "silent", "isBackground": true, "problemMatcher": "$tsc-watch" }201 remaining items
NoahStahl commentedon Mar 8, 2026
I found this issue for the same scenario but with opposite intuition: I've seen agent changes cause problems that weren't visible to it for whatever reason, but could show in the Problems view. So, I added instructions for agent to never finish a change until
Problemscount is 0 (among other checks, like no build errors or test failures). This seems to work well for additional feedback to get good results.Beyond that, eager problem surfacing is still essential for efficient workflow. It's useful to see ASAP if a change in one file has downstream impacts. If this can be known, it should be, at least for those who opt in. Waiting until build time is often significantly more overhead and time than revealing problems and linting issues pre-build.
So, I hope it gets more work in some form. 🤞
jaques-sam-tlv commentedon Mar 9, 2026
Kyle Cordes (@kylecordes)
Please, we all should NOT rely on AI for things an AI is not made for!!
zeule commentedon Mar 9, 2026
False alarm, AI is made to replace us, so everything is fine here.
flurrux commentedon Mar 9, 2026
Kyle Cordes (@kylecordes) Vibe typechecking sounds absolutely horrible
chtpl commentedon Mar 9, 2026
yeah - it's not a good idea.
Also I don't get why this issues is being ignored by the vscode team for so long now. It will become 10 years old in October.
danielbayley commentedon Mar 9, 2026
Insane. What is wrong with a linter, and a couple of commands in a
pre-commithook?tellok commentedon Mar 13, 2026
Typescript 7 is rewritten in go, with significant performance improvements, so detect all type errors in whole workspace is possible now?
fbf-prog64 commentedon May 26, 2026
For those who are still looking for a solution, and if the experimental feature mentioned in #13953 (comment) is helpful, I just wanted to mention that the setting has been renamed to:
{ /*...*/ "js/ts.tsserver.experimental.enableProjectDiagnostics": true /*...*/ }The other name still works, but it has been deprecated.
frederikhors commentedon May 26, 2026
Felipe Benítez (@fbf-prog64) does this work good?
fbf-prog64 commentedon May 26, 2026
frederikhors, In my particular case, it has been helpful. These are my observations:
node_modulesin my project.settings.jsonopen in a tab, then setfalseto the option, and thentrue(disable and reenable).Most of these things have been mentioned over the years here, so I was already aware of them when I tried this workaround. 👍
v0.4.1: freeze current architecture
lagudafuadtosin commentedon Sep 27, 2026
I built an extension for this while it waits on the backlog: Project Problems.
It finds every tsconfig in the workspace, runs that project's own TypeScript in watch mode (including TypeScript 7), and puts every error in the Problems panel, including files you have not opened. Files you do have open are left to the built-in TypeScript support, so nothing shows twice, and errors from closed files stay after you close them and update as you edit other files.
A few things it handles that came up in this thread:
Two honest limits: it only runs in trusted folders, since it runs the project's TypeScript from node_modules, and with project references, types that cross between packages are only checked fully once those packages have been built.
Source is here: https://github.com/lagudafuadtosin/project-problems. If it misses something in your setup, an issue there with the tsconfig would help me fix it.
chtpl commentedon Sep 28, 2026
I appreciate your effort but I'm not sure whether I want to install an extension just for this feature looking at all the supply chain vulnerabilities going on in the software industry recently
ADTC commentedon Oct 1, 2026
Sam Jaques (@jaques-sam-tlv) flurrux lol the AI agent is running the same type-check command you'd run yourself or put in a pre-commit hook, and then checking the output of the command before running the commit command. Which part is "not made for AI" and which part is "vibe"? 🤣 🤣 🤣 🤣
Welcome to the new world of slopware!