![]() Diff, Custom Revisions… Opens a temporary buffer with the log of the working copy and presents an input for the user to specify a range of revisions to run the diff command for. The diff_command setting can be used to specify an external diff tool. By default the diff is opened in a new buffer and is shown with syntax highlighting. Diff Generates a diff of all modified files and folders in the working copy between the last commit and the current working copy state. Closing the buffer without saving cancels. Saving the buffer deletes the selected paths. Delete, Interactive… Presents a buffer with all missing paths listed, allowing the user to pick which files and folders to delete. The temporary buffer is automatically closed when the command is run. Custom Command… Opens a temporary buffer with the current working copy status and presents an input for the user to type command line SVN command with arguments. ![]() Saving the buffer commits the selected paths. ![]() Commit… Presents a buffer to the user allowing them to input a commit message and select the paths to commit. Only shown when a path in the working copy is locked. Cleanup Runs the SVN cleanup command for when a working copy gets locked due to incomplete operations. The working copy is switched to the new branch automatically. Branch… Prompts the user to provide a branch name, after which the /trunk/ is copied to /branches/ with the provided name. Saving the buffer adds the selected paths. Add, Interactive… Presents a buffer with all unversioned paths listed, allowing the user to pick which files and folders to add. If you have a large working copy, this make take some time. Working Copy Commands Show Applicable Working Copy Commands Runs the status command on the working copy to determine which commands are current applicable, and then filters the command palette down to show only those commands. See default_checkout_url and default_checkout_folder to change this behavior. With default settings, the user’s last choices will be remembered for next time. Temporary files are automatically removed after 15 seconds.Universal Commands Checkout… The user will be presented with an input to enter the URL to check out from, and then an input to specify the folder to check out into. If FileDiffs has to use temporary files, they are created in your Data/Packages folder (rather than system temp folder) due to privacy concerns for portable Sublime Text installations. ![]() If a file is not saved yet, dirty buffer is used instead of reading from disk. The file_diff_menu command checks for exactly two regions selected, otherwise it doesn't display this command.įile_diff_saved: Shows the diff of the current file or selection(s) and the saved file.įile_diff_file: Shows the diff of the current file or selection(s) and a file that is in the current project.įile_diff_tab: Shows the diff of the current file or selection(s) and an open file (aka a file that has a tab).įile_diff_previous: Shows the diff of the current file or selection(s) and the previous activated file. The rest of the commands do not need to be bound (accessible from the menu):įile_diff_clipboard: Shows the diff of the current file or selection(s) and the clipboard (the clipboard is considered the “new” file unless reverse is True)įile_diff_selections: Shows the diff of the first and second selected regions. If you use the bindings in Example.sublime-keymap, this is bound to ctrl+shift+d.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |