VS Code Problem panel is wrong
See original GitHub issue[-] I have searched through existing issues [-] I have read through docs [-] I have read FAQ
Info
- Platform: macOS
- Vetur version: 0.11.7
- VS Code version: 1.21.1 (1.21.1)
Problem
Firstly I create a *.ts (export default class ……)and import it in other *.vue.When I change this class constructor method, Reopen the vue file, Problem panel doesn’t work
Reproducible Case
[step 0]: Use vue-cli beta 6 init an typescript+vue project [step 1]: Create file Test.ts and save
export default class Test {
constructor(id: number) { }
}
[step 2]: In App.vue I try to import Test
mounted() {
new Test(1111)
}
[step 3]: Reopen Test.ts change constructor() like this
export default class Test {
constructor(id:number, name:string) {}
}
step 4: Reopen App.vue You will see that Problem Panel doesn’t work,But complier is right
Tip:
When I reopen VS Code, can be correct。When other extensions are disabled, this bug is still
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Suggestion: Automatically show the Problems panel if ...
VSCode Version: 1.4.0 OS Version: macOS 10.11.6 I often work with the Problems panel open, as listing the problems that way is a...
Read more >Visual Studio Code User Interface
Panels - You can display different panels below the editor region for output or debug information, errors and warnings, or an integrated terminal....
Read more >vsCode on Problems panel, items from tasks/problemMatcher ...
Into the task, I define a problemMatcher to catch error(severity=error) or success(severity=info). When I execute the task, if error match ...
Read more >VSCode Tasks Problem Matchers - Allison Thackston
This is an interactive panel that shows all of the problems that were detected and lets you click on an issue to automatically...
Read more >VS Code tips — The problems status bar entry - YouTube
Today's VS Code tip: the problems status bar entryVS Code shows the total number of errors and warnings for your code in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@HerringtonDarkholme @superbiger I hit a similar problem (kb10uy/vue-sfc-ts), and now it seems to be fixed correctly in the latest master branch. 😆
The vsce package is required to build and install the extension from this repository:
Now you’ll find
vetur-0.11.7.vsix
, you can install it by “Install from VSIX”.Thank @kb10uy , I have updated the instructions in FAQ.