seongjaelee / nvatom

nvatom (unpublished from atom.io)
MIT License
75 stars 14 forks source link

Renaming note duplicates note instead of renaming #37

Closed ghost closed 8 years ago

ghost commented 9 years ago

When nvatom is enabled, right-clicking and renaming a note duplicates the existing note and the new note is given the name that you enter into the rename popup field. So you still have the old note, and an exact copy of the old note with the new name.

When nvatom is disabled, right-clicking and renaming a note just renames the existing note.

I think it's related to this bug maybe? https://github.com/atom/atom/issues/3113 or https://github.com/atom/tree-view/issues/72 or https://github.com/atom/tree-view/issues/123

Using Atom 1.0.19 and nvatom 0.9.3

More information here and here

ghost commented 8 years ago

This is still occurring in Atom 1.2

It only occurs with .md files when nvatom is active. When you try to rename a note by right-clicking in the tree-view, the old note is not cleared away, leaving you with 2 notes, one with the old name, and one with the new name. Requiring you to manually remove the old note.

Renaming a file from file.txt to file.md does not trigger this bug, the bug only occurs when filetype is nvatom Github Markdown

ghost commented 8 years ago

I'm closing because I think I might have been causing this bug myself.