The comment does well in providing context and arguments.

Lets go back to the closest thing we have for requirements for this editor…Default CLI Editor - Feature Exploration!. This discussion was based on the current state of windows and was not concerned with UNIX.

Being a simple text editor, it should not hallucinate, it should not add text one did not type, it should not change the text that was typed. If the user typed a tab character, it was because the user wanted a tab character. If you want four spaces then type four spaces.

edit should by default work like the original namesake and not hallucinate or add characters that were not typed or make assumptions.

Where do you draw the line on “smart” features? Tab should not add indent spaces? Encoding or newline mechanisms? Determining EOF newline?

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Depends what it’s for. I think a simple CLI text editor like this probably shouldn’t have any smarts. Obviously an IDE like VSCode or IntelliJ should.

  • Kissaki@programming.devOP
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Given the announcement of edit replacing the old 32-bit MS-DOS edit.com with minimal footprint, I was surprised Microsoft considered multi-platform to even be in-scope.

    I guess, given it’s Rust, it was simple to say “sure, why not”. But this ticket shows that you automatically have to discuss and handle multi-platform questions that arise.

    • Kissaki@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Most of those can be disabled in Visual Studio, though, right?

      I think I may have disabled some of those kinds of conveniences/automatisms.

    • Kissaki@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Metapad is a small, fast and completely free text editor for Windows (95/98/NT/XP/Vista/7) with similar features to Microsoft Notepad but with many extra (and rather useful) features. It was designed to completely replace Notepad since it includes all of Notepad’s features and much, much more.

      Oh, that’s cool, in only 200 kB! It’s a GUI app, though.

  • arisunz@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Honestly, pleasantly surprised that this piece of software exists. I didn’t think that Microsoft’s policy of “shove ‘AI’ into as many places as possible” was compatible with things such as having a functional text editor.

    /s