Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env syntax highlight support / PHPStorm support #26

Open
ssipos90 opened this issue Feb 20, 2017 · 8 comments
Open

.env syntax highlight support / PHPStorm support #26

ssipos90 opened this issue Feb 20, 2017 · 8 comments
Assignees

Comments

@ssipos90
Copy link

Hello,

Do you plan on including support for PHPStorm?
It would be nice.

Thanks!

@ashald
Copy link
Owner

ashald commented Feb 22, 2017

What run configurations you would like to be supported in PHPStorm?

@ashald ashald self-assigned this Feb 22, 2017
@JackWH
Copy link

JackWH commented Feb 25, 2017

I don't personally use run configurations within PhpStorm, but it'd just be great to have syntax highlighting available in .env files.

vlucas/phpdotenv is used in several big PHP frameworks (e.g. Laravel).

@ashald
Copy link
Owner

ashald commented Feb 25, 2017

This plugin doesn't provide syntax highlight for .env files. Yet. Although that's a nice idea and I'lll see whether it's something that can be added.

@ashald ashald changed the title PHPStorm support .env syntax highlight support / PHPStorm support Mar 11, 2017
@ssipos90
Copy link
Author

@ashald, the plugin doesn't work on PHPStorm.
I have two use cases, one using Behat for PHPStorm to run acceptance testing and I've wrote a php wrapper to call behat, but that lead to all sorts of issues.
At this point, i have a small sh that sources my .env file and executes the behat through CLI.

@ashald
Copy link
Owner

ashald commented Mar 14, 2017

So if I U understand you right you looking for Behat run configuration support in PhpStorm? OK, I'll take a look!

@natebrunette
Copy link

Additionally:

  • PHPUnit
  • PHP Script
  • PHP HTTP Request

Would be nice!

@alex-kovalchuk
Copy link

Hi,
2018-08-20 23 12 34
Enjoy!

@adelf
Copy link

adelf commented Sep 1, 2018

@alex-kovalchuk .env syntax != .ini syntax
You can install .env files support plugin. It has syntax highlighting starting from 0.7 version.
https://plugins.jetbrains.com/plugin/9525--env-files-support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants