Skip to content

Customize Scheme - Call External Program For Formatting #1790

@xul8tr

Description

@xul8tr

I saw that you have ruled that code formatting is not in scope for Notepad3 because there are programs specifically meant for it that do a better job.

Inside the "Customize Schemas" would it be possible to add 2 fields:

  1. [TextField] Path to External Formatter
    Example: C:\Notepad3\AStyle.exe

  2. [TextField] External Formatter Parameters
    Example: --style=allman %file%

%file% would actually link to a saved temp version of the current document which after the formatter process has exited Notepad3 would read the contents and replace the current file contents with the contents from the formatted temp file.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions