- 1 year ago
How to setup WebStorm IDE as Git core default editor in Windows?
Comment
1 / 1
To set WebStorm as the Git core default editor on Windows, you need to perform the following steps:
Open the Git Bash console.
Type the following command to set the Git global configuration to use WebStorm as the default editor:
arduinogit config --global core.editor "'C:/Program Files/JetBrains/WebStorm 2021.1.1/bin/webstorm64.exe' -w"
Note that you should replace "C:/Program Files/JetBrains/WebStorm 2021.1.1" with the actual path to your WebStorm installation directory.
- Verify that the Git global configuration has been updated correctly by running the following command:
luagit config --global core.editor
This should output the path to the WebStorm executable, which confirms that it has been set as the default editor.
- Test the configuration by running the following command to open the Git commit message editor:
sqlgit commit
This should launch WebStorm as the default editor for Git commits.
That's it! Now you should be able to use WebStorm as the default Git core editor on Windows.