Code-server: [3.0.0] Multiple error regarding files (no icon, no autocomplete, no syntax syntax highlighting)

Created on 4 Mar 2020  Â·  13Comments  Â·  Source: cdr/code-server

Hi,

Thanks for the new release! I was looking forward to it so I promptly upgraded.
I noticed some issues:

  1. The icons next to the files are not displayed anymore in the File Explorer
  2. Autocomplete doesn't work
  3. Auto file type detection doesn't work
  4. Syntax highlighting doesn't work

I disabled all installed extensions.

I'm also getting this error:

[remoteagent] [error] [File Watcher (chokidar)] Inotify limit reached (ENOSPC)

System:

➜  / uname -a
Linux code 4.15.18-18-pve #1 SMP PVE 4.15.18-44 (Wed, 03 Jul 2019 11:19:13 +0200) x86_64 x86_64 x86_64 GNU/Linux
➜  / lsb_release -a  
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

I'm running code-server using:

/root/code-server-3.0.0-linux-x86_64/code-server --auth none --host 0.0.0.0

And accessing code-server via http://ip:8080

Most helpful comment

Awesome. Thank you!

All 13 comments

Do you have any fetching errors in your network tab for the icons? Are you using any icon extensions?

@kylecarbs No and no

PHP files (and JS file, and pretty sure any file at this point) are detected as plain text:
image

Setting it to PHP doesn't activate syntax highlighting

I disabled all my installed extensions just to make sure none of them were causing my problem.

The Language Mode has pretty much all languages missing:
image

Probable cause

It'd appear like I have no built-in extensions whereas my previous one had many (2.1698-vsc1.41.1)

That would be the issue.

Oof super weird. I'll download 3.0.0 and see if I can see the same thing.

Maybe there was some errors in the latest building process that have gone undetected, I'm subscribed to new releases alert so I upgraded right away hehe

Fixing this now, yea that's definitely what happened. Thanks!

Awesome. Thank you!

Looks like a bad cache; rebuilding now.

CI has completed the build. :tada:

Works perfectly. Thanks!

Sorry to let you know here that on 3.0.1 latest I am unable to use any of the features like autocomplete and extensions they fail even html formatting is not working even after installing extensions.

@Abhid14 Please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oonqt picture oonqt  Â·  3Comments

broady picture broady  Â·  3Comments

chrischabot picture chrischabot  Â·  3Comments

nol166 picture nol166  Â·  3Comments

infogulch picture infogulch  Â·  3Comments