Rocco Vaccone
d0644230f1
fix(lsp): ignore (and log once) invalid documentSelector globs #41055
...
Problem:
Client:_get_registrations() errors if a documentSelector pattern is not
a valid glob (e.g. "**/**.dart" from dartls). The error discards
already-matched registrations and propagates to supports_method() and
the client/registerCapability handler, disabling capabilities unrelated
to the offending pattern.
Solution:
Skip invalid globs. Treat them as non-matching, and log once per client.
(Similar approach was taken for filewatcher globs: 4d9e5acfb5 )
2026-08-04 05:14:15 -04:00
..
2026-08-01 17:48:32 -04:00
2025-05-06 05:15:31 -07:00
2026-08-01 17:48:32 -04:00
2026-03-13 20:32:01 +01:00
2026-07-20 06:59:21 -04:00
2026-08-02 09:56:10 +08:00
2026-03-13 20:32:01 +01:00
2026-07-24 11:54:12 -04:00
2026-08-04 05:14:15 -04:00
2026-06-02 08:41:36 -04:00
2026-07-08 12:23:28 -04:00
2026-06-02 18:17:03 +08:00
2026-07-13 19:44:15 +02:00
2026-08-02 14:42:47 -04:00
2026-07-17 07:09:04 -04:00
2025-12-16 13:22:05 -05:00
2026-07-31 21:50:04 +02:00
2026-04-30 07:26:40 -04:00
2026-07-15 05:55:51 -04:00
2026-07-25 12:47:51 -04:00
2026-05-20 14:09:20 +02:00
2026-07-13 19:44:15 +02:00
2026-05-06 11:13:15 -04:00
2026-08-02 09:56:10 +08:00
2026-08-01 17:48:32 -04:00
2026-02-12 07:15:20 -05:00
2026-01-12 10:58:01 -08:00
2026-07-29 09:03:53 -04:00
2026-06-08 16:12:14 -04:00
2026-01-09 10:07:15 +01:00
2026-07-20 09:53:06 -04:00
2026-07-25 10:36:56 -07:00
2026-07-13 19:44:15 +02:00
2026-07-08 20:15:42 +00:00
2026-08-01 17:48:32 -04:00
2026-05-05 16:26:59 -04:00
2026-07-28 09:46:13 -04:00
2026-07-28 07:21:45 -04:00
2024-02-03 16:53:41 +01:00
2026-05-30 12:57:24 +02:00
2025-02-10 03:04:01 -08:00
2026-05-20 15:27:43 -04:00
2026-07-13 19:44:15 +02:00
2026-07-26 06:24:39 -04:00
2026-08-01 17:48:32 -04:00
2026-06-24 10:40:36 -04:00
2026-05-20 17:33:01 -04:00
2026-04-30 07:12:35 -04:00
2026-04-08 13:33:00 -04:00