nandorojo / dripsy

🍷 Responsive, unstyled UI primitives for React Native + Web.
https://dripsy.xyz
MIT License
1.98k stars 77 forks source link

Intellisense not working #274

Closed yepes closed 1 year ago

yepes commented 1 year ago

Hi,

Just trying out dripsy doing some research about which library to use for styling. Dripsy seems to check all my points. Looking at the example on the docs, the intellisense seems like a big selling point. The thing is I tried to install dripsy on an expo project and also created a blank one (with solito and all the stuff) with npx create-solito-app@latest my-dripsy-app but intellisense doesn't seem to work at all. For example, in the app with the create-solito-app command, if i go to: packages/app/features/home/screen.tsx

image

Also tried to:

 types: {
    reactNativeTypesOnly: true // default false
  }

with no difference. Tried with intellij (phpstorm) and also with vsc. Am I missing something?

chris24elias commented 1 year ago

I'm also experiencing the same issue

nandorojo commented 1 year ago

yeah the intellisense stuff has been really difficult to adapt to newer versions of RN / TypeScript. i want to get it fixed up, but I just don’t have the time to dedicate to it right now

yepes commented 1 year ago

I've been taking a look at the source code but the ts types definitions are just too much for my knowledge. As a curios thing, intellisense does not work on intellij (phpstorm) but when i assign a wrong value, the linter complais. Well, is better than nothing.

nandorojo commented 1 year ago

Here's a new umbrella issue for this: https://github.com/nandorojo/dripsy/issues/276