Skip to content

Guess indentation for new files in a project #76

@vishesh

Description

@vishesh

Currently, if we create a new file, dtrt will fallback to global default for that language. However, we can potentially do better by looking if we are in project-mode or projectile-mode and then looking at other files in that project (or dtrt can just save the indent settings for projects whenever other files were opened). If we are not in a project, then we can fallback to global mode.

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