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.

DevTools Lost Syntax Highlighting for JavaScript

See original GitHub issue

Description

The dev tool (“Sources” tab) lost syntax highlighting for JavaScript.

Steps to Reproduce

  1. Open any website with JavaScript.
  2. Ctrl+Shift+I to open dev tools.
  3. Go to “Sources” tab and Ctrl+P to open any .js file.

Actual result:

No highlighting for JavaScript.

Expected result:

Has highlighting for JavaScript just like Chrome or Firefox.

Reproduces how often:

Always happens after 12:00PM (PST) today (12/12/2019).

Brave version (brave://version info)

Brave 1.1.20 Chromium: 79.0.3945.74 (Official Build) (64-bit)
Revision 99b6d241cf84f7fa7434ae8a59f9e74eb1464280-refs/branch-heads/3945@{#888}
OS Windows 10 OS Version 1803 (Build 17134.1130)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the dev channel? Didn’t try.
  • Can you reproduce this issue with the nightly channel? Didn’t try.

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No.
  • Does the issue resolve itself when disabling Brave Rewards? No.
  • Is the issue reproducible on the latest version of Chrome? No.

Miscellaneous Information:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
bscliftoncommented, Dec 13, 2019

@qingxiang-jia did you go to brave://settings/privacy and enable Remote Debugging? Screen Shot 2019-12-13 at 3 01 47 PM

1reaction
bscliftoncommented, Jan 7, 2020

Issue created to proxy these calls and enable the setting by default: https://github.com/brave/brave-browser/issues/7645

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome dev tools lose syntax highlighting for TypeScript
The issue affects JavaScript extension languages whenever angle brackets and template strings are in the same source file. Flow and TypeScript ...
Read more >
Devtools Lose Syntax Highlighting - Brave Community
Description of the issue: The dev tool (“Sources” tab) lost syntax highlighting for JavaScript. Steps to Reproduce (add as many as necessary): 1 ......
Read more >
Javascript Highlighting Does Not Work - Visual Studio Feedback
And when it is enabled, the Java Scripts syntax highlighting is not working.A temporary solution is to go to the Tools -> Options...
Read more >
No syntax highlighting for JS files - Eclipse
Hi all, I just installed Eclipse 2020-09 (4.17.0), then installed Eclipse Web Developer Tools 3.19 from the Marketplace.
Read more >
Missing PHP syntax highlighting support in devtools ...
The content of the PHP file should have syntax highlighting like JS, HTML, XML, JSON and python files. The dependencies are already loaded ......
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