-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
When using the Find & Replace feature to replace the contents of files, if a file is open in the editor, it will not update to represent the replaced contents. This is an issue because if you then continue to edit the open tab and save your changes, the replaced value is overwritten by the cached copy you continued to edit.
To Reproduce
Steps to reproduce the behavior:
- Open a project and open a file such as a block json file and save it or choose Keep in Tab System
- Copy part of the file, such as the block namespace e.g. "identifier": "my_project:my_block",
- Open the Find & Replace menu. Find the copied string and replace it with something else like "my_project:my_replaced_name" using the Replace All button.
- Go back to your open file in the tab system.
- Observe that the text has not changed. Save the file and re-open it to see that the replacement has been overwritten.
Observed behavior
Open tabs are not updated when the file they are editing is changed by the Find & Replace Feature
Expected behavior
Open tabs are reloaded by the find/replace feature. If there are unsaved changes in the file, it should ask you if you want to overwrite unsaved changes in that file.
Platform (please complete the following information):
- OS: Windows 10
- App Version: 2.7.43
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working