Skip to content

txt files shouldn't give failed beautify popup #3103

Description

@tegirvaru

Describe the bug

when i click save (ctrl+s), i have beautify automatically on. but if i'm in a text file, it says syntax error. shouldn't it know by the extension ".txt" that it isn't beautifyable as code? it should ignore that file.

Image

Reproduction

No response

Expected behavior

No response

OS, Browser and Phoenix versions

windows 11 (🤮)
laptop
Release 5.2 build 5.2.5-23290
Phoenix Pro Build: 5886d20

logs or debug stack trace if any

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions