zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.54k stars 3.03k forks source link

Keeps installing the HMTL extension #16703

Open notorand-it opened 2 months ago

notorand-it commented 2 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I see the HTML extension kepps being installed despite I remove it.

Environment

Zed: v0.149.5 (Zed) OS: Linux Wayland arch unknown Memory: 23.3 GiB Architecture: x86_64 GPU: Intel(R) Xe Graphics (TGL GT2) || Intel open-source Mesa driver || Mesa 24.1.6-arch1.1

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


maxdeviant commented 2 months ago

The HTML extension is auto-installed by default:

https://github.com/zed-industries/zed/blob/4ddf2cbb9f8a7ea49226a95bf4a35445ebc8ada3/assets/settings/default.json#L735-L741

To prevent it from being auto-installed you can add this to your settings:

{
  "auto_install_extensions": {
    "html": false
  }
}

Then you can uninstall the extension.

notorand-it commented 2 months ago

I, for one, think that no extension should be installed by default. Otherwise it is not an extension but a feature.