#Qwik plugin for IDEA Ultimate / IDEA Platform.

10 messages · Page 1 of 1 (latest)

junior crater
#

Currently the problem is when I add react integration, then the IDE gets confused and always suggest to use React feature such as className, and warns when using class in Qwik component. And also the autocompletion doesn't work onClick$, etc listeners (before adding react integration it was working)

pure zodiac
#

that's what my guess would be, as that's what provides the autocomplete and types

#
"compilerOptions": {
  "jsx": "react-jsx",
  "jsxImportSource": "@builder.io/qwik"
}
#

you can only have one, this is a limitation regardless of framework unfortunately.

#

You could also add

/** @jsxImportSource react */

in each react component file for the types

#

a bit tedious, but the only way to override

junior crater
#

Yes, I've /** @jsxImportSource react */ at the top of every react components, and so react components has no issues. but Qwik component shows warnings!

#

Qwik Components

#

But React has no issues, IDEA is not warning, autocompletion working perfectly.