question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken syntax highlighting on PHP files.

See original GitHub issue
  • code-server version: 1.31.1-100
  • OS Version: Ubuntu 16.04

Steps to Reproduce

  1. Create a blank PHP file.
  2. Start coding by using if ( isset( $some_variable ) ... . You’ll notice that the syntax is broken after isset().

Attached to this report you’ll find a screenshot related to this as well. Amazing product anyways 👍 😄 screenshot from 2019-03-07 22-16-16

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
NGTmeatycommented, Mar 8, 2019

Vanilla VSCode does seem to work correctly:

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found