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

[VSCode] IDE Languages disappeared. #4391

Closed
Shigetorum635 opened this issue Jun 3, 2021 · 22 comments
Closed

[VSCode] IDE Languages disappeared. #4391

Shigetorum635 opened this issue Jun 3, 2021 · 22 comments
Labels
editor: code (browser) type: question reporter has a general question

Comments

@Shigetorum635
Copy link

Shigetorum635 commented Jun 3, 2021

Bug description

Whenever I set VSCode as my preferred IDE, the languages disappear and thus syntax highlighting etc...

  • Languages support disappear and can't be fixed.

This bug causes the IDE to actually not detect any language, I tried checking the VSCode extensions, and it shows that all built-in extensions are installed and running, but when it comes to actual use it does not work.

Since language support is non-existent, the syntax highlighting is also none. As well as autocompletion or code usability.

It all shows as gray text (or default text). And when I try to manually change languages it only shows "Text, Bash" and other two, but not any language I actually need like PHP or JavaScript.

This is a big bug on my side, but I have not seen any complaints anywhere else. So it might be my problem rather than gitpod side.

Video
https://share.wildbook.me/ux2BMJlDSROnb94X.webm

PS: I have tried logging out and logging in, as well as clearing cache, and trying out other workspaces. Same issue.

Steps to reproduce

1.Set IDE to VSCode
2.Open a workspace like Sakusen on gitpod.
2. Experience the lack of any kind of language

Expected behavior

To add syntax highlighting and work as it is intended to.

Example repository

Carlos-Schrodinger/Sakusen

(Current and the one empty within the video)

Anything else?

VSCode worked correctly in the past, even though I had a few issues with autocompletion specially with JavaScript.

I hope this gets fixed soon as I have other issues open with Theia where the extensions dont get installed

Ext: #4377

Check also my other issue regarding usernames:
Username: #4390

Workspace ID: rose-python-lafo455y

@Shigetorum635 Shigetorum635 changed the title [VSCode] IDE Completely unusable. [VSCode] IDE Languages disappeared. Jun 3, 2021
@Shigetorum635
Copy link
Author

image
image

Also git control died on VSCode too.

@akosyakov akosyakov added editor: code (browser) type: bug Something isn't working labels Jun 7, 2021
@akosyakov
Copy link
Member

akosyakov commented Jun 7, 2021

Which browser do you use? Do you still experience it?

@Shigetorum635
Copy link
Author

Which browser do you use? Do you still experience it?

Hello, im using chrome stable release, and yes i do still experience this.

@Shigetorum635
Copy link
Author

Shigetorum635 commented Jun 10, 2021

hello @akosyakov any news? (Sorry if you have a lot of things to do and this might slow down a bit)

@Shigetorum635
Copy link
Author

Some errors
image
image
Cors acting up?

@Shigetorum635
Copy link
Author

log.log
HEre's the full log of my workspace

@akosyakov
Copy link
Member

akosyakov commented Jun 11, 2021

I think it is most likely caused by:

log.ts:284  INFO Error while initializing UI State
log.ts:296   ERR NoRef (UserDataSyncError) syncResource:unknown operationId:78037a21-4032-4de2-864c-a5d7673a4156: Server did not return the ref
    at UserDataSyncStoreClient.read (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:160886:23)
    at async https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:314165:38
    at async Promise.all (index 1)
    at async Object.settled (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:23133:28)
    at async UserDataInitializationService.initialize (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:314156:13)
    at async BrowserMain.initServices (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:399675:17)
    at async Promise.all (index 0)
    at async BrowserMain.open (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:399568:32)
log.ts:284  INFO Error while initializing Settings
log.ts:296   ERR NoRef (UserDataSyncError) syncResource:unknown operationId:a7998ed2-4e5e-4dbd-b5b1-e4f75bed8b23: Server did not return the ref
    at UserDataSyncStoreClient.read (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:160886:23)
    at async https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:314165:38
    at async Promise.all (index 0)
    at async Object.settled (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:23133:28)
    at async UserDataInitializationService.initialize (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:314156:13)
    at async BrowserMain.initServices (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:399675:17)
    at async Promise.all (index 0)
    at async BrowserMain.open (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:399568:32)
userDataSyncStoreService.ts:294 Uncaught (in promise) NoRef (UserDataSyncError) syncResource:unknown operationId:18c2c84c-3968-4d31-af43-5e895e115567: Server did not return the ref
    at UserDataSyncStoreClient.read (https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:160886:23)
    at async https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:314145:38
    at async https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:314118:58
    at async https://amethyst-woodpecker-lsv47oef.ws-eu09.gitpod.io/out/vs/workbench/workbench.web.api.js:417622:17

Something wrond with user data sync for your user. You could try to check sync user data view and maybe reset them. Although it could be a follow up too, hm.

@Shigetorum635
Copy link
Author

Something wrond with user data sync for your user. You could try to check sync user data view and maybe reset them. Although it could be a follow up too, hm.

How do i check this? I'd like to get this as fixed as soon as possible.

@Shigetorum635
Copy link
Author

@akosyakov I did some research and found out gitpod is not getting my token correctly!
image

@Shigetorum635
Copy link
Author

Alsot his when i try to force enable sync
image

@akosyakov
Copy link
Member

Maybe is it related to https://community.gitpod.io/t/incompatible-browser-extensions-for-gitpod/3888? Do you use any browser extensions?

@Shigetorum635
Copy link
Author

Maybe is it related to https://community.gitpod.io/t/incompatible-browser-extensions-for-gitpod/3888? Do you use any browser extensions?
I do share adblock and some extensions, let me disable them and try.

@Shigetorum635
Copy link
Author

I have disabled adblocker, and some other extensions i dont use as well as the wappalyzer (technology viewer) to see what happens.

@Shigetorum635
Copy link
Author

WOAH it sure worked!
image

@Shigetorum635
Copy link
Author

You should add some kind of warning that extensions might break gitpod.

@Shigetorum635
Copy link
Author

thnaks for the advice @akosyakov

@akosyakov
Copy link
Member

@akemishimizu Could you share the name of browser extension? I need to understand it is VS Code issue or in our integration.

@Shigetorum635
Copy link
Author

Shigetorum635 commented Jun 14, 2021

@akemishimizu Could you share the name of browser extension? I need to understand it is VS Code issue or in our integration.

AdblockPlus and Dejavue are the main ones i disabled, but there may be more.

· Wappalyzer
· Nshell
· Tampermonkey
· UrlCleaner

@akosyakov akosyakov removed their assignment Jul 8, 2021
@akosyakov akosyakov removed this from the [backlog] June 2021 milestone Jul 8, 2021
@wyndon
Copy link

wyndon commented Jul 30, 2021

Since @akosyakov asked about extensions :

@akemishimizu Could you share the name of browser extension? I need to understand it is VS Code issue or in our integration.

I'll share my experience.

From my tests, the ClearURLS addon seems to mess up pretty much everything :

  • Plugins (syntax highlighting, Live Share, etc.)
  • Icons (they just aren't there)
  • Preview window (it just does nothing)

I guess the only real issue is plugins, since Live Share, icons, the preview window, etc. are all plugins in some way.

Here's a screenshot after loading the page, with the addon enabled, and the issues aforementioned.

2021-07-30 02_15_55-

And here are the stats of the addon, note that these are only the stats from Gitpod, since I had reset the stats before.

2021-07-30 02_16_29-

Now if I enable the logs on the extension, I can see this (there are more, but the "Rule" part is the same for all) :

2021-07-30 02_30_11-Log from ClearURLs — Mozilla Firefox

I'm not sure if the "Rule" part is relevant, I get it on pretty much every request. That's the only logs I have.

@ghuntley ghuntley added type: question reporter has a general question and removed type: bug Something isn't working labels Jul 30, 2021
@akosyakov
Copy link
Member

Removing etag will affect your experience a lot, you will loose settings and IDE won't be cached.

@izzqz
Copy link

izzqz commented Aug 5, 2021

Now, the only way to fix this, is disabling ETag filtering completely In ClearURLs settings.

This issue is also described in the extension repo https://gitlab.com/KevinRoebert/ClearUrls/-/issues/977

@ghuntley
Copy link
Contributor

Raised https://github.com/gitpod-io/website/pull/874/files to document ClearURLs breaks Gitpod at the moment. If there are additional browser extensions identified please raise a new issue for each one. 🧡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor: code (browser) type: question reporter has a general question
Projects
None yet
Development

No branches or pull requests

5 participants