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.

(EDIT: And when I say attribute, I mean annotation… sorry) In C#, decorating with annotations goes unnoticed by the parser. For instance, in:

[RemotableService]
[TaskDefinition("RightName", 
/*!localizationId*/"RightDescription.",/*!localizationId2*/"LocalRightName")]
public class RemotableExample : IRemotableExample
{
  ...

-the “[RemotableService]” annotation does not get colored at all. In “[TaskDefinition(…]”, the word TaskDefinition gets colored, but not the [. Is there anything to do about that…?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Golmotecommented, Apr 8, 2018

Fixes for #1365 and #1371 seem to have fixed this issue too, so i’m closing it.

0reactions
Golmotecommented, Aug 15, 2015

Regexp are powerful though. The idea here is trying to achieve the best possible result using them. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Variable Attributes (Using the GNU Compiler Collection (GCC))
The keyword __attribute__ allows you to specify special properties of variables, function parameters, or structure, union, and, in C++, class members.
Read more >
Using GNU C __attribute__ - Steve Friedl
This attribute tells the compiler that the function won't ever return, and this can be used to suppress errors about code paths not...
Read more >
Attribute specifier sequence(since C23) - cppreference.com
Introduces implementation-defined attributes for types, objects, ... An attribute can be used almost everywhere in the C program, ...
Read more >
attributes in C++ - GeeksforGeeks
attributes in C++ ... Attributes are one of the key features of modern C++ which allows the programmer to specify additional information to...
Read more >
Attributes in C - open-std.org
Attributes are not an inventive concept in C, as vendors have ... While the syntax may be unfortunate for the C programming language,...
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