Skip to content

🐞 File renamer appends . to .gitignore file #1966

Description

@Jeehut

Description

I wanted to add a .gitignore file to my project and while renaming, there was some unwanted "magic" behavior that added a file extension to my file in the rename text field, namely a . at the end which caused the text edit contents to read .gitignore.. There should be no magic behavior in renaming whatsoever since this is a developer tool, not a consumer one.

To Reproduce

  1. Open a project without a .gitignore file
  2. Choose "New file" in the context menu
  3. Enter .gitignore

Expected Behavior

I can read what I typed, without any magic behavior adding a ..

Version Information

CodeEdit: 0.3.3-alpha (44)
macOS: 15.1
Xcode: 16.2

Additional Context

No response

Screenshots

Screenshot 2025-01-10 at 08 48 32

Note also the untitled. which has a weird ., too.

Activity

  1. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton Jan 13, 2025
  2. moved this from 📋 Todo to 🏁 Complete in CodeEdit Projecton Jan 16, 2025
  3. added a commit that references this issue on Jan 16, 2025
    c887249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions