Skip to content

Sublime Text 3 - How to default to Text filetype #9

@bkgrrl00

Description

@bkgrrl00

I am using SublimeText 3 and I would like new files to be created in plain text format (i.e. default to a .TXT extension when they are saved).

I followed the instructions I found here.

I created a new file called "default_file_type.sublime-settings" and placed it in the "Packages/User" directory. The file had the following content:

{ "default_new_file_syntax": "Packages/Text/Plain_text.tmLanguage",
"use_current_file_syntax": false }

I also unzipped the "Text.sublime-package" file, created a new directory called "Text", and renamed the "Packages/Text/Plain text.tmLanguage" file to "Packages/Text/Plain_text.tmLanguage"

When I open SublimeText, I get an error:
Error loading syntax file "Packages/Text/Plain_text.tmLanguage": Unable to load Packages/Text/Plain_text.tmLanguage

When I save a new file, it does not save in .TXT format.

Where did I go wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions