Extension 'php' is not mapped to any language
Opened this issue · 3 comments
It would need to have a PHP Lexer implemented, it doesn't have one. It just have a TypeScript lexer, that is used for *.ts
, *.js
and *.json
files.
But since the syntax of both languages is similar, I take this restriction out and it will try to use the TypeScript lexer as default. Please, update your extension to version 0.0.13 and try again. Maybe you will get some issues with PHP ->
operator that doesn't exist on TypeScript.
I just installed the extension and forgot to read the "readme". I think everything is clear there. You have already explained that the extension only works with * .ts, * .js, and * .json files. I am very interested in this one. I hope this extension will fully support php soon. But thanks for answering my question.
But I already updated to version 0.0.13 that tries to use TypeScript lexer with PHP too. I think it might work. Could you uninstall and install it again to test on this new version?