Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How far the CDT now from providing LSP and DAP support?
  • From: Nathan Ridge <zeratul976@xxxxxxxxxxx>
  • Date: Thu, 19 Dec 2019 20:54:56 +0000
  • Accept-language: en-CA, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BWcbB3u1GgYUDHnQGx51zpDLqMxq5cNRobI69V7xEBU=; b=gG5KOZDnUh9534M43MWRsVcOXiD6aBP0Lxn/5Zy3mfLO9c/i8AirFM6zazR6rJAheqeIEQd3hR42/1+448IMu0eQ0Geoie/Hfv/O7k3XEkGz1/0ugszR632PXa7pY3oeIjuu00Vm7weEdp6i8qkVtzh6shg36MjgNDCnflsVro7HUEvN/2xMdfDi/smuRWJUN2RCm0SDy0yzAJM5SF9iFHUk0DXN/GLKU/dOFRkAIU39Er9G24hTypQZpu3naw6wvM4UGUZdPS6fez/wkccWkhOG9+XXoIASc+ImDDmkCm9wSBGdDy82msI+i7UTPzJy/NfGluMWGmn36xAOu+rIhQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HNejgjfIWXaafg+7ZAvVIyMHRX+oGZ4CJsarqnKE229KDuQtBUFTbRlAutdMb74NihC1Ojt919s7WM/lcZh2NpS7CSXh/bY54PRhvnF3RgR5jiuWOvNUWZWbeVi/DxGbnyyhZNSFQ4cgQM4tXr4XySNYybPiemXeG3fuwGd+4q7XST2SXMrFw6VnVNXVjOiLZEPV8mx1gV9gl3UfCd2BLvfVHBeA1UvUnnWqR7B+y/PaM6S09+XAzw19/iielmiAKy7Nk1WNhnrwNdamHlWGQw89AlD0tyIy9icorp9rV24ETbNeM0VdEibSf5ywQeek/3K4lqlZ0dyeUGGhw2SZjw==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHVtcQchPAZmswg30WLvQQXkYCu3afAIpsAgAABeQCAAcymbQ==
  • Thread-topic: [cdt-dev] How far the CDT now from providing LSP and DAP support?

> I think Bug 536320<https://bugs.eclipse.org/bugs/show_bug.cgi?id=536320> 
> is a good example of one of the problems.

Yep, exactly.

While I never did get around to working more on LSP support, my 
latest thinking on this topic is that the most straightforward option
would be add a single project-wide "LSP mode" switch, and only
start / use the language server if that switch is enabled.

This way, if a user enables the switch, they presumably do the
necessary setup (e.g. making sure the project has a 
compile_commands.json) as well, and then even if they see LSP
diagnostics in the CEditor, that's fine.

Regards,
Nate

Back to the top