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 attributes should be shown before other attributes

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: v0.27.3
  • VS Code version: 1.49.0

Problem

Custom attributes not showing fully on the top if the tag is in the same line and closed

Reproducible Case

Custom attributes on f-btn are showing fully on top, in this case, the f-btn does not have closing tag yet

image

Custom attributes on f-btn are not showing fully on top, in this case, f-btn has a closing tag and the same line

image

Custom attributes on f-btn are showing again but in a new line and have closing tag

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rchlcommented, Sep 23, 2020

Completion items have a sortText property in LSP spec so I think you could force the order by generating appropriate sortText values @octref

(At least to keep them together)

0reactions
yoyo930021commented, Dec 13, 2020

Fixed #2557

Read more comments on GitHub >

github_iconTop Results From Across the Web

Writing Custom Attributes | Microsoft Learn
The primary steps to properly design custom attribute classes are as follows: Applying the AttributeUsageAttribute. Declaring the attribute ...
Read more >
Defining and Using Custom Attribute Classes in C#
Before you start to consider what you can accomplish with your own custom attribute classes, let's examine some of the standard attributes ......
Read more >
Why should I prepend my custom attributes with "data-"?
I guess one bad thing is that my custom attributes could conflict with HTML attributes with special meanings (e.g., name ), but aside...
Read more >
Custom Attributes in C# - GeeksforGeeks
The way to apply a Custom attribute to any part of the program you must call its constructor before the definition. NewAttribute also...
Read more >
Include custom attributes in your output—ArcGIS Pro
Fields in the attribute table store text extracted from the document before and after the location to provide context and help you evaluate...
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