Skip to content

Code actions not displaying #133

@jsheely

Description

@jsheely

This is likely just a me issue but I can't figure out why the code action is not displaying even though it knows there is a lint rule violation

I don't want to auto fix these as I want to handle them manually. Seems like I have something silly miss configured but I can't seem to figure it out.

Lint error identified

Image

No code action

Image

My configuration

 "languages": {
    "TypeScript": {
      // "format_on_save": "on",
      // "formatter": [{ "language_server": { "name": "oxfmt" } }],
      "language_servers": ["tsgo", "oxlint"],
    },
    "TSX": {
      // "format_on_save": "on",
      // "formatter": [{ "language_server": { "name": "oxfmt" } }],
      // "show_completions_on_input": true,
      "language_servers": ["tsgo", "oxlint"],
    },
  },
"lsp": {
    "oxlint": {
      "initialization_options": {
        "settings": {
          "fixKind": "all",
          "run": "onType",
          "typeAware": true,
        },
      },
    },
  }

Any suggestions would be greatly appreciated. This is holding me back from being able to use Zed full time. Simple feature I depend on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions