Skip to content
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

Error: Unknown view gitlens.views.fileHistory:gitlens #711

Closed
scambier opened this issue Apr 12, 2019 · 7 comments
Closed

Error: Unknown view gitlens.views.fileHistory:gitlens #711

scambier opened this issue Apr 12, 2019 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@scambier
Copy link

  • GitLens Version: 9.6.0
  • VSCode Version: 1.33.0
  • OS Version: Windows 7 64bits

Steps to Reproduce:

  1. Execute the "GitLens: Show File History" or "GitLens: Show File History View" command
  2. The file history view does not show, and an error message pops in the output:
[2019-04-12 05:56:23:297] e.isVisible
Error: Unknown view gitlens.views.fileHistory:gitlens

I tried reinstalling the extension (and even deleting the files in the .vscode/extensions folder), but the problem is still present.

Here's a screenshot of my sidebar:

image

@eamodio
Copy link
Member

eamodio commented Apr 12, 2019

This sounds like the same issue as #710. Unfortunately I can't reproduce either of these. Can you try again with vscode 1.33.1 to see if it makes any difference?

@eamodio eamodio added needs-more-info Needs further information, steps, details, etc. type: potential bug labels Apr 12, 2019
@scambier
Copy link
Author

scambier commented Apr 12, 2019

I tried with the following VSCode versions (in that order) :

  • Upgrade to 1.33.1: not working
  • Downgrade to 1.32.3: not working
  • Downgrade to 1.31.1 : not working
  • Downgrade to 1.28.2: working
  • Upgrade to 1.29.1: not working

I uninstalled and reinstalled the extension each time I changed VSCode version

@eamodio
Copy link
Member

eamodio commented Apr 16, 2019

@scambier I think I have figured out the issue -- do you have gitlens.views.fileHistory.enabled set to false in your vscode configuration? If so, that explains the issue, since GitLens doesn't even register the view if it is disabled. I will make a change in the next version to instead prompt you to enable the view in this case.

@eamodio eamodio added this to the Soon™ milestone Apr 17, 2019
@eamodio eamodio closed this as completed Apr 17, 2019
@scambier
Copy link
Author

Indeed, that was the issue, even though I don't remember disabling it.

@eamodio eamodio added bug Something isn't working and removed needs-more-info Needs further information, steps, details, etc. type: potential bug labels Apr 18, 2019
@eamodio eamodio self-assigned this Apr 18, 2019
@eamodio eamodio removed this from the Soon™ milestone Jul 19, 2019
@musahaidari
Copy link

@scambier I think I have figured out the issue -- do you have gitlens.views.fileHistory.enabled set to false in your vscode configuration? If so, that explains the issue, since GitLens doesn't even register the view if it is disabled. I will make a change in the next version to instead prompt you to enable the view in this case.

@eamodio Can you share how did you do it? Sorry if it is a naive questions

@scambier
Copy link
Author

scambier commented Feb 4, 2020

@musahaidari F1 > "Open User/Workspace Settings"

Click on the "json" icon to have a raw view
image

Then locate the setting and either change its value or delete the line.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants