[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup;
From: |
Mekeor Melire |
Subject: |
bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc |
Date: |
Sun, 09 Apr 2023 22:14:28 +0000 |
2023-04-08 22:12 joaotavora@gmail.com:
Ok, i took it out, because I didn't find any server that used
it. [...] Does your TS server use it?
For the record: Yes, typescript-language-server uses
ParameterInformation documentation. You can use this this source
code to check it out. Just move the cursor to the first
"undefined".
#+begin_src typescript
/**
,* Returns the average of two numbers.
,*
,* @param x - The first input number
,* @param y - The second input number
,* @returns The arithmetic mean of `x` and `y`
,*
,* @beta
,*/
function getAverage(x: number, y: number): number {
return (x + y) / 2.0;
}
getAverage(undefined as number, undefined as number);
#+end_src
The value of this parameter's documentation will be:
#+begin_src emacs-lisp
(:kind "markdown" :value "- The first input number")
#+end_src
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, (continued)
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, João Távora, 2023/04/08
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, João Távora, 2023/04/08
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, Mekeor Melire, 2023/04/09
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, João Távora, 2023/04/10
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, Mekeor Melire, 2023/04/10
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, João Távora, 2023/04/11
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, Mekeor Melire, 2023/04/11
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, João Távora, 2023/04/11
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, João Távora, 2023/04/11
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc, Eli Zaretskii, 2023/04/11
- bug#62687: [PATCH] Eglot: eglot--sig-info: Show SigInfo Docs if Markup; fix regex for highlighting; etc,
Mekeor Melire <=