We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0b63b8 commit d5a6750Copy full SHA for d5a6750
advanced_new_file/commands/move_file_command.py
@@ -123,6 +123,11 @@ def get_status_prefix(self):
123
def get_default_root_setting(self):
124
return RENAME_FILE_DEFAULT_ROOT_SETTING
125
126
+ def generate_initial_path(self):
127
+ file_path = self.window.active_view().file_name()[1:]
128
+ base, _ = self.split_path(file_path)
129
+ return file_path[len(base):]
130
+
131
132
class AdvancedNewFileMoveAtCommand(sublime_plugin.WindowCommand):
133
def run(self, files):
0 commit comments