Files
Ludwig Valda Vasquezandintellij-monorepo-bot b212bdd7ac [air] lsp: add file system watcher impl
LSP allows the client to provide a filesystem watcher to the server, to
simplify server's implementation and to remove duplication of work,
since clients often require such watchers anyway.

Air's implementation is based on the FSD's WatchApi. This means there
are some differences to the VS Code watchers, for example, our
implementation will never emit "Created" event, because this isn't
exposed in the WatchApi. Conversely, WatchApi may emit a "Rescan" event
which doesn't have an appropriate equivalent in the VS Code (hence, LSP)
watcher interface.

Other than that, the implementation tries to follow the VS Code
behaviour in most cases (e.g. using recursive watchers if pattern
contains "**" or "/" and non-recursive otherwise), so the
recommendations on the use of the LSP watcher API are roughly the same
as for VS Code.

Space-RevId: 1ad774f7425f86e11aab4e64e62e96453bfc864a

GitOrigin-RevId: 5a1abadc8f18deb06b71625ab2add0f0b6f030a7
2026-02-03 01:26:50 +00:00
..