#Intellij issues

8 messages · Page 1 of 1 (latest)

tame hatch
#

Hi, im new to astro, but already love it. Im facing some issues that i dont know how to fix.

  1. Import highlight - on screen 1. Why its red? how can it be solved?
  2. Language server - i tried to fix that imports, and all guides talking about Settings -> Language & Frameworks -> Typescript - Astro, but i dont have Astro there screen 2, question why?

May it be cause im using wsl, and node along with pnpm installed trough wsl. Or its something else?

#

I have installed @astrojs/language-server as dev dep, didnt helped.
I have plugin Astro installed, in case some one asks.

tame hatch
#

Intellij issues

slim jetty
#

Hi. I looked into this a bit, the IntelliJ Astro Extension is known to be problematic. Judging by this discussion it seems they're working on it. If this is a WSL project, that could be an issue? I'm not sure how IntelliJ handles those.

tame hatch
#

Might it be cause of pnpm usage? specially for lucide/astro, that ide do not see packet cause there is only link to packet?

slim jetty
#

You can definitely try to switch to npm for a second by just deleting node_modules and running npm i to give it a shot

tame hatch
#

didnt helped

slim jetty
#

Then that might be related to WSL, have you tried setting up a project just on windows?