csharpdeeb25a2 | 1 | #nullable enable |
| 2 | |
| 3 | namespace CascadeIDE.Features.Chat; |
| 4 | |
| 5 | /// <param name="InsertArg">Аргумент для <c>/anchor peek</c> (№ якоря 1…N или префикс hex).</param> |
| 6 | /// <param name="Label">Строка в popup: № + подпись.</param> |
| 7 | /// <param name="Help">Доп. метаданные (a:id, resolve status).</param> |
| 8 | public sealed record MessageAnchorSlashMatch(string InsertArg, string Label, string Help); |
| 9 | |
| 10 | /// <summary>Якоря выбранного сообщения для <see cref="SlashCompletionKind.MessageAnchors"/>.</summary> |
| 11 | public interface IMessageAnchorSlashCompletionProvider |
| 12 | { |
| 13 | IReadOnlyList<MessageAnchorSlashMatch> GetMatches(string ordinalOrIdPrefix, int limit); |
| 14 | } |
| 15 | |
View only · write via MCP/CIDE