Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(csharp) Declaration for generic functions does not highlight #2596

Closed
djoyman opened this issue Jun 8, 2020 · 6 comments
Closed

(csharp) Declaration for generic functions does not highlight #2596

djoyman opened this issue Jun 8, 2020 · 6 comments
Labels
bug help welcome Could use help from community language

Comments

@djoyman
Copy link

djoyman commented Jun 8, 2020

Describe the issue
Declaration for generic methods does not highlight

Which language seems to have the issue?
C#

Are you using highlight or highlightAuto?
highlight

Sample Code to Reproduce


  ObjectType FindObject<ObjectType>(
    Criteria criteria
  )

Expected behavior
highlight like visual studio
image

@djoyman djoyman added bug help welcome Could use help from community language labels Jun 8, 2020
@joshgoebel
Copy link
Member

And how are we currently highlighting the same code?

@djoyman
Copy link
Author

djoyman commented Jun 8, 2020

This code is not highlighted at all:

image

@joshgoebel
Copy link
Member

Yeah, I don't think templates are supported in function declarations right now at all.

@joshgoebel joshgoebel changed the title (C#) Declaration for generic methods does not highlight (sharp) Declaration for generic functions does not highlight Jun 8, 2020
@joshgoebel joshgoebel changed the title (sharp) Declaration for generic functions does not highlight (csharp) Declaration for generic functions does not highlight Jun 8, 2020
@joshgoebel
Copy link
Member

@djoyman Any chance you want to take a try at making a PR?

@djoyman
Copy link
Author

djoyman commented Jun 10, 2020

Not now, maybe later. If I am going to fix, I will write

@joshgoebel
Copy link
Member

Closing per #2599. @djoyman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help welcome Could use help from community language
Projects
None yet
Development

No branches or pull requests

2 participants