Skip to content

Not recognized new Vue file #769

@crazylexa

Description

@crazylexa

VS Code version

1.103.2

Extension version

3.2.0

Biome version

2.2.2

Operating system

  • Windows
  • macOS
  • Linux

Description

New files not recognized by biome if they created manually.
It works fine during copy.
It reproduced in VSCode and Webstrome so i'm not sure if it's extension problem.

It start works if manually restart extensions host.

Steps to reproduce

Setup

  1. Create new quasar app (npm init quasar@latest)
  2. Install biome (npm i -D -E @biomejs/biome)
  3. Configure biome (npx @biomejs/biome init)
    3.1 Add override config for vue from docs (https://biomejs.dev/internals/language-support/#html-super-languages-support)
    3.2 Add some obvious rule to linter. (e.g. https://biomejs.dev/linter/rules/no-yoda-expression/#examples)
  4. Configure VSCode ("editor.defaultFormatter": "biomejs.biome")

biome.json
settings.json

Repro

  1. Go to existing vue file. reproduce linter issue.
  2. Create empty test.vue file. Copy content.

Linter is dead for this file.

  1. Restart extensions host
    Linter works.

Expected behavior

Linter should work on new created vue files without reload

Does this issue occur when using the CLI directly?

No

Link to a minimal reproduction

No response

Logs


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions