mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-12-21 22:47:24 +00:00
GH-393: Do not use clangd from the $PATH.
Closes: arduino/arduino-pro-ide#393 Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -14,7 +14,7 @@ export class ExecutableServiceImpl implements ExecutableService {
|
||||
async list(): Promise<{ clangdUri: string, cliUri: string, lsUri: string }> {
|
||||
const [ls, clangd, cli] = await Promise.all([
|
||||
getExecPath('arduino-language-server', this.onError.bind(this)),
|
||||
getExecPath('clangd', this.onError.bind(this), '--version', os.platform() !== 'win32'),
|
||||
getExecPath('clangd', this.onError.bind(this), undefined, os.platform() !== 'win32'),
|
||||
getExecPath('arduino-cli', this.onError.bind(this))
|
||||
]);
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user