Install .env files support plugin in your PhpStorm https://plugins.jetbrains.com/plugin/9525--env-files-support , after installing check by commenting in your.env file
if that plugin is not available then try searching by typing dotenv.