Skip to content

Behavior differs: file_types vs language selector JSON / JSONC #14709

@matthieusieben

Description

@matthieusieben

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When I open a file, and manually change the type to be JSONC, comments are still causing errors.

Environment

Zed: v0.144.3 (Zed)
OS: macOS 14.5.0
Memory: 36 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Capture d’écran 2024-07-17 à 22 28 31

If applicable, attach your Zed.log file to this issue.

Zed.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:languagesAn umbrella label for all programming languages syntax behaviorsarea:languages/jsonJSON data format supportbugDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions