How configure ide for ignoring php blocks in js files?

Hello.

Please help me.
How configure IDE for ignoring php blocks <?php .... ?> in js files?

Php bllocks now breaking inspection and other fueatures! :-(

Thank you.

Zdenek

1 comment
Comment actions Permalink

Assign .js extension to PHP under Settings | File Types
then, set outer language to JS under Settings | Template data lanugages for these files.

0

Please sign in to leave a comment.