Open karlhorky opened 2 weeks ago
MDX VS Code Extension v1.8.9
No response
As noted in https://github.com/mdx-js/mdx-analyzer/issues/451#issuecomment-2196432076, the IntelliSense entries for auto-import of React components in .tsx files (auto-import in an .mdx file) are missing.
.tsx
.mdx
unifiedjs.vscode-mdx@1.8.9
viijay-kr.react-ts-css@3.2.0
app/message.mdx
ZoomImage
Version: 1.91.0-insider Commit: aea213b7fcc7de5c24ad797ac1af209b159d451f Date: 2024-06-28T06:02:58.030Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 23.5.0
Repo: https://github.com/karlhorky/repro-mdx-analyzer-missing-auto-import-intellisense
https://github.com/mdx-js/mdx-analyzer/assets/1935696/9dc9fded-14a3-490f-a94e-416c16fa2d0a
Node v20
macOS
Next.js
I am getting a similar issue with the VSCode Intellicode extension turning off all hints from this extension
Initial checklist
Affected packages and versions
MDX VS Code Extension v1.8.9
Link to runnable example
No response
Steps to reproduce
As noted in https://github.com/mdx-js/mdx-analyzer/issues/451#issuecomment-2196432076, the IntelliSense entries for auto-import of React components in
.tsx
files (auto-import in an.mdx
file) are missing.unifiedjs.vscode-mdx@1.8.9
andviijay-kr.react-ts-css@3.2.0
(both enabled)app/message.mdx
, move the cursor to the endZoomImage
and trigger IntelliSense with ctrl-spaceviijay-kr.react-ts-css@3.2.0
ZoomImage
and trigger IntelliSense with ctrl-spaceRepo: https://github.com/karlhorky/repro-mdx-analyzer-missing-auto-import-intellisense
https://github.com/mdx-js/mdx-analyzer/assets/1935696/9dc9fded-14a3-490f-a94e-416c16fa2d0a
Expected behavior
ZoomImage
when onlyunifiedjs.vscode-mdx@1.8.9
installedviijay-kr.react-ts-css@3.2.0
enabled)Actual behavior
ZoomImage
when onlyunifiedjs.vscode-mdx@1.8.9
installedviijay-kr.react-ts-css@3.2.0
enabled) selecting the entry adds the new import to the bottom of the codeRuntime
Node v20
Package manager
No response
OS
macOS
Build and bundle tools
Next.js
Potentially Related