Skip to content

The problem of deleted file is still in problems panel. #1147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
zuoez02 opened this issue Mar 12, 2019 · 2 comments
Closed
3 tasks done

The problem of deleted file is still in problems panel. #1147

zuoez02 opened this issue Mar 12, 2019 · 2 comments

Comments

@zuoez02
Copy link

zuoez02 commented Mar 12, 2019

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.16.2
  • VS Code version: 1.33.0-insider

Problem

The problems in deleted files are still exist in PROBLEMS panel.

Actually, it is also a bug on both code and code-insider. I just use code-insider as a clean version without other extensions.

Reproducible Case

  1. Generate a new vue project with vue-cli 3 with Typescript.
  2. Write a .vue file with problem.
<template>
<div>{{ hello }}</div>
</template>
<script lang="ts">
import Vue from 'vue';
import Component from 'vue-class-component';

@Component
export default class File extends Vue {
    public hello: string = 123;
}
</script>
  1. It said Type '123' is not assignable to type 'string'. in PROBLEM panel.
  2. Delete the file
  3. It is still there. Click the file and vscode says File not found
  4. Reload the Code and problem is not shown anymore.
@octref
Copy link
Member

octref commented Apr 4, 2019

Should be fixed by #1182.

@octref octref closed this as completed Apr 4, 2019
@octref octref added this to the April 2019 milestone Apr 4, 2019
@livevsonline
Copy link

Hmm i just had this in a freshly installed project, vue 3 with prettier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants