Home Download Buy Blog Forum Support

Feature request: "Forking" file while editing

Feature request: "Forking" file while editing

Postby bf1986 on Sat Sep 22, 2012 6:12 pm

Hi everyone!
Sometimes it would be useful to "fork" the file while editing. For example when you work on a file and you would like to check, i.e. two ways of implementation of some functionality. What you usually do is implementation of first version, then you comment it and implement second version (i.e. to compare speed or something else). This is the situation when file "forking" would be useful. How it should work? Its easy:

1. You open the file (let's name it A)
2. You fork the file (some keyboard shortcut maybe) - you get A1 file. Technically this is the second file buffer (copy) with its own view pointing to the same file on HDD
4. Now you can work on the same file simultaneously creating two separate versions of the file. When you save changes in A, this file will be written to HDD under its original location. When you save A1, the file will overwrite A, but not change anything in view to A.

Please note that this is NOT file cloning, which is now implemented in Sublime. The main difference is that when you clone the file, each change is propagated between clone and original file. Forked file will not propagate the changes between each other.
Posts: 1
Joined: Sat Sep 22, 2012 5:57 pm

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 6 guests