From b2e1526136c07c9060c11f58a17166805858654b Mon Sep 17 00:00:00 2001 From: Islon Scherer Date: Mon, 26 Jan 2026 10:52:12 +0100 Subject: [PATCH 1/2] Add configuration for excluding project sync dirs --- package.json | 8 ++++++++ src/ts/consts.ts | 3 +++ 2 files changed, 11 insertions(+) diff --git a/package.json b/package.json index 1d824d7..5856e9e 100644 --- a/package.json +++ b/package.json @@ -146,6 +146,14 @@ "Pkl 0.25 - 0.29", "Pkl 0.30+" ] + }, + "pkl.projects.excludedDirectories": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "List of directories to exclude when discovering Pkl projects. Supports glob patterns (* and **)." } } }, diff --git a/src/ts/consts.ts b/src/ts/consts.ts index 9359f7a..4e90a49 100644 --- a/src/ts/consts.ts +++ b/src/ts/consts.ts @@ -30,6 +30,9 @@ export const CONFIG_LSP_DEBUG_PORT = "pkl.lsp.debug.port"; // only used by the LSP server export const CONFIG_CLI_PATH = "pkl.cli.path"; +// only used by the LSP server +export const CONFIG_PROJECTS_EXCLUDED_DIRECTORIES = "pkl.projects.excludedDirectories"; + export const COMMAND_DOWNLOAD_PACKAGE = "pkl.downloadPackage"; export const COMMAND_PKL_OPEN_FILE = "pkl.open.file"; From 6be5e11528a613065522d933354353643bf903bf Mon Sep 17 00:00:00 2001 From: Islon Scherer Date: Mon, 26 Jan 2026 11:09:27 +0100 Subject: [PATCH 2/2] Run hawkeye --- src/ts/consts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/consts.ts b/src/ts/consts.ts index 4e90a49..70ef0a1 100644 --- a/src/ts/consts.ts +++ b/src/ts/consts.ts @@ -1,5 +1,5 @@ /* - * Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved. + * Copyright © 2024-2026 Apple Inc. and the Pkl project authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.