Skip to content

Not able to select VSCore as default editor #1801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
ft-uk-buildbot opened this issue Aug 24, 2018 · 3 comments
Closed
1 task done

Not able to select VSCore as default editor #1801

ft-uk-buildbot opened this issue Aug 24, 2018 · 3 comments

Comments

@ft-uk-buildbot
Copy link

ft-uk-buildbot commented Aug 24, 2018

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?

Note I am attempting to install: git for windows 2.18.0 x64
I already have the following version installed prior to running this installer:

$ git --version --build-options

git version 2.12.2.windows.2
built from commit: 7723f38cfb0e80f010afaebdd9fec4d0822fd2e1
sizeof-long: 4
machine: x86_64
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.17134.228]
  • What options did you set as part of the installation? Or did you choose the
    defaults?

I am not able to complete the install, because I can't select VSCode as my default editor despite it being installed.

Details

During installation, I see this:

image

Note: it doesn't matter whether I select VSCode or the VSCode insider, the "Next" button is never enabled. If I switch to other editors such as "Nano" then I can proceed.

Visual Studio Code is installed on my machine.

The shortcut to launch VS Code is at:

C:\Users\darrell.tunnell\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Visual Studio Code\Visual Studio Code

The exe is at:

"C:\Users\darrell.tunnell\AppData\Local\Programs\Microsoft VS Code\Code.exe"

@shiftkey
Copy link

Duplicate of #1795

@shiftkey shiftkey marked this as a duplicate of #1795 Aug 24, 2018
@ft-uk-buildbot
Copy link
Author

@shiftkey - are you sure this is a duplicate? I read #1795 but that issue seemed to suggest that they were able to complete the installation, but afterwards, checked the gitconfig and VS code wasn't set as the default. In my case, I can't even select it during the installation - it's like the detection of VSCode doesn't work in the installer.

@shiftkey
Copy link

@ft-uk-buildbot they're both the same root cause - VSCode changed the default installation to a user-scoped installation, which affects how apps detect it is present. #1741 also seems similar to your situation, and it has more details about the underlying issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants