Phpinsights: Test individual file

Created on 30 May 2019  路  6Comments  路  Source: nunomaduro/phpinsights

| Q | A
| ---------------- | -----
| Bug report? | no
| Feature request? | yes

It would be great to get insights for individual PHP files; that way we can make improvements one file at a time.

enhancement

Most helpful comment

@erwinw Thanks for proposing this idea.

It'll be available in the next release :wink:

All 6 comments

We should at the same time add support for specifying a directory to analyze, so I can analyze a directory of files alone.

@erwinw Thanks for proposing this idea.

It'll be available in the next release :wink:

Just to leave the thought here: this also starts opening the way to say a VSCode extension! #exciting

Never used a VSCode extension, can you give me some examples? @erwinw

Because of this you should also be able to set it up as an external tool in PHPStorm ;)

Vscode extensions add whatever functionality you want to the editor; for JavaScript I鈥檓 using an Eslint extension which inline with the code indicates syntax and style problems, as well as providing a summary of problems. Phpinsights would be perfect for that - it would be so good to immediately get feedback while coding! (And just for the record, I think Phpinsights is a great idea; it can be overwhelming to attempt to clean up a large code base but doing this file by file can make all the difference.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

szepeviktor picture szepeviktor  路  3Comments

michaelnguyen547 picture michaelnguyen547  路  6Comments

brunocfalcao picture brunocfalcao  路  5Comments

nunomaduro picture nunomaduro  路  5Comments

ijpatricio picture ijpatricio  路  3Comments