Skip to content

[Story] Editor hygiene: auto save, .editorconfig and format on save #170

Backlog

Description

@aMonteSl

Part of #163 · P1 · Effort M · Depends on #18 (settings)

User story

As a developer using the Code-XR IDE,
I want files saved and tidied the way my project expects,
so that I do not commit trailing spaces, wrong indentation or forgotten unsaved edits.

Scope

  • Settings: files.autoSave (off / afterDelay / onFocusChange), files.trimTrailingWhitespace, files.insertFinalNewline, editor.formatOnSave.
  • .editorconfig read for the opened file (indent style/size, EOL, charset, final newline, trim), overriding settings as in VS Code.
  • Format Document (Shift+Alt+F) uses Monaco's formatters where they exist and LSP formatters once [Story] Language intelligence through LSP in Monaco #21 lands; nothing is downloaded.

Acceptance criteria

  • With auto save after delay, an edit reaches the disk within the configured delay and the live analysis sees it.
  • A project .editorconfig with indent_size = 2 is respected by new lines and the status bar.
  • Format on save never blocks a save: a failing formatter saves anyway and reports why.

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. added
    tfm
    user-story
    area: ide
    on Nov 26, 2026
  3. added 2 commits that reference this issue on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: idestream: ide-powertfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions