perl-parser 0.13.3

Native Perl parser (v3) — recursive descent with Tree-sitter-compatible AST, semantic analysis, and LSP provider engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
# LSP Feature Catalog - Single Source of Truth
# This file defines all LSP features and their maturity status
# Used to generate capabilities, documentation, and compliance reports

[meta]
version = "0.12.3"
lsp_version = "3.18"
compliance_percent = 100  # 119 total features (88 LSP + 24 DAP + 7 perl-lsp extensions), 53/53 advertised

# Text Document Features

[[feature]]
id = "lsp.completion"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_completion_tests.rs"]
description = "Code completion with 150+ built-in functions, DBI type inference (db/st handle methods), Moo option-key completion, file-path completion, method completion from workspace symbols, auto-import suggestions, XS API completion, and test helper (Test::More) completions"

[[feature]]
id = "lsp.hover"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_hover_tests.rs"]
description = "Hover information with POD markdown rendering, XS::Typemap integration, Moo/Moose attribute display (isa, is, required, predicate, builder, clearer), inherited method resolution across the class hierarchy, pragma documentation, special variable explanations, regex explainer, and file-test operator reference"

[[feature]]
id = "lsp.signature_help"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_signature_help_tests.rs"]
description = "Signature help with parameter hints"

[[feature]]
id = "lsp.definition"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_definition_tests.rs"]
description = "Go to definition"

[[feature]]
id = "lsp.declaration"
spec = "LSP 3.14"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_definition_tests.rs"]
description = "Go to declaration"

[[feature]]
id = "lsp.references"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_references_tests.rs"]
description = "Find references across workspace"

[[feature]]
id = "lsp.document_symbol"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_symbols_tests.rs"]
description = "Document symbols with hierarchy"

[[feature]]
id = "lsp.code_action"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_code_actions_tests.rs"]
description = "Code actions with 9 action kinds: QuickFix (diagnostic fixes for undefined/unused variables, missing strict/warnings, deprecated patterns), Refactor, RefactorExtract (extract variable/subroutine), RefactorInline, RefactorRewrite (C-style for to foreach, postfix if conversion), Source, SourceOrganizeImports, SourceFixAll, SourceModernize (legacy pattern modernization)"

[[feature]]
id = "lsp.code_lens"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_code_lens_tests.rs"]
description = "Code lens with reference counts"

[[feature]]
id = "lsp.formatting"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_formatting_tests.rs"]
description = "Document formatting with Perl::Tidy"

[[feature]]
id = "lsp.range_formatting"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_formatting_tests.rs"]
description = "Range formatting (single range)"

[[feature]]
id = "lsp.ranges_formatting"
spec = "LSP 3.18"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_formatting_e2e.rs"]
description = "Multi-range formatting (textDocument/rangesFormatting) (@proposed)"

[[feature]]
id = "lsp.on_type_formatting"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_on_type_formatting.rs"]
description = "On-type formatting with auto-indent"

[[feature]]
id = "lsp.rename"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_rename_tests.rs"]
description = "Rename symbol across files"

[[feature]]
id = "lsp.refactoring"
spec = "perl-lsp"
area = "text_document"
maturity = "ga"
advertised = true
tests = [
  "crates/perl-refactoring/tests/comprehensive_unit_tests.rs",
  "crates/perl-refactoring/tests/comprehensive_unit_tests_v2.rs",
  "crates/perl-refactoring/tests/workspace_rename_tests.rs",
  "crates/perl-refactoring/tests/bdd_refactoring_workflows.rs",
  "crates/perl-refactoring/tests/subroutine_inline_tests.rs",
  "crates/perl-refactoring/tests/rename_extract_coverage.rs",
  "crates/perl-refactoring/tests/edge_case_coverage.rs",
  "crates/perl-refactoring/tests/scoped_rename_integration.rs",
]
description = "Perl-specific refactoring engine (264 tests) providing workspace-wide atomic symbol rename with rollback, import optimization (analyze and rewrite use/require statements), code modernization (bareword filehandles, two-arg open, missing pragmas), extract-module, move-subroutine, inline-variable, and inline-subroutine — all via the RefactoringEngine with backup/rollback support"

[[feature]]
id = "lsp.document_link"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_document_links_test.rs"]
description = "Document links to modules and docs"

[[feature]]
id = "lsp.folding_range"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_folding_ranges_test.rs"]
description = "Folding ranges with fallback"

[[feature]]
id = "lsp.selection_range"
spec = "LSP 3.15"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_selection_range_tests.rs"]
description = "Smart selection expansion"

[[feature]]
id = "lsp.semantic_tokens"
spec = "LSP 3.16"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_semantic_tokens.rs"]
description = "Semantic syntax highlighting via 23 token types (namespace, type, class, interface, enum, enumMember, typeParameter, function, method, property, macro, variable, parameter, keyword, modifier, comment, string, number, regexp, operator, plus sql_string/sql_heredoc_keyword/json_heredoc_key for embedded language context) and 13 modifiers (declaration, definition, readonly, static, deprecated, abstract, async, modification, documentation, defaultLibrary, scalarVariable, arrayVariable, hashVariable). Token pipeline: lexer fast-path classification plus AST overlay for package/subroutine/method/variable nodes, with overlap deduplication (longer token wins) and delta-encoded [u32;5] response format (mandatory LSP wire encoding). Supports full (textDocument/semanticTokens/full) and range (textDocument/semanticTokens/range) requests per LSP 3.16"

[[feature]]
id = "lsp.inlay_hint"
spec = "LSP 3.17"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_inlay_hints.rs"]
description = "Inlay hints with parameter-name labels for 14 Perl built-in functions (open, split, substr, push, map, grep, sort, join, sprintf, printf, index, rindex, splice, pack/unpack) and lightweight type labels for literal expressions (Num, Str, Hash, Array, Regex, CodeRef). Hints are range-scoped to the visible editor region and support label.location (jump-to-definition) via resolve; tooltip text deferred to inlayHint/resolve per LSP 3.17"

[[feature]]
id = "lsp.type_hierarchy"
spec = "LSP 3.17"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_type_hierarchy_test.rs"]
description = "Type hierarchy for classes/roles"

[[feature]]
id = "lsp.call_hierarchy"
spec = "LSP 3.16"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_call_hierarchy_tests.rs"]
description = "Call hierarchy navigation"

[[feature]]
id = "lsp.pull_diagnostics"
spec = "LSP 3.17"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/pull_diagnostics_tests.rs"]
description = "Pull model diagnostics"

[[feature]]
id = "lsp.diagnostic.missing_strict"
spec = "perl-lsp"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-diagnostics/tests/lint_pipeline_integration_tests.rs"]
description = "Missing 'use strict' pragma diagnostic (PL100) — warns when .pm/.pl files lack strict enforcement, recognizes framework equivalents (Moo, Moose, Modern::Perl)"

[[feature]]
id = "lsp.diagnostic.missing_warnings"
spec = "perl-lsp"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-diagnostics/tests/lint_pipeline_integration_tests.rs"]
description = "Missing 'use warnings' pragma diagnostic (PL101) — warns when .pm/.pl files lack warnings enforcement, recognizes framework equivalents (Moo, Moose, Modern::Perl)"

[[feature]]
id = "lsp.diagnostic.phase_scoped_pragmas"
spec = "perl-lsp"
area = "text_document"
maturity = "ga"
advertised = true
tests = [
  "crates/perl-lsp-diagnostics/tests/lint_pipeline_integration_tests.rs",
  "crates/perl-lsp-code-actions/src/code_actions.rs",
]
description = "Phase-scoped pragma misconception diagnostics (PL502/PL503) — warns when `use strict` or `use warnings` appears only inside BEGIN/END/INIT/CHECK/UNITCHECK and offers a quick fix to move it to file scope"

[[feature]]
id = "lsp.diagnostic.unreachable_code"
spec = "perl-lsp"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-diagnostics/tests/unreachable_code_tests.rs"]
description = "Unreachable code highlighting (PL406) with DiagnosticTag::Unnecessary — detects code after return/die/exit/croak statements"

[[feature]]
id = "lsp.diagnostic.unused_variable"
spec = "perl-lsp"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/pull_diagnostics_tests.rs"]
description = "Unused variable diagnostics (PL102) via scope analyzer — warns on declared-but-never-used variables, suppressed by underscore prefix"

[[feature]]
id = "lsp.inline_completion"
spec = "LSP 3.18"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_inline_completion_tests.rs"]
description = "Inline AI-powered completions (@proposed)"

[[feature]]
id = "experimental.perlInlineCompletionStream"
spec = "perl-lsp"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_streaming_completion_tests.rs"]
description = "Streaming inline AI completions via textDocument/perlInlineCompletionStream — delivers incremental completions via $/progress with session and sequence tracking"

[[feature]]
id = "lsp.type_definition"
spec = "LSP 3.6"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_type_definition_tests.rs"]
description = "Go to type definition"

[[feature]]
id = "lsp.implementation"
spec = "LSP 3.6"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_implementation_tests.rs"]
description = "Go to implementation"

[[feature]]
id = "lsp.document_color"
spec = "LSP 3.6"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_color_tests.rs"]
description = "Color decorators"

[[feature]]
id = "lsp.linked_editing_range"
spec = "LSP 3.16"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_linked_editing_tests.rs"]
description = "Linked editing of related tokens"

# Workspace Features

[[feature]]
id = "lsp.workspace_symbol"
spec = "LSP 3.0"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_symbol_tests.rs"]
description = "Workspace symbol search across all indexed files with substring and prefix matching, proximity-ranked results (search_symbols_ranked prioritises symbols in the active document's package hierarchy), multi-root workspace support (folder_uri attribution per symbol), incremental re-index with content-hash early-exit (unchanged files skip re-parse), stale-index detection and cleanup on file removal, and parse-storm throttling for large batch indexing. Supports searching packages, subroutines, variables, classes, and methods across CPAN-scale workspaces (validated to 10k+ files)"

[[feature]]
id = "lsp.workspace_diagnostics"
spec = "LSP 3.17"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/pull_diagnostics_tests.rs"]
description = "Workspace-wide pull diagnostics"

[[feature]]
id = "lsp.execute_command"
spec = "LSP 3.0"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_execute_command_tests.rs"]
description = "Execute commands (Perl::Critic, etc)"

[[feature]]
id = "lsp.workspace_folders"
spec = "LSP 3.6"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_tests.rs"]
description = "Multi-root workspace support"

[[feature]]
id = "lsp.file_operations"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_file_operations_tests.rs"]
description = "File rename/create/delete tracking"

[[feature]]
id = "lsp.workspace_edit"
spec = "LSP 3.0"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_file_ops_tests.rs"]
description = "Apply workspace-wide edits"

[[feature]]
id = "lsp.moniker"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_compliance_tests.rs"]
description = "Cross-project symbol identity"

# Window Features

[[feature]]
id = "lsp.progress"
spec = "LSP 3.0"
area = "window"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_progress_tests.rs"]
description = "Progress reporting"

[[feature]]
id = "lsp.show_message"
spec = "LSP 3.0"
area = "window"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_window_tests.rs"]
description = "Show messages to user"

[[feature]]
id = "lsp.log_message"
spec = "LSP 3.0"
area = "window"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_window_tests.rs", "crates/perl-lsp-rs/tests/lsp_window_progress_test.rs"]
description = "Log messages"

[[feature]]
id = "lsp.work_done_progress"
spec = "LSP 3.15"
area = "window"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_window_tests.rs"]
description = "Detailed work progress"

# Notebook Features

[[feature]]
id = "lsp.notebook_document_sync"
spec = "LSP 3.17"
area = "notebook"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_notebook_tests.rs"]
description = "Notebook document synchronization (didOpen/didChange/didSave/didClose handlers)"

[[feature]]
id = "lsp.notebook_cell_execution"
spec = "LSP 3.17"
area = "notebook"
maturity = "ga"
advertised = false
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_notebook_tests.rs"]
description = "Notebook cell execution summary tracking (LSP does not execute cells; this tracks executionSummary metadata)"

# Debug Features (DAP)

[[feature]]
id = "dap.core"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_smoke_e2e.rs", "crates/perl-dap/tests/session_lifecycle_tests.rs"]
description = "Core VS Code debug loop: initialize/launch/configurationDone, break/step, stack/scopes/variables, evaluate/setVariable, disconnect/terminate"

[[feature]]
id = "dap.breakpoints.basic"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_smoke_e2e.rs", "crates/perl-dap/tests/dap_breakpoint_matrix_tests.rs"]
description = "Verified/unverified source breakpoints with replace semantics and deterministic stopped(reason=breakpoint) behavior"

[[feature]]
id = "dap.breakpoints.hit_condition"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_breakpoint_matrix_tests.rs", "crates/perl-dap/tests/dap_preview_e2e_receipts.rs"]
description = "Hit-count breakpoints (e.g., >= N, == N, %N) with runtime counter gating"

[[feature]]
id = "dap.breakpoints.logpoints"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_breakpoint_matrix_tests.rs", "crates/perl-dap/tests/dap_preview_e2e_receipts.rs"]
description = "Logpoint breakpoints (`logMessage`) emit output events and continue execution"

[[feature]]
id = "dap.exceptions.die"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_comprehensive_test.rs", "crates/perl-dap/tests/dap_preview_e2e_receipts.rs"]
description = "Exception breakpoint handling for `die`/uncaught exception categories with exceptionInfo support"

[[feature]]
id = "dap.inline_values"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_comprehensive_test.rs"]
description = "Inline variable values while debugging (native adapter)"

[[feature]]
id = "dap.completions"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_completions_tests.rs"]
description = "Debug console autocomplete with Perl keywords"

[[feature]]
id = "dap.modules"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_modules_tests.rs"]
description = "Loaded modules view via %INC inspection"

[[feature]]
id = "dap.watchpoints"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_watchpoints_tests.rs"]
description = "Data breakpoints (watchpoints) via Perl debugger w/W commands"

[[feature]]
id = "dap.exceptions.warn"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_warn_exception_tests.rs"]
description = "Exception breakpoint handling for warn/carp/cluck warnings"

[[feature]]
id = "dap.threads"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_adapter_tests.rs", "crates/perl-dap/tests/dap_step_through_tests.rs"]
description = "Thread listing (threads request); Perl is single-threaded so returns one synthetic thread"

[[feature]]
id = "dap.pause"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/control_flow_handlers_tests.rs", "crates/perl-dap/tests/dap_comprehensive_test.rs"]
description = "Pause execution of a running debug session"

[[feature]]
id = "dap.breakpoints.function"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_comprehensive_test.rs", "crates/perl-dap/tests/dap_non_regression_tests.rs"]
description = "Function breakpoints (setFunctionBreakpoints) by subroutine name"

[[feature]]
id = "dap.breakpoint_locations"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_protocol_compliance_tests.rs", "crates/perl-dap/tests/dap_non_regression_tests.rs"]
description = "Query valid breakpoint positions within a source range (breakpointLocations)"

[[feature]]
id = "dap.source"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_non_regression_tests.rs"]
description = "Retrieve source content by reference (source request)"

[[feature]]
id = "dap.loaded_sources"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_protocol_compliance_tests.rs", "crates/perl-dap/tests/dap_non_regression_tests.rs"]
description = "List all sources loaded in the current debug session (loadedSources)"

[[feature]]
id = "dap.restart"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_non_regression_tests.rs"]
description = "Restart the debug session (restart request)"

[[feature]]
id = "dap.set_expression"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_protocol_compliance_tests.rs"]
description = "Assign a value to an expression in the current scope (setExpression)"

[[feature]]
id = "dap.cancel"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_protocol_compliance_tests.rs", "crates/perl-dap/tests/dap_step_through_tests.rs"]
description = "Cancel a pending or running request (cancel)"

[[feature]]
id = "dap.step_in_targets"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_protocol_compliance_tests.rs", "crates/perl-dap/tests/dap_step_through_tests.rs"]
description = "List callable step-in targets for the current frame (stepInTargets)"

[[feature]]
id = "dap.goto_targets"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_protocol_compliance_tests.rs", "crates/perl-dap/tests/dap_step_through_tests.rs"]
description = "List valid goto targets for the current frame (gotoTargets)"

[[feature]]
id = "dap.goto"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_protocol_compliance_tests.rs"]
description = "Jump execution to a target location (goto request)"

[[feature]]
id = "dap.restart_frame"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_step_through_tests.rs"]
description = "Restart execution from the beginning of a stack frame (restartFrame)"

[[feature]]
id = "dap.terminate_threads"
spec = "DAP 1.0"
area = "debug"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-dap/tests/dap_step_through_tests.rs"]
description = "Terminate one or more threads (terminateThreads)"

# Protocol / Lifecycle Features

[[feature]]
id = "lsp.initialize"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_lifecycle_tests.rs"]
description = "Initialize handshake"

[[feature]]
id = "lsp.initialized"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_lifecycle_tests.rs"]
description = "Initialized notification"

[[feature]]
id = "lsp.shutdown"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_lifecycle_tests.rs"]
description = "Graceful shutdown request"

[[feature]]
id = "lsp.exit"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_lifecycle_tests.rs"]
description = "Exit notification with proper exit codes"

[[feature]]
id = "lsp.cancel_request"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_window_tests.rs"]
description = "Request cancellation ($/cancelRequest)"

[[feature]]
id = "lsp.client_register_capability"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_registration_tests.rs"]
description = "Dynamic capability registration (server->client)"

[[feature]]
id = "lsp.client_unregister_capability"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_registration_tests.rs"]
description = "Dynamic capability unregistration (server->client)"

[[feature]]
id = "lsp.set_trace"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_trace_tests.rs"]
description = "Client sets server trace level ($/setTrace)"

[[feature]]
id = "lsp.log_trace"
spec = "LSP 3.0"
area = "protocol"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_trace_tests.rs"]
description = "Server trace logging ($/logTrace)"

# Text Document Synchronization

[[feature]]
id = "lsp.text_document_sync"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_text_sync_tests.rs"]
description = "didOpen/didChange/didClose text synchronization"

[[feature]]
id = "lsp.did_save"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_text_sync_tests.rs"]
description = "didSave notifications"

[[feature]]
id = "lsp.will_save"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_text_sync_tests.rs"]
description = "willSave notifications"

[[feature]]
id = "lsp.will_save_wait_until"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_text_sync_tests.rs"]
description = "willSaveWaitUntil request with format-on-save"

# Additional Language Features

[[feature]]
id = "lsp.document_highlight"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_document_highlight_tests.rs"]
description = "Document highlights (local references)"

[[feature]]
id = "lsp.prepare_rename"
spec = "LSP 3.12"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_rename_tests.rs"]
description = "Validate rename and compute placeholder/range"

[[feature]]
id = "lsp.inline_value"
spec = "LSP 3.17"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_3_17_compliance_tests.rs"]
description = "Inline values during debugging (LSP inlineValue)"

[[feature]]
id = "lsp.color_presentation"
spec = "LSP 3.6"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_color_tests.rs"]
description = "Color presentation request (pairs with documentColor)"

# Resolve Routes

[[feature]]
id = "lsp.completion_item_resolve"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_completion_tests.rs"]
description = "Resolve additional completion item details"

[[feature]]
id = "lsp.code_action_resolve"
spec = "LSP 3.16"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_code_actions_tests.rs"]
description = "Resolve additional code action details"

[[feature]]
id = "lsp.code_lens_resolve"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_code_lens_tests.rs"]
description = "Resolve code lens command"

[[feature]]
id = "lsp.document_link_resolve"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_document_link_resolve_tests.rs"]
description = "Resolve document link target"

[[feature]]
id = "lsp.inlay_hint_resolve"
spec = "LSP 3.17"
area = "text_document"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_inlay_hint_resolve_tests.rs"]
description = "Resolve inlay hint label locations"

[[feature]]
id = "lsp.workspace_symbol_resolve"
spec = "LSP 3.17"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_symbol_tests.rs"]
description = "Resolve additional workspace symbol info"

# Refresh Routes (Server -> Client)

[[feature]]
id = "lsp.code_lens_refresh"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_refresh_methods_tests.rs"]
description = "Request client to refresh code lenses"

[[feature]]
id = "lsp.semantic_tokens_refresh"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_refresh_methods_tests.rs"]
description = "Request client to refresh semantic tokens"

[[feature]]
id = "lsp.inlay_hint_refresh"
spec = "LSP 3.17"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_refresh_methods_tests.rs"]
description = "Request client to refresh inlay hints"

[[feature]]
id = "lsp.inline_value_refresh"
spec = "LSP 3.17"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_refresh_methods_tests.rs"]
description = "Request client to refresh inline values"

[[feature]]
id = "lsp.diagnostic_refresh"
spec = "LSP 3.17"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_refresh_methods_tests.rs"]
description = "Request client to refresh pulled diagnostics"

[[feature]]
id = "lsp.folding_range_refresh"
spec = "LSP 3.18"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_refresh_methods_tests.rs"]
description = "Request client to refresh folding ranges (workspace/foldingRange/refresh, @proposed)"

# Workspace Plumbing

[[feature]]
id = "lsp.configuration"
spec = "LSP 3.6"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_tests.rs"]
description = "workspace/configuration request (server->client)"

[[feature]]
id = "lsp.did_change_configuration"
spec = "LSP 3.0"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_tests.rs"]
description = "workspace/didChangeConfiguration notification"

[[feature]]
id = "lsp.did_change_watched_files"
spec = "LSP 3.0"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_tests.rs"]
description = "workspace/didChangeWatchedFiles notification"

[[feature]]
id = "lsp.apply_edit"
spec = "LSP 3.0"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_tests.rs"]
description = "workspace/applyEdit request (server->client)"

[[feature]]
id = "lsp.publish_diagnostics"
spec = "LSP 3.0"
area = "text_document"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/pull_diagnostics_tests.rs"]
description = "Push diagnostics via textDocument/publishDiagnostics"

# Window / Telemetry

[[feature]]
id = "lsp.show_message_request"
spec = "LSP 3.0"
area = "window"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_window_tests.rs"]
description = "Prompt user with choices (showMessageRequest)"

[[feature]]
id = "lsp.show_document"
spec = "LSP 3.16"
area = "window"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_window_tests.rs"]
description = "Ask client to open/display a URI (showDocument)"

[[feature]]
id = "lsp.work_done_progress_create"
spec = "LSP 3.15"
area = "window"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_window_tests.rs"]
description = "Create server-initiated work done progress"

[[feature]]
id = "lsp.work_done_progress_cancel"
spec = "LSP 3.15"
area = "window"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_window_tests.rs"]
description = "Client cancels server-initiated work done progress"

[[feature]]
id = "lsp.telemetry_event"
spec = "LSP 3.0"
area = "window"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_window_tests.rs"]
description = "Server telemetry events (telemetry/event)"

# LSP 3.18 Additions

[[feature]]
id = "lsp.diagnostic.markup_message_support"
spec = "LSP 3.18"
area = "text_document"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_diagnostic_enrichment_test.rs"]
description = "Markdown-formatted diagnostic messages (textDocument.diagnostic.markupMessageSupport) — server includes messageMarkup in diagnostic data when client opts in"

[[feature]]
id = "lsp.text_document_content"
spec = "LSP 3.18"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_virtual_content_tests.rs"]
description = "workspace/textDocumentContent request (@proposed)"

[[feature]]
id = "lsp.text_document_content_refresh"
spec = "LSP 3.18"
area = "workspace"
maturity = "ga"
advertised = true
counts_in_coverage = false
tests = ["crates/perl-lsp-rs/tests/lsp_virtual_content_tests.rs"]
description = "workspace/textDocumentContent/refresh request (@proposed)"

# File Operations (method-level breakdown)

[[feature]]
id = "lsp.will_create_files"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_file_ops_tests.rs"]
description = "workspace/willCreateFiles request"

[[feature]]
id = "lsp.did_create_files"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_file_ops_tests.rs"]
description = "workspace/didCreateFiles notification"

[[feature]]
id = "lsp.will_rename_files"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_file_operations_tests.rs"]
description = "workspace/willRenameFiles request"

[[feature]]
id = "lsp.did_rename_files"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_file_operations_tests.rs"]
description = "workspace/didRenameFiles notification"

[[feature]]
id = "lsp.will_delete_files"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_file_ops_tests.rs"]
description = "workspace/willDeleteFiles request"

[[feature]]
id = "lsp.did_delete_files"
spec = "LSP 3.16"
area = "workspace"
maturity = "ga"
advertised = true
tests = ["crates/perl-lsp-rs/tests/lsp_workspace_file_ops_tests.rs"]
description = "workspace/didDeleteFiles notification"