Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 **)."
}
}
},
Expand Down
5 changes: 4 additions & 1 deletion src/ts/consts.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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";
Expand Down
Loading