Skip to content

Auto-import IntelliSense of React components missing #516

@karlhorky

Description

@karlhorky

Continuation of #452


Initial checklist

Affected package

MDX VS Code Extension v1.8.16

Steps to reproduce

The IntelliSense entries for component names after < in .mdx files (attempting to import React components from .tsx files) are missing (No suggestions. shows up):

Image

Inside curly brackets, the IntelliSense auto-import entries appear:

Image

Repo: https://github.com/karlhorky/repro-mdx-analyzer-missing-auto-import-intellisense

Actual behavior

Zero entries in the IntelliSense for ZoomImage

Expected behavior

One entry in the IntelliSense for ZoomImage

Runtime

Node v22.18.0

Package manager

No response

Operating system

macOS Sequoia 15.6.1 (24G90)

Build and bundle tools

Next.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    🤞 phase/openPost is being triaged manually

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions