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.

Inline annotation doesn't work if backticks are used

See original GitHub issue

If you use single or double quotes to define the key to translate like $t('FOO') or $t("FOO") it will show the inline translation correctly imagen

but if backticks are used $t(`FOO`) then it doesn’t work

imagen

Normally this wouldn’t be a issue because everyone use the quotes, but in my case I forgot about them after placing a variable inside the string and then removing that variable, leaving the string with backticks.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
antfucommented, Jun 18, 2019

Thank you for the help 😁

2reactions
antfucommented, Jun 18, 2019

Fixed 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inline annotation doesn't work if backticks are used #27 - GitHub
If you use single or double quotes to define the key to translate like $t('FOO') or $t("FOO") it will show the inline translation...
Read more >
Insert an Inline Code with Back Tics do not work in Medium.com
Start writing after pressing key. On U.S. Keyboard: To enter into inline code block: [Single backtick].
Read more >
How do I include backtick ( ` ) characters inside of an inline ...
When I try to write it in inline form via backtick characters it gets corrupted like so: $sql="SELECT * FROM my-table LIMIT 1";....
Read more >
MS Teams latest update code snippet shortcut gone
Hey, I have noticed in the latest team update you cannot do 3 backticks ``` anymore as a shortcut for a code snippet...
Read more >
Coding conventions | Kotlin
If the classes are intended to be used externally and aren't referenced ... you can use method names with spaces enclosed in backticks....
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