Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle file change while editing, eg on git checkout #6

Open
bric3 opened this issue Jun 25, 2021 · 0 comments
Open

Handle file change while editing, eg on git checkout #6

bric3 opened this issue Jun 25, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@bric3
Copy link
Owner

bric3 commented Jun 25, 2021

  • If the file is read only, only reload the file.

  • If the editor is dirty, then handle the change. Either

    • save the current editor to a different file, then load the file content
    • ignore file change and overwrite current file
@bric3 bric3 added the enhancement New feature or request label Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant