Javascript in a .php file

This topic contains 1 reply, has 2 voices, and was last updated by  support-swapna 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #598257 Reply

    vi.massias
    Participant

    Hello,

    I am using CodeMix as an Eclipse plugin.

    I have some scripts in a .php file and CodeMix does’t color or validate my javascript, it’s really annoying. Is there a way to fix this?

    #598276 Reply

    support-swapna
    Moderator

    vi.massias,

    In our testing we were able to see the JavaScript in PHP colored, but validation and content assist was missing. As far as the coloring is concerned, perhaps there’s something different with the file you’re trying with – do you mind sharing a sample?

    For validation (and content assist) support – CodeMix inherits this functionality from VS Code’s PHP IntelliSense extension (https://github.com/felixfbecker/vscode-php-intellisense) so the additional support needs to be make it to this extension. Note that we tried the alternative PHP IntelliPhense extension too, but that didn’t provide the desired support either. We’ll file a bug against the IntelliSense extension and follow up there, hopefully they will add support for this case.

    Thank you for the report!

    –Swapna
    Genuitec Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Javascript in a .php file