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

Improve language service display for C# #2418

Open
brettfo opened this issue Nov 2, 2022 · 0 comments
Open

Improve language service display for C# #2418

brettfo opened this issue Nov 2, 2022 · 0 comments
Labels
Area-C# Specific to C# Area-Language Services IntelliSense, LSP, and related Area-Polyglot Notebooks Extension enhancement New feature or request

Comments

@brettfo
Copy link
Member

brettfo commented Nov 2, 2022

VS Code expects markdown for things like hover, signature help, etc., but in C# we generate very poor markdown.

E.g., consider this C# code:

/// <summary>Add two numbers together</summary>
int Add(int a, int b)
{
    return a + b;
}

The markdown we generate is this:

int Add(int a, int b)

> Add two numbers together

Which means the display looks terrible:

image

We should instead generate something like this (raw):

``` csharp
int Add(int a, b)
```

Add two numbers together

This will give us something much nicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-C# Specific to C# Area-Language Services IntelliSense, LSP, and related Area-Polyglot Notebooks Extension enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant