Mob programming with remote teams poses a challenge for switching drivers. It can take time to restore the editor state from one driver to the next. This can cause frustration and interupt the flow state of the mob. One option is to have all participants remotely control a machine, but this poses many problems of its own, including input delay. This VSCode extension inserts itself into the mobbing workflow of using git to commit, push and pull code. It adds a button to save the current IDE state into the git commit message. The next driver can then run a command within the extension to restore their editor to the state of the previous driver based on the commit message, including opening files and restoring cursor positions. This saves time, reduces frustration and keeps the mob in a flow state.
Prefix your branch with the JIRA ticket number (eg. SO-1001-Remove-Whitespace) for it to be parsed into the commit message.
Click the "MOB" button on the source control pane to populate the commit message with the files you have changed recently. Your commit message will be retained.
When it is your turn to drive, execute a git pull and then run "[MOB] Log Parse" from the actions pane to open the files in the last commits message to the specified line numbers.