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.

Setting @name changes 'title' AND source.

See original GitHub issue

When using the following:

/// Breakpoint used for small screens with a screen width less than `$bp--mobile-landscape`
$bp--mobile:                          0px    !default; // Mobile Breakpoint.

I get the following output: screenshot of firefoxdeveloperedition 6-5-17 7-26-22 am

However, if I set the @name annotation to “Mobile Breakpoint”, I’d expect the TITLE of the item in generated docs to change, but not the instance of the variable name in the source code:

/// Breakpoint used for small screens with a screen width less than `$bp--mobile-landscape`
/// @name Mobile Breakpoint
$bp--mobile:                          0px    !default; // Mobile Breakpoint.

Result: screenshot of firefoxdeveloperedition 6-5-17 7-27-04 am

Expected behavior: I’d expect that ONLY the ‘friendly title’ displayed above the item to be changed, and not any instances of the variable name inside the source code.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pascalduezcommented, Jun 8, 2017

Agree with you @HugoGiraudel.

But yes, we should probably prevent the annotation from renaming the variable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

22.030 Change or Correction of Registered Owner Name
The registered owner's true full name must be shown on the California Certificate of Title and/or registration card. The certificates and vehicle record ......
Read more >
Rename a data series - Microsoft Support
Right-click the chart with the data series you want to rename, and click Select Data. · In the Select Data Source dialog box,...
Read more >
How to dynamically change a web page's title? - Stack Overflow
This property is provided in the DOM Specification specifically for the purpose of, as the name suggests, changing the title.
Read more >
Help:Moving a page - Meta-Wiki
The subject of the page has changed its name. For instance, a page about a person might be renamed if the person changes...
Read more >
SharePoint Online: How to Change the Site Title (Name) using ...
Go to Site Settings Page >> Click on the “Title, Description, and Logo” link under “Look and Feel”. Enter the new title for...
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