Skip to content

Feature: Add action to open text files in the default text editor #16636

@Lamparter

Description

@Lamparter

What feature or improvement do you think would benefit Files?

A button to the toolbar should be added to open text files (any file detected as containing standard format text) in the default editor - this could either be a setting or just automatically select the default editor for text on the user's computer (the latter is probably better)
This would allow for easy opening of unidentified files and serves as an indicator to the file's contents. It would make it easier to open text files as some programs may register them (e.g. if I want to edit a Visual Studio Solution file it wouldn't be as easy as double clicking as doing so would open it in Visual Studio instead of a text editor).

Requirements

  • Add helper to detect content of files
  • Add action to automatically open file in default text editor

Files Version

3.8.5.0

Windows Version

10.0.22631.4391

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area - actionsFeatures or bug reports relating to actionsarea - toolbarFeatures or bug reports relating to the toolbar

    Projects

    Status

    📋 Planning stage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions