-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Codist 8.0 Beta #334
Comments
Discovered a small issue with Super Quick Info. When a type implements a static method with generic type parameters, hovering over the implementation does not list the corresponding Interface and Interface's static abstract member being implemented: interface ISomething<This, TNum> where This : ISomething<This, TNum> where TNum : unmanaged, INumber<TNum> {
static abstract This CreateFromOtherNumber<TNumOther>(TNumOther a, TNumOther b) where TNumOther : unmanaged, INumber<TNumOther>;
}
struct Something : ISomething<Something, int> {
// Hovering over CreateFromOtherNumber member does NOT show that it is an implementation of ISomething<This, TNum>.CreateFromOtherNumber
public static Something CreateFromOtherNumber<TNumOther>(TNumOther a, TNumOther b) where TNumOther : unmanaged, INumber<TNumOther> => default;
} |
@fitdev |
Sorry that was a typo, it should have been |
The code was still wrong.
|
I have corrected the code above, I replaced interface ISomething<This, TNum> where This : ISomething<This, TNum> where TNum : unmanaged, INumber<TNum> {
static abstract This CreateFromOtherNumber<TNumOther>(TNumOther a, TNumOther b) where TNumOther : unmanaged, INumber<TNumOther>;
}
struct Something : ISomething<Something, int> {
// Hovering over CreateFromOtherNumber member does NOT show that it is an implementation of ISomething<This, TNum>.CreateFromOtherNumber
public static Something CreateFromOtherNumber<TNumOther>(TNumOther a, TNumOther b) where TNumOther : unmanaged, INumber<TNumOther> => default;
} |
@fitdev |
@tranbinhnghia |
Thank you, I have downloaded the file. |
Thank you for a quick fix! Works great! |
@fitdev |
There is a new beta version which supports highlighting the output window pane. To make it work, please see the Wiki page. |
The missing interface member implementation mention in the Super Quick Info now displays correctly. Thank you for the fix! I will let you know if I encounter any issues. |
Just wondering... |
@fitdev Once it is used, the support to previous VS version (2017 and 2019) will be probably broken. Since I still have VS 2017 installed on my computer and I have not yet find a must-have usage of the new API, I will keep an eye on it, but stick to the old one unless there is enough motivation for me to move to the new onw. |
Thought I would report this just in case... Syntax highlighting of indexers seems to not work correctly in VS 17.13 P1: In the first one, only the wrapped portion of a line gets proper highlighting. In the second one nothing is properly highlighted (note the braces, as well as member names). Also in my style |
Please download the new beta (10052) which has fixed the issue of index highlight introduced in the previous beta. |
Thank you! Yes the new beta has fixed it! |
BTW: Are there plans to support NaviBar in split document views (right now only one of the split document views is properly reflected in the NaviBar, when switching to another split view NaviBar rmeains unchanged even though the cursor there is in a different type/member)? |
This is a very early stage of the new version of Codist 8.
Download
Codist 10052
Codist 10033
Codist 10003
Codist 9988
Codist 9978
Codist 9961
What's New
This new feature can turn markdown document into an HTML document, or perform XSLT against the XHTML document generated from a markdown document
<code>
and<hr>
in C# XML Doc ([Feature] Quick Info 给 xml <code><example> 代码提供语法着色和外框 #326)The text was updated successfully, but these errors were encountered: