We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac218a commit 59ef925Copy full SHA for 59ef925
src/QuickInfo/Processors/AreaCodes.cs
@@ -1,4 +1,5 @@
1
using System.Collections.Generic;
2
+using static QuickInfo.NodeFactory;
3
4
namespace QuickInfo
5
{
@@ -423,6 +424,15 @@ public AreaCodes()
423
424
425
public object GetResult(Query query)
426
427
+ if (query.IsHelp)
428
+ {
429
+ return HelpTable
430
+ (
431
+ ("425", "Bellevue, WA"),
432
+ ("Seattle", "206")
433
+ );
434
+ }
435
+
436
string text = query.OriginalInput;
437
438
if (areaCodes.TryGetValue(text, out string city))
0 commit comments