I have VS Community 2019 installed. After a reboot, I have the the.gitconfig file opening in Notepad. I want to make VS 2019 my default Git editor and thought I could do this after installing Git. I tried setting the environment variable path (and rebooting) to:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd
but it didn't work.
During the Git install process I did not see VS 2019 Community as an option. Does anyone know how to do this?
I don't think it is possible to use Visual Studio as the git editor.
You can't even find documentation on the subject because I think it is a bad idea so that perhaps explained why no one tried it...
To be a good git editor, an editor must:
It is recommended to use another lightweight editor: notepad++, Visual Studio Code, ... Some of them even proposing syntax coloring for git file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.