Broken syntax highlighting on PHP files.
See original GitHub issuecode-server
version: 1.31.1-100- OS Version: Ubuntu 16.04
Steps to Reproduce
- Create a blank PHP file.
- Start coding by using
if ( isset( $some_variable ) ...
. You’ll notice that the syntax is broken afterisset()
.
Attached to this report you’ll find a screenshot related to this as well. Amazing product anyways 👍 😄
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Broken SQL syntax highlighting in .php files - Sublime Text 4121
SQL syntax is incorrectly highlighted in .php files. Code: <? "UPDATE t SET a = '".func()."' WHERE x = '$php_variable'" ?>.
Read more >Syntax highlighting doesn't work after adding a file ... - YouTrack
The file is created, but PhpStorm doesn't seem to register it as a PHP file and there is no syntax highlighting - it...
Read more >Broken Eclipse syntax highlight behavior for PHP
The initial syntax highlight when opening files looks fine, but after editing a few lines, syntax highlighter fails:.
Read more >PHP highlight in diffs seems to be broken | Bitbucket Cloud - Jira
Separately, we currently don't support syntax highlighting in diffs, but it's something we'd like to add soon. Lynn van der Berg. Added ...
Read more >highlight_file - Manual - PHP
highlight_file — Syntax highlighting of a file ... Many servers are configured to automatically highlight files with a phps extension. ... //Split lines...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Vanilla VSCode does seem to work correctly:
v2 finally fixed this (https://github.com/cdr/code-server/commit/07ec4ca63e5a735315a6cb71f8379556b481924c) by downgrading onigasm https://github.com/NeekSandhu/onigasm/issues/17.