Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] [Fwd: Re: Detecting newly added projects]



On Wed, 2019-07-10 at 13:07 +0200, Sun Tan wrote:
LS should deal with file watching. But if they don't, the best we can do is triggering the right event each time we finish cloning a project.

No, that's my argument: LSP does not mandate that and real world implementations of language servers don't show the behaviour you desire. Some do, some don't. Also, there is no event for "finished cloning a project" in LSP.

We cannot ask the user to refresh ... 

Of course we can! It's easy to implement. What you're saying is that we shouldn't, right? But IMO it's the best generally viable solution I know. We could auto-refresh but that would do unnecessary work for language servers that DO pick up new projects.

/Thomas

Back to the top