Skip to content

Commit 94835fb

Browse files
committed
Merge branch dev into published
2 parents 5ad8b28 + ef0bcbb commit 94835fb

File tree

8 files changed

+19
-6
lines changed

8 files changed

+19
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Changes to Calva.
44

55
## [Unreleased]
66

7+
## [2.0.468] - 2024-09-03
8+
9+
- Bump deps.clj to v1.11.3.1463
10+
- [Prioritize Workspace configured connect sequences over User configured dittos](https://github.com/BetterThanTomorrow/calva/issues/2606)
11+
712
## [2.0.467] - 2024-07-14
813

914
- Fix: [Test explorer creates a test case each time a keystroke is registered](https://github.com/BetterThanTomorrow/calva/issues/2530)

deps-clj-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.11.3.1463
1+
v1.11.4.1474

deps.clj.jar

-1 Bytes
Binary file not shown.

docs/site/connect-sequences.md

+7
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ A connect sequence configures the following:
4747

4848
The [Calva built-in sequences](https://github.com/BetterThanTomorrow/calva/blob/published/src/nrepl/connectSequence.ts) also use this format, check them out to get a clearer picture of how these settings work.
4949

50+
!!! Note "How sequence configurations are merged"
51+
The sequence configuration, `calva.replConnectSequences` is an array and the sequences in the array will be listed and processed in the order they appear. However, you can configure connect sequences in several places, even if they make most sense on the Workspace level. The configurations are merged in the following order:
52+
53+
1. Workspace Folder settings
54+
1. Workspace settings
55+
1. User settings
56+
5057
!!! Note "Force the project type menu to show"
5158
The convenience of `autoSelectForJackIn/Connect` can be an inconvenience when you want to use another project type/sequence for a project. For this reason, the `calva.connect` and `calva.jackIn` can be provided with an option `disableAutoSelect`, which forces the project root and project type menus to show. See [Options for the Connect Command](connect.md#options-for-the-jack-in-command) and [Options for the Jack-in Command](connect.md#options-for-the-connect-command) for more on this.
5259

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Calva: Clojure & ClojureScript Interactive Programming",
44
"description": "Integrated REPL, formatter, Paredit, and more. Powered by cider-nrepl and clojure-lsp.",
55
"icon": "assets/calva.png",
6-
"version": "2.0.467",
6+
"version": "2.0.468",
77
"publisher": "betterthantomorrow",
88
"author": {
99
"name": "Better Than Tomorrow",

src/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ function getConfig() {
183183
const replConnectSequencesConfig =
184184
configOptions.inspect<ReplConnectSequence[]>('replConnectSequences');
185185
const replConnectSequences = [
186-
...(replConnectSequencesConfig.globalValue ?? []),
187-
...(replConnectSequencesConfig.workspaceValue ?? []),
188186
...(replConnectSequencesConfig.workspaceFolderValue ?? []),
187+
...(replConnectSequencesConfig.workspaceValue ?? []),
188+
...(replConnectSequencesConfig.globalValue ?? []),
189189
].map((sequence) => {
190190
if (Array.isArray(sequence.afterCLJReplJackInCode)) {
191191
return {

test-data/.vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"projectType": "deps.edn",
7676
"projectRootPath": ["projects/pirate-lang"],
7777
"afterCLJReplJackInCode": ["(require 'repl)", "(println 1)", "(println 2)"],
78+
// "autoSelectForJackIn": true,
7879
"cljsType": "none",
7980
"menuSelections": {
8081
"cljAliases": ["dev", "test"]

0 commit comments

Comments
 (0)