Sublime Forum

New view into file via plugin?

#1

open_file(file_name, ):Opens the named file, and returns the corresponding view.** If the file is already opened, it will be brought to the front. **

Is there any way that behavior can be configured with a flag? If the file is already opened, I would like my plugin to be able to open the current file in a separate view and move that view to a different group, so that it is visible from two separate views.

0 Likes

#2

self.window.run_command(“clone_file”)

0 Likes

#3

Thanks. Is there documentation available on clone_file?

0 Likes