You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
x/tools/gopls: respect directoryFilters in filewatcher #81630
changed the title [-]gopls/internal/filewatcher: respect directoryFilters[/-][+]x/tools/gopls: respect directoryFilters in filewatcher[/+]on Sep 23, 2026
It requires a little bit more change as the file watcher today statically determines the dir it watches, and the gopls setting can be changed after LSP session start. So we need to have the support for
whether a dir should be watched or not
unwatch a dir if configuration changes
watch a dir if configuration changes
We are releasing v0.24.0 very soon so v0.25.0 will be a reasonable timeline for fix. I will let you know once finished so you can give it a try by install gopls from @master. @danp
Activity
gabyhelp commentedon Sep 21, 2026
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
danp commentedon Sep 21, 2026
(maybe this is still considered to be part of #67995)
[-]gopls/internal/filewatcher: respect directoryFilters[/-][+]x/tools/gopls: respect directoryFilters in filewatcher[/+]h9jiang commentedon Sep 28, 2026
It requires a little bit more change as the file watcher today statically determines the dir it watches, and the gopls setting can be changed after LSP session start. So we need to have the support for
We are releasing v0.24.0 very soon so v0.25.0 will be a reasonable timeline for fix. I will let you know once finished so you can give it a try by install gopls from @master. @danp
Thank you so much for raising this.