Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Autocompletion is working in TS 4.7 to 4.9 but broken/gone in TS 5 #53475

Copy link
Copy link
@jgoux

Description

@jgoux
Issue body actions

Bug Report

🔎 Search Terms

autocompletion

🕗 Version & Regression Information

  • This changed between versions ^4.7.0 and ^5
  • I was unable to test this on prior versions because some type features such as string literal manipulation are not available before 4.7

⏯ Playground Link

Playground link with relevant code

💻 Code

Please go to the end of the code and try the defineConfig function:

defineConfig({
  exclude: {
    data: ["<cursor here, ctrl+space>"],
    structure: {
      schemas: ["secret", "<cursor here, ctrl+space>"],
      tables: ["<cursor here, ctrl+space>"]
    }
  }
})

🙁 Actual behavior

Between TS 4.7 and 4.9, we have autocompletion available for all array values under the exclude key
At TS 5 and above (I tried nightly as well), the autocompletion is gone

🙂 Expected behavior

The autocompletion should work the same as with TS 4.7 and 4.9

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.