Codist icon indicating copy to clipboard operation
Codist copied to clipboard

Codist 8.2 Beta

Open wmjordan opened this issue 1 month ago • 8 comments

Download

Codist 10810

Codist 10791 Codist 10787

What's New

  • Syntax Highlight
    • [x] 🆕 Allow global custom syntax highlight configuration (#380)
    • [x] 🆕 Prefer YAML over JSON as the custom syntax highlight configuration file
  • Symbol Analysis
    • [ ] Toggle buttons on menu items for command options (#383)
  • Others
    • [x] New commands in Build menu to open intermediate folder

wmjordan avatar Dec 03 '25 08:12 wmjordan

Not sure if it is Codist or VS, but on the latest Stable VS (do not try Insiders 11304.161 as it has a bug that prevents loading a solution), Codist no longer underlines (apparently Github markdown does not support underline) code as per the syntax highlighter rules (even though the customize syntax highlight dialog correctly previews the style as being underlined).

fitdev avatar Dec 10 '25 13:12 fitdev

@fitdev Please show me the configuration and code and let me see what's going on.

Codist no longer underlines (apparently Github markdown does not support underline) code as per the syntax highlighter rules

wmjordan avatar Dec 10 '25 13:12 wmjordan

Here:

  extension([MaybeNullWhen(true), NotNullWhen(false)] string? s) {
    /// <summary>
    /// Returns true if <paramref name="s"/> is either <see langword="null"/>, '' empty, or has only whitespace characters.
    /// </summary>
    public bool IsBlank { [DebuggerStepThrough, MethodImpl(Const.OPTIMIZE)] get => string.IsNullOrWhiteSpace(s); }
  }

And it applies to all extension members (methods included) at both call sites and declaration sites.

Image

Config.json.zip

fitdev avatar Dec 10 '25 13:12 fitdev

In fact the underline issue applies to all symbols - not just extension members, as ref structs for which I had it enabled do not show up as underlined too.

fitdev avatar Dec 10 '25 14:12 fitdev

I could not reproduce the problem with your configuration.

Image

wmjordan avatar Dec 11 '25 07:12 wmjordan

Must be some latest VS quirk then. I will see if it still happens once I get back to the normal Insiders version I was using after they issue a fix for its crash on load thing.

On a different topic - a very small feature suggestion:

Could you please support multi-line texts for Wrap Text feature. That is there should be a way to create patterns that span several lines. Perhaps character escapes like \r\n can be used (maybe with a check box as to whether they should be treated literally or as escapes).

fitdev avatar Dec 11 '25 07:12 fitdev

multi-line texts for Wrap Text feature

I have posted a new issue for this request. It is not trivia thing. I will consider how to implement it when I have time.

wmjordan avatar Dec 11 '25 07:12 wmjordan

Must be some latest VS quirk then.

It does seem like it is actually a VS issue with underlines, because I just noticed that their underline reassigned variables feature does not work either. So sorry about submitting it here.

fitdev avatar Dec 11 '25 08:12 fitdev