Chokidar-based file watcher implementation for LSP
- Total 14
- Win 5
- Mac 6
- Linux 3
|Nov 27||Nov 26||Nov 25||Nov 24||Nov 23||Nov 22||Nov 21||Nov 20||Nov 19||Nov 18||Nov 17||Nov 16||Nov 15||Nov 14||Nov 13||Nov 12||Nov 11||Nov 10||Nov 9||Nov 8||Nov 7||Nov 6||Nov 5||Nov 4||Nov 3||Nov 2||Nov 1||Oct 31||Oct 30||Oct 29||Oct 28||Oct 27||Oct 26||Oct 25||Oct 24||Oct 23||Oct 22||Oct 21||Oct 20||Oct 19||Oct 18||Oct 17||Oct 16||Oct 15||Oct 14||Oct 13|
A non-native file watcher implementation for LSP that enables support for the
workspace/didChangeWatchedFiles LSP notification.
LSP-file-watcher-chokidarfrom Package Control
- Restart Sublime.
Having this package installed alongside the LSP enables support for an additional
file_watcher object on the Client configuration object.
file_watcher object properties:
|patterns||No||An array of
|events||Yes||An array with the type of events to watch. Default:
|ignores||Yes||An array of
Registering a watcher creates a new Node process behind the scenes. The current implementation creates at most one process for any number of registrations (even through different language servers).
The reason that this is implemented as a separate package, and not natively within the LSP package, is that this relies on a separate process that does the file watching and for the built-in implementation we would like to use a native API provided by Sublime Text that it doesn't provide at the moment. See the LSP issue #892 for supporting it natively within the LSP package.