<div dir="ltr">Hi Alex,<div><br></div><div>We discussed it internally inside our team and I think everyone agrees that would be the right thing to do. We don't work on it currently, though, so no overlap on our side.</div><div>Unfortunately, LSP does not support this, so this would be an extension.</div><div><br></div><div>BTW, consider implementing the current scheme for fix-its that uses textDocument/codeAction and matches on sent diagnostics. It's not ideal, as it forces clangd to stash fix-its in memory. But it does work well in practice (we've tested only in VSCode, though).</div><div>If you don't need to support applying diagnostics in batches, this approach might work well for your use-case too.</div><div><br></div><div><br></div><div><div class="gmail_quote"><div dir="ltr">On Wed, Aug 1, 2018 at 10:19 PM Alex L via clangd-dev <<a href="mailto:clangd-dev@lists.llvm.org">clangd-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Has there been any discussion on sending fixits from the server to client as part of the 'publishDiagnostics' LSP response?</div><div>I would like to start working on an extension for this (disabled by default), and would like to avoid duplicate work if there are already people working on it :)</div><div><br></div><div>Thanks,</div><div>Alex</div></div>
_______________________________________________<br>
clangd-dev mailing list<br>
<a href="mailto:clangd-dev@lists.llvm.org" target="_blank">clangd-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div></div></div>