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.

Custom Tag Names Do Not Work

See original GitHub issue

The linked [https://github.com/Microsoft/typescript-styled-plugin#configuration](styled-plugin configuration) says that you can specify custom tag names as follows:

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "typescript-styled-plugin",
        "tags": [
          "styled",
          "css",
          "sty",
         "custom!"
        ]
      }
    ]
  }
} 

Unfortunately, the custom tag names do not get syntax highlighting or completion. Interestingly, they do get hints (.e.g “Shorthand property for setting most background properties at the same place in the style sheet.”).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:11
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
vzaidmancommented, Aug 26, 2020

+1

1reaction
mlukac-becommented, Sep 8, 2020

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Tag Names Unresolved?
Nope, no imports are needed. My wild guess is that the tag name classes are not found in your project. Could you check...
Read more >
Custom Tag Not Found - WordPress.org
Hello,. I'm trying to track down a strange issue across multiple plugins… TL;DR Is there any reason why a new instance of WPCF7_Validation()...
Read more >
css - Custom tags... why not? - Stack Overflow
Use custom tags when there are important elements that have more meaning than <div> and there is no existing HTML 4/5 equivalent. This...
Read more >
outbound rules for custom tags with data-* attributes not working
As a workaround, you can try changing your custom tag name as "datasrc" and "dataimg" without "-" characters. It should work for you....
Read more >
Custom tags - Tag Manager Help - Google Support
If you need to implement a tag that is not yet supported natively by Tag Manager, you can use a custom image, HTML,...
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