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.

Template color highlighting broke

See original GitHub issue

Describe the bug

Tag highlighting is strange and inconsistent

Expected behavior

opening tags and closing tags should have the same color. No error red should be shown if code is correct.

Screenshots

image

Additional context

worked in v0.900.5, broken in v0.900.6

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:66
  • Comments:46 (18 by maintainers)

github_iconTop GitHub Comments

17reactions
ayazhafizcommented, Jan 24, 2020

Yes.

15reactions
smnbbrvcommented, Jan 24, 2020

In addition to the above, the comment shortcut such as ctrl + / / cmd + / produces a typescript-like comment // ... instead of html-like comment <!-- ... -->

The issue is really annoying and makes the extension instead of being helpful to be absolutely unusable.

My guess: this is somehow related to custom structural directives such as e.g. angular material ones and / or (event) handlers.

Here are the versions

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 8.3.23
Node: 13.6.0
OS: darwin x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.803.23
@angular-devkit/build-angular      0.803.23
@angular-devkit/build-optimizer    0.803.23
@angular-devkit/build-webpack      0.803.23
@angular-devkit/core               8.3.23
@angular-devkit/schematics         8.3.23
@angular/cdk                       8.2.3
@angular/cli                       8.3.23
@angular/flex-layout               8.0.0-beta.27
@angular/material                  8.2.3
@angular/material-moment-adapter   8.2.3
@ngtools/webpack                   8.3.23
@schematics/angular                8.3.23
@schematics/update                 0.803.23
rxjs                               6.5.4
typescript                         3.4.5
webpack                            4.39.2
Read more comments on GitHub >

github_iconTop Results From Across the Web

syntax highlighting for vue templates broke after 16.8 update
Before the update, the html within the <script> tag would be properly highlighted. After the 16.8 update, it's all white. I need this...
Read more >
Syntax highlighting broken in vscode (JS) - Stack Overflow
I'm on a new M1 macbook, and I've tried updating to the latest vscode, switching to vanilla color themes, nothing works, anything else...
Read more >
Syntax Highlighting - GitLab Docs
GitLab provides syntax highlighting on all files through Highlight.js and the Rouge Ruby gem. It attempts to guess what language to use based...
Read more >
Syntax Highlighting and Code Completion not working after ...
As written in the title, Syntax Highlight and Code Completion features are broke down after the theme change.
Read more >
Syntax Highlighting Colorschemes - Atelierbram
Collection of colorschemes for Code Syntax highlighting. ... “DuoTone themes use only 2 hues (7 shades in total). It tones down less important...
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