Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
324 commits
Select commit Hold shift + click to select a range
074c9ef
Stop at an uncaught exception that only the runner would catch
lagergren Oct 29, 2026
2d35d06
Safely delete an unused public or protected member
lagergren Oct 29, 2026
404c92c
Apply the Ecstasy edits of an Explorer move with refactoring auto-sav…
lagergren Oct 29, 2026
f80d338
Let a host give lazy variables' code longer than ON_DEMAND
lagergren Oct 29, 2026
b4bd6d6
Attach the debugger to a program run with --debug
lagergren Oct 29, 2026
a37afa9
Let SessionDebuggerTest's runs show they started before it ends them
lagergren Oct 29, 2026
59e0d88
Let XdkLanguageServerTest's pending analyses publish before finish() …
lagergren Oct 29, 2026
ff5f187
Drop the sleeps FormattingConfigRoundTripTest takes before reading a …
lagergren Oct 29, 2026
59b6799
Let two run tests check what they claim instead of how long they wait
lagergren Oct 29, 2026
23c2526
Drop the change a restart's retired document synchronizer still sends
lagergren Oct 29, 2026
2b483ed
Wait for LSP4IJ to reopen X259's consumer after the restart
lagergren Oct 29, 2026
7330e59
Send X259's library edit to the old server before the restart
lagergren Oct 29, 2026
36f0279
Wait for X257's Invoked request to reach the LSP console
lagergren Oct 29, 2026
6609300
Reopen a popup under inspection after the IDE was deactivated
lagergren Oct 29, 2026
9404a63
Let the VFS find a library frame's source before LSP4IJ reads the frames
lagergren Oct 29, 2026
2c2b64a
Run the IntelliJ playbook in a Linux container on a virtual display
lagergren Oct 29, 2026
03ff54e
Let two SessionDebuggerTest cases check what their sleeps waited for
lagergren Oct 29, 2026
6fd9240
Analyze again an open document whose analysis was retired without a r…
lagergren Oct 29, 2026
2a2bb4b
Let the playbooks' diagnostics waits accept only a report for the cur…
lagergren Oct 29, 2026
b28cc42
Fix the container's IntelliJ playbook runs: a user, an init process, …
lagergren Oct 29, 2026
2d214f2
Spell XtcTextDocumentService's analyze and analyzeOne the American way
lagergren Oct 29, 2026
1ac2205
Debug Gradle-mode runs in VS Code and IntelliJ
lagergren Nov 2, 2026
fe0777c
Fail the lang build on compiler warnings, and fix the ten it had
lagergren Nov 2, 2026
1094c25
Don't reuse a module compiled in another copy of the project
lagergren Nov 2, 2026
c9e5f37
Keep the language server running while a run or debug session uses it
lagergren Nov 2, 2026
4a6b5c3
Run the editor playbooks in the container from Gradle, with any engine
lagergren Nov 2, 2026
d721994
Continue, step or pause one fiber while the others stay stopped
lagergren Nov 2, 2026
164be9e
Link a local's ranges when the caret is just after its name
lagergren Nov 3, 2026
cdbe8f7
Test that a part of a value's variables from past its end is empty
lagergren Nov 3, 2026
9af31b8
Debug a command-line run: xtc run runs the program, which connects
lagergren Nov 3, 2026
4770a97
Move the debugger agent into javatools, with the protocol as records
lagergren Nov 3, 2026
1b98b91
Keep a debugged task's last output, and X325's queued fiber
lagergren Nov 3, 2026
0ac08a1
Let deduction find a named module in src/main/x beside other sources
lagergren Nov 3, 2026
c2acea0
Run and debug a module's xunit tests from the editors, embedded
lagergren Nov 3, 2026
9b3f942
Compile a closure as a fold, without mutable accumulators
lagergren Nov 3, 2026
934635b
Run and debug Ecstasy tests from IntelliJ, in its test console
lagergren Nov 3, 2026
97228a4
Run and debug tests in Gradle and command-line mode, from both editors
lagergren Nov 3, 2026
e29aa1f
Report tests as xunit's own JSON events, which the language server re…
lagergren Nov 4, 2026
067d861
Lift the lazy-value time limit for the embedded execution tests' worker
lagergren Nov 4, 2026
c09dd1f
Debug with the agent jar's provider by its name, and javatools' own w…
lagergren Nov 4, 2026
1fbf6cd
Keep the doc comments of properties and methods on their structures
lagergren Nov 4, 2026
59a03e8
Describe the debugger's attach and R9-R12 features in the READMEs
lagergren Nov 4, 2026
7e88f5c
Describe running and debugging tests from both editors in the READMEs
lagergren Nov 4, 2026
f6ac9f7
Give the playbook catalog's size as its 342 cases everywhere
lagergren Nov 4, 2026
243539f
List every VS Code command in the extension README, by its own title
lagergren Nov 4, 2026
98bfe05
Fix lang/README's task paths, versions and feature summary
lagergren Nov 4, 2026
53ff471
List the editors' test, attach and debug-task sources, and when xtc i…
lagergren Nov 4, 2026
8585e72
Point the playbook instructions at the playbook container
lagergren Nov 4, 2026
3805934
Use American spelling in the shippable docs
lagergren Nov 4, 2026
fa2401b
Name testing in the embedded build and run index entry
lagergren Nov 4, 2026
2bcd614
Name the editors' UI as it reads, Ecstasy, where the docs said XTC
lagergren Nov 4, 2026
cdf42ae
Call the server and the IntelliJ plugin by their names in the lang docs
lagergren Nov 4, 2026
172590f
List the test and debug-task messages and a test row in the playbook'…
lagergren Nov 4, 2026
082935f
Say that every adapter needs Java 25 in editor-setup.md
lagergren Nov 4, 2026
70019d8
Name javatools' debugger, agent and provider in its README
lagergren Nov 4, 2026
e0e2ecc
Give IntelliJ's missing breakpoint pass count its own LSP4IJ fix
lagergren Nov 4, 2026
aa33731
Complete a member access typed at the end of a line
lagergren Nov 4, 2026
59640ad
Name a type by what it is when hovering its name
lagergren Nov 4, 2026
87ac3c2
Deliver a run's events to dap-server's ProgramEvents, not a copy of it
lagergren Nov 4, 2026
5ac99ee
Complete with the language model's keywords and built-in types
lagergren Nov 4, 2026
6502707
Share the formatter's empty-block skeleton and whitespace edits
lagergren Nov 4, 2026
cfd80b6
Build an embedded run's process handler in one place
lagergren Nov 4, 2026
fd81d1c
Name the properties that hold behavior or mutable state in camel case
lagergren Nov 4, 2026
57c342a
Split the LSP tests into a fast default tier and complete runs
lagergren Nov 4, 2026
450fdbf
Give Ecstasy its Code Style settings page
lagergren Nov 4, 2026
63758d4
Load the Ecstasy live templates, and offer them in Ecstasy files only
lagergren Nov 4, 2026
44e4196
Debug a program that has an interface
lagergren Nov 4, 2026
55cedd6
Lift SessionDebuggerTest's time limit to an hour
lagergren Nov 4, 2026
b5e67e7
Let the compiler-consumer gate accept the default tier's later cases
lagergren Nov 4, 2026
3a390cc
Complete a member with the cursor right after its dot
lagergren Nov 4, 2026
aa4b0ac
Offer code actions in a module that has a const with a toString
lagergren Nov 4, 2026
781d16f
Queue playbook container runs on one machine lock, each with its own …
lagergren Nov 5, 2026
92cdfc1
Start the playbook's IDE from one place, without the plugins it does …
lagergren Nov 5, 2026
7263918
Let tests wait for a hang only, not for a fast machine
lagergren Nov 5, 2026
1afa193
Wait for configurationDone before a debug session starts its program
lagergren Nov 5, 2026
da1304b
Record a tour of the IntelliJ plugin on a card game, checking what it…
lagergren Nov 5, 2026
9ff72f1
Show a library declaration's doc comment in hover, from its source
lagergren Nov 5, 2026
3240636
Give Ecstasy files a PSI of the Ecstasy language
lagergren Nov 5, 2026
7edbc70
Close a block that Enter opens after a { in an Ecstasy file
lagergren Nov 5, 2026
c38c47c
Remove unused imports with Organize imports, run from IntelliJ's Opti…
lagergren Nov 5, 2026
dd05630
Keep an Ecstasy file's brackets and words as plain text had them
lagergren Nov 5, 2026
81235fc
Give a constructor's finally block no references lens of its own
lagergren Nov 5, 2026
79ce4d1
Name an inferred local's type in its hint as the source names it
lagergren Nov 5, 2026
0fe468d
Rerun only the failed Ecstasy tests from the test console
lagergren Nov 5, 2026
1919535
Take a line typed in IntelliJ's Debug console to the debug session
lagergren Nov 5, 2026
103144e
Report every class's errors from an embedded compile, not only the fi…
lagergren Nov 5, 2026
1be5acd
Complete names and show a call's signature where they are typed at a …
lagergren Nov 5, 2026
efe2bbe
Complete a type of another module where a statement starts, with its …
lagergren Nov 5, 2026
8a8ee6b
Copy a concurrent map's entries without failing when one goes meanwhile
lagergren Nov 5, 2026
38efff2
Name a server's log session by the server alone, and tell a live one …
lagergren Nov 5, 2026
8fb1f3a
Undo a server's edit of one file without asking, as IntelliJ's quick …
lagergren Nov 5, 2026
a85b185
Make SessionDebuggerTest independent of how its threads are scheduled
lagergren Nov 5, 2026
2bb09cd
Import a moved type where its new package's name is a property
lagergren Nov 5, 2026
f78678f
Extract statements that use an injected local, passing its value
lagergren Nov 5, 2026
c4c2d92
Keep earlier debugger stops out of a clock alarm set for a given time
lagergren Nov 5, 2026
c06e4b1
Report a Future callback that throws or that a terminated service drops
lagergren Nov 5, 2026
29e02e5
Prove only the code actions a request asks for, and share a revision'…
lagergren Nov 5, 2026
cb416d8
Keep the execution trace's events out of stderr and server.log
lagergren Nov 5, 2026
5f36628
Let one source that discovery cannot read cost only itself
lagergren Nov 5, 2026
78c3c34
Let a debugger condition name an enum value by its enumeration
lagergren Nov 5, 2026
42d1ef2
Give X145 a reference search that waits until it is canceled
lagergren Nov 5, 2026
5a4dbf0
Offer Create class for the diagnostic of a statement that constructs it
lagergren Nov 5, 2026
f8473cd
Extract statements from a selection of whole lines
lagergren Nov 5, 2026
f11dd5b
Let xtc test, run and build take a project's test module with its mod…
lagergren Nov 5, 2026
2e00c72
Build a Gradle-imported project embedded in embedded mode
lagergren Nov 5, 2026
1adaae9
Keep a project's module, source and library order the same in every JVM
lagergren Nov 5, 2026
b751a70
Send LSP4IJ's held edits before it asks for completions or a call's s…
lagergren Nov 5, 2026
cceb438
Indent the rest of a line that Enter moves into the block it opens
lagergren Nov 5, 2026
be50ff0
Say on the debug console why a breakpoint's condition cannot be evalu…
lagergren Nov 5, 2026
5106745
Answer requests that a restarted client sends while it opens its file…
lagergren Nov 5, 2026
6663af6
Insert a method's call when its completion is chosen
lagergren Nov 5, 2026
50b72c8
Answer on-type formatting without waiting for the change to compile
lagergren Nov 5, 2026
d6426be
Check that Debug of Current File launches an Ecstasy configuration
lagergren Nov 5, 2026
7c5e798
Report a stopped run's end without the failure its stop causes
lagergren Nov 5, 2026
853e185
Check 7a.9 against the compiler's error budget, which the server keeps
lagergren Nov 5, 2026
114d0ee
Run the VS Code playbook after the extension suite, not with it
lagergren Nov 5, 2026
4a92deb
Get a closed file's errors to IntelliJ from the server's workspace re…
lagergren Nov 5, 2026
e9f6c9e
Prove a code action by compiling only the modules its edit reaches
lagergren Nov 5, 2026
7fce4df
Start a revision's code action compile from the previous one's, and l…
lagergren Nov 5, 2026
074b19c
Find a test's hang by the CPU it stops using, not by an hour on the c…
lagergren Nov 5, 2026
2d81135
Show a stopped run as stopped, without what its stop made it print
lagergren Nov 5, 2026
7e265af
Give each thread its own spare key for a hasher map's lookups
lagergren Nov 5, 2026
2185131
Make the debugger's expression fragment physical, which ends a paused…
lagergren Nov 5, 2026
ca42790
Complete a service's shutdown however it goes, and report its failure
lagergren Nov 5, 2026
672f8d4
Report a test that throws other than by failing an assertion as abort…
lagergren Nov 5, 2026
58309ad
Count the code actions at the tour's unused import and unused local
lagergren Nov 5, 2026
f160227
Answer an idle client's workspace pull of an unchanged graph without …
lagergren Nov 5, 2026
8522948
Show Rerun Failed Tests on an IntelliJ test run
lagergren Nov 5, 2026
e11cd1f
Wait for LSP4IJ's automatic code action answers only a budget
lagergren Nov 5, 2026
1eabd4e
Run testXtc whenever a tool reads its test report, never from the cache
lagergren Nov 5, 2026
3c35dea
Keep the compiles of the modules that depend on an edited one whose A…
lagergren Nov 5, 2026
4033e91
Run every test module's tests at once in IntelliJ: Run 'All Ecstasy T…
lagergren Nov 5, 2026
f190bd7
Keep each light test's stub server and wrappers to that test
lagergren Nov 5, 2026
7acbe30
Say which requests the language server is still answering, and which …
lagergren Nov 5, 2026
1d2d8a8
Tag the light tests' workarounds of two LSP4IJ gaps
lagergren Nov 5, 2026
70a6e97
List a closed test module's tests from the workspace pull's compile
lagergren Nov 5, 2026
802fa2e
Declare the code action kinds the language server's actions have
lagergren Nov 5, 2026
b57274d
Ask the server for no edit of a rename that Undo makes, and report a …
lagergren Nov 5, 2026
3bcdf60
Test that Undo takes a resolved code action's edit of one file back w…
lagergren Nov 5, 2026
41187ed
Safely delete a member whose body has an annotation, as an injected l…
lagergren Nov 5, 2026
b2c13f8
Restart a frame whose fiber ran code in its stop
lagergren Nov 5, 2026
1982002
End the tests of the modules a stopped VS Code test run did not reach
lagergren Nov 5, 2026
f410d44
Compile the VS Code extension's TypeScript into an empty out/
lagergren Nov 5, 2026
d915d53
Report no diagnostics for a library source's read-only copy
lagergren Nov 5, 2026
915e127
Offer Run 'All Ecstasy Tests' before Gradle's Tests in on Ecstasy-onl…
lagergren Nov 5, 2026
9e6cdc4
Ask the language server for full code action answers again, not ones …
lagergren Nov 5, 2026
3511e96
Put the embedded build's errors in the Problems window's Project Errors
lagergren Nov 5, 2026
3fd8633
Show a completion item's documentation on Ctrl+Q in IntelliJ, from it…
lagergren Nov 6, 2026
3c2bff5
Check that Ctrl+Z's Undo action takes a resolved code action's edit back
lagergren Nov 6, 2026
b188a0f
Find Run All Ecstasy Tests' existing configuration, not make "(1)" of it
lagergren Nov 6, 2026
ab745bd
Keep Run to Cursor's temporary breakpoint until the program stops, in…
lagergren Nov 6, 2026
ed0ed04
Answer xtc/busy with the server's open requests and its compiler's jobs
lagergren Nov 6, 2026
e2ba6f8
Record a playbook run's screen as video in the container
lagergren Nov 6, 2026
2a80787
Delete a playbook run's IDE folder once its logs are copied, in the c…
lagergren Nov 6, 2026
297d2ac
Check the plugin's features through the IntelliJ tour, and detect its…
lagergren Nov 6, 2026
e0ebfb1
Compose the tours' video from their recorded clips, each step from a …
lagergren Nov 6, 2026
d522233
Let VS Code set breakpoints in Ecstasy files
lagergren Nov 4, 2026
6aabadd
Debug the module of a class's file with F5
lagergren Nov 4, 2026
e80e022
Pass a run task's args in Gradle and command-line mode
lagergren Nov 4, 2026
b719691
Trace the language server's messages when xtc.trace.server says so
lagergren Nov 4, 2026
8f222bd
Fold comments and runs of imports with the compiler adapter
lagergren Nov 4, 2026
65a3f39
Run the editor's module from its Run button and context menu
lagergren Nov 5, 2026
4ec9330
Clear a deleted file's diagnostics in the next workspace pull
lagergren Nov 5, 2026
9f82f1b
Say when a move leaves the uses of its sources as they were
lagergren Nov 5, 2026
418713a
Say how many embedded runs the server tracks, and where a test is
lagergren Nov 5, 2026
698882c
Fail the playbooks' diagnostics waits once their reports are final
lagergren Nov 6, 2026
a95ae52
Add playbook cases X342-X349 for xunit tests, in both editors
lagergren Nov 6, 2026
3defa97
Give a VS Code tour's run its screen recording, and every run only it…
lagergren Nov 6, 2026
15b2a89
Record a tour of the VS Code extension that checks what it shows
lagergren Nov 6, 2026
420ccb7
Drop XtcRunConfigurationTest's redundant casts to TaskOutputsInternal
lagergren Nov 6, 2026
d0e40e5
Give a completion item's resolved documentation to Ctrl+Q through pub…
lagergren Nov 6, 2026
49d3cb6
Keep the compiles of modules that compiled when only private declarat…
lagergren Nov 6, 2026
ac31675
Expect the card game's Hand to keep heading when Safe delete removes …
lagergren Nov 6, 2026
c0097ba
Clear a removed file's report once in workspace pulls that name its r…
lagergren Nov 6, 2026
cd2cf03
Compile a library source's copy on its own even once a compile has na…
lagergren Nov 6, 2026
dcac51c
Ask the server again for a move's edits when a change overtook its an…
lagergren Nov 6, 2026
018d2f0
Make the VS Code tour pass as one whole run, unrecorded
lagergren Nov 6, 2026
bfbcf1c
Press the keymap's own Undo key in the IntelliJ tour
lagergren Nov 6, 2026
b67f817
Undo in the IntelliJ tour from the editor as the change left it
lagergren Nov 6, 2026
dfca98f
Ask before Undo takes back a rename or move that changed several files
lagergren Nov 6, 2026
b7c1cd8
Answer Undo's question in the IntelliJ tour and playbook as it offers
lagergren Nov 6, 2026
af1535e
Rename a method of four files in the IntelliJ tour, and show Undo's q…
lagergren Nov 6, 2026
15abe04
Rename cardMatches across four files in the VS Code tour, undone by C…
lagergren Nov 6, 2026
988a3fc
Check in the VS Code tour that Ctrl+Z takes a quick fix back whole
lagergren Nov 6, 2026
e1bc4cc
Show the VS Code tour's Undo of the four-file rename as steps
lagergren Nov 7, 2026
24ff833
Wait in the IntelliJ tour for Go to symbol's popup to close, and neve…
lagergren Nov 7, 2026
076fb3e
Keep prepareLibraryPlaybook's JVM to SLF4J's warnings
lagergren Nov 7, 2026
f20da26
Print the IntelliJ tour's progress in the build's output, step by step
lagergren Nov 7, 2026
eef1edd
Print both compiler playbooks' progress per case in the build's output
lagergren Nov 7, 2026
49de29a
Report the written video's real length from the tour composer
lagergren Nov 7, 2026
a496967
Fail the debugger probe's waits when nothing is in progress for a minute
lagergren Nov 7, 2026
ed319f1
Remove the unused xtc/runnableTargets request
lagergren Nov 7, 2026
6aa0d35
Answer hover and Go to Definition in a library copy that the debugger…
lagergren Nov 7, 2026
8130553
Offer Run All Ecstasy Tests beside Gradle's Tests in on mixed test fo…
lagergren Nov 7, 2026
ea182cb
Compile a run's embedded build again when its files change on disk as…
lagergren Nov 7, 2026
9782576
Wait in the IntelliJ tour for the new server's didOpen before File St…
lagergren Nov 7, 2026
30f59fa
Wait in the VS Code tour for the $xtc problem matcher's error after a…
lagergren Nov 7, 2026
63984ac
Upgrade the VS Code extension's npm dev tools past the MSAL, glob and…
lagergren Nov 9, 2026
64065aa
Add IDE plugin packaging and install tasks, and quiet vsce's file tree
lagergren Nov 10, 2026
2718b47
Navigate the XDK's library sources: definitions from their names, fra…
lagergren Nov 10, 2026
8da52de
Delete the language server's temporary directories once no server nee…
lagergren Nov 10, 2026
3a64b27
Name the tours' video and deck after their editor, tour-intellij and …
lagergren Nov 10, 2026
9f6f40f
Keep a server directory's lock beside it, where reading the directory…
lagergren Nov 10, 2026
b51ed05
Compile an opened XDK source with its whole library, for navigation i…
lagergren Nov 10, 2026
f72453c
Keep Python bytecode out of the repository
lagergren Nov 11, 2026
a26cfd0
Compile a library source's ecstasy-library content with its library, …
lagergren Nov 11, 2026
d4f48b6
Add playbook case X350 for navigation inside an XDK library's source,…
lagergren Nov 11, 2026
3bece47
Wait for a fully decorated editor before the UP17 probe's decorated r…
lagergren Nov 11, 2026
54f5697
Add lang/doc/configuration.md, one reference for the lang tooling's c…
lagergren Nov 11, 2026
f6247e2
Say in AGENTS.md that gradle.properties turns the lang build flags on
lagergren Nov 11, 2026
a0ce53a
Give a document gone from the stub server's workspace report an empty…
lagergren Nov 11, 2026
fb0e53a
Compose recorded tours again, and write the deck to its own file, in …
lagergren Nov 11, 2026
bcc2440
Wait for the run widget's Debug of Current File before clicking it, i…
lagergren Nov 11, 2026
309404e
Make .vscode before writing launch.json in the VS Code tour's Debuggi…
lagergren Nov 11, 2026
6b446f0
Make a test added to an open test module a new report of its own diag…
lagergren Nov 11, 2026
6361eb6
Correct six statements in the lang docs that the configuration refere…
lagergren Nov 11, 2026
167c9f4
Make the UP17 probe's decorated replacement start past the highlighte…
lagergren Nov 11, 2026
0484286
List a closed file's errors in IntelliJ's Project Errors without a Bu…
lagergren Nov 11, 2026
b0fbef4
Check IntelliJ's Project Errors in X341: a closed member's errors wit…
lagergren Nov 11, 2026
f5a8775
Depend optionally on IntelliJ 2026.3's Problems view plugin, whose cl…
lagergren Nov 11, 2026
6cb6fbe
Report the embedded build's errors to the Build window as messages to…
lagergren Nov 11, 2026
68b6355
Check in X341 that only the provider lists a Build's errors, and read…
lagergren Nov 11, 2026
0adad36
Keep the stale instrumented classes of an older build off the plugin'…
lagergren Nov 11, 2026
d102bfb
Report the server's heap after collections and its compile queue's wa…
lagergren Nov 12, 2026
734bf69
Run the language server on ZGC with a 1 GB soft heap limit unless its…
lagergren Nov 12, 2026
7bac54a
Tell IntelliJ of the playbook's disk changes at once, and wait for fi…
lagergren Nov 12, 2026
6945650
Make the retention test's cancellations and the library content test'…
lagergren Nov 12, 2026
31452dd
Restart the Ecstasy language server with Ctrl+Alt+X, then R
lagergren Nov 12, 2026
5dca8a8
Treat the driver's own Structure tree expansion timeout as not yet ex…
lagergren Nov 12, 2026
8ba7ca5
Give VS Code's Restart Language Server the same shortcut, Ctrl+Alt+X,…
lagergren Nov 12, 2026
cd462de
Point the docs' line citations at the lines today's changes moved
lagergren Nov 12, 2026
8c15a82
Move and rename through the playbook's probes only once IntelliJ has …
lagergren Nov 12, 2026
145b1fd
Choose the Ecstasy build mode with Ctrl+Alt+X, then B, in both editors
lagergren Nov 12, 2026
7a167f2
Refresh files IntelliJ has only after a case changes them on disk, no…
lagergren Nov 12, 2026
a1c56ee
Drive IntelliJ 2026.3 from the playbook, while the plugin still build…
lagergren Nov 12, 2026
98cba6b
Let a playbook run shorten its hang bound with -PintellijPlaybookHang
lagergren Nov 12, 2026
6fb154a
Keep discovered modules that share a name out of the graph, instead o…
lagergren Nov 12, 2026
1e22e24
Analyze the XDK's own libraries from their sources in the XVM reposit…
lagergren Nov 12, 2026
f90b7bc
Warn of duplicate discovered module names only while the discovered g…
lagergren Nov 12, 2026
ffa4934
Replace a bundled library with any workspace module of its name, howe…
lagergren Nov 12, 2026
cb66158
Turn the IntelliJ plugin's searchable options off with the platform p…
lagergren Nov 16, 2026
edfbcfd
Publish previews of the IntelliJ plugin and VS Code extension from a …
lagergren Nov 17, 2026
53d5396
Name the previews "Ecstasy Language Support (bleeding edge)", and war…
lagergren Nov 17, 2026
25fbecc
Leave the lang build out of the root build by default again
lagergren Nov 17, 2026
5b7be6e
Let the debugger find a module's sources where the language server says
lagergren Nov 18, 2026
301a451
Wait in the VS Code playbook until the server has heard of a case's c…
lagergren Nov 18, 2026
cef5776
Ask the Structure view again when LSP4IJ before 0.30.0 keeps an edit'…
lagergren Nov 18, 2026
925eda9
Count an IntelliJ playbook case as hung after ten minutes, not an hour
lagergren Nov 18, 2026
bb51866
Tell IntelliJ at once of the Gradle files the compiler-import playboo…
lagergren Nov 19, 2026
f602b50
Wait in the IntelliJ playbook's source Move check while IntelliJ has …
lagergren Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
86 changes: 79 additions & 7 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ on:
type: boolean
required: false
default: false
lsp-heavy-tests:
description: 'Run every LSP test and case: the ones that start processes, the extended retention workload and every parameterized case (also enable include-lang)'
type: boolean
required: false
default: false
include-lang:
description: 'Include lang projects in build and run tree-sitter validation'
type: boolean
Expand All @@ -90,6 +95,12 @@ env:
ORG_GRADLE_PROJECT_includeBuildAttachManualTests: ${{ github.event_name != 'workflow_dispatch' || !(github.event.inputs.skip-tests == true || github.event.inputs.skip-tests == 'true') }}
ORG_GRADLE_PROJECT_xtcPluginOverrideVerboseLogging: true
RUN_INTEGRATION_TESTS: true
# Keep compiler regressions and a complete retention smoke test in every applicable PR run: the LSP
# tests' default tier, which leaves out the tests that start processes and the longer repetition
# workload, and runs each parameterized test's first case only. Pushes run every test and case, and
# a dispatch with lsp-heavy-tests runs them before merge.
ORG_GRADLE_PROJECT_lspTests: ${{ (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && (github.event.inputs.lsp-heavy-tests == true || github.event.inputs.lsp-heavy-tests == 'true'))) && 'all' || 'default' }}
ORG_GRADLE_PROJECT_lspTestForks: 2

# Lang build inclusion - overrides gradle.properties default (true) to exclude lang
# from push/PR CI builds. Only included via workflow_dispatch with include-lang=true.
Expand Down Expand Up @@ -696,7 +707,7 @@ jobs:
# Gradle stops at the first failing task and names it in the output.
# - core: tree-sitter grammar compiles (tree-sitter generate), parser handles the
# XDK corpus, native libraries build for all platforms (cached by content
# hash); LSP adapter tests with the tree-sitter adapter; DSL tests, which also
# hash); both LSP adapters against one compiler-default artifact; DSL tests, which also
# read the XDK corpus
# - VS Code extension: headless integration tests, then bundle and package the VSIX, and,
# only when the repository variable VSCODE_MARKETPLACE_PUBLISH is true, the
Expand Down Expand Up @@ -729,14 +740,17 @@ jobs:
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "🌳 LANG VALIDATION: core $VALIDATE_CORE, VS Code extension $VALIDATE_VSCODE"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
./gradlew $GRADLE_OPTIONS $LANG_OPTS -Plsp.adapter=treesitter $LANG_TASKS
# Keep the same packaged default as the main build and stdio checks. Switching
# defaults rewrites build-info and the JAR, invalidating every test's classpath and
# rerunning the entire suite. Tests select Tree-sitter explicitly where needed.
./gradlew $GRADLE_OPTIONS $LANG_OPTS -Plsp.adapter=compiler $LANG_TASKS

echo ""
if [ "$VALIDATE_CORE" = "true" ]; then
echo "✅ Grammar: VALID"
echo "✅ Corpus parsing: PASSED"
echo "✅ Native libraries: BUILT"
echo "✅ Tree-sitter adapter tests: PASSED"
echo "✅ Compiler and Tree-sitter adapter tests: PASSED"
echo "✅ DSL tests: PASSED"
fi
if [ "$VALIDATE_VSCODE" = "true" ]; then
Expand All @@ -750,6 +764,18 @@ jobs:
echo "🎉 ALL LANG VALIDATION COMPLETE"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"

- name: Verify the packaged compiler LSP over stdio
if: |
success() && matrix.os == 'ubuntu-latest' &&
steps.publish-flags.outputs.validate-core == 'true'
shell: bash
env:
GRADLE_OPTS: ${{ steps.versions.outputs.gradle-jvm-opts }}
run: |
./gradlew ${{ steps.versions.outputs.gradle-options }} \
-PincludeBuildLang=true -PincludeBuildAttachLang=true -Plsp.adapter=compiler \
:lang:lsp-server:compilerStdioTest

- name: Require compiler-consumer test results
if: |
success() && matrix.os == 'ubuntu-latest' &&
Expand All @@ -759,12 +785,58 @@ jobs:
python3 - <<'PYTEST'
from pathlib import Path
from xml.etree import ElementTree
result = ElementTree.parse(Path("lang/lsp-server/build/test-results/test/TEST-org.xvm.lsp.adapter.CompilerConsumerTest.xml")).getroot()
counts = {key: int(result.attrib[key]) for key in ("tests", "failures", "errors", "skipped")}
assert counts["tests"] > 0 and all(counts[key] == 0 for key in ("failures", "errors", "skipped")), counts
print("adapter.CompilerConsumerTest", counts)
results = Path("lang/lsp-server/build/test-results/test")
suites = [
"adapter.CompilerConsumerTest",
"adapter.XdkAdapterTest",
"adapter.XdkNavigationTest",
"adapter.XdkDiagnosticTest",
"adapter.XdkAdapterLifecycleTest",
"adapter.SemanticModelTest",
"adapter.CompilerProjectTest",
"adapter.TypeInfoDiagnosticsTest",
"adapter.TypeInfoFinalCompositionTest",
"adapter.EmbeddingDiagnosticsTest",
"adapter.XdkModuleSessionTest",
"adapter.XdkRecoveryTest",
"adapter.XdkPartialAnalysisTest",
"adapter.CompilerCallSiteTest",
"server.XdkModuleServerTest",
"server.XdkLanguageServerTest",
"server.AdapterBackendTest",
]
import os, re
# the default tier runs only a parameterized test's first case and skips the others, which
# JUnit names [2] and on (the report keeps no reason); any other skip is a test that did not
# run, which these suites must not have
later = re.compile(r"\[(\d+)\]")
tiered = os.environ.get("ORG_GRADLE_PROJECT_lspTests", "default") != "all"
def counts(path):
result = ElementTree.parse(path).getroot()
found = {key: int(result.attrib[key]) for key in ("tests", "failures", "errors")}
skipped = [case.get("name") for case in result.iter("testcase") if case.find("skipped") is not None]
cases = [name for name in skipped if tiered and (m := later.match(name)) and int(m.group(1)) > 1]
found["skipped"] = len(skipped) - len(cases)
found["later cases"] = len(cases)
return found
for suite in suites:
found = counts(results / f"TEST-org.xvm.lsp.{suite}.xml")
assert found["tests"] > 0 and all(found[key] == 0 for key in ("failures", "errors", "skipped")), (suite, found)
print(suite, found)
found = counts("lang/lsp-server/build/test-results/compilerStdioTest/TEST-org.xvm.lsp.server.XdkStdioTest.xml")
assert found["tests"] > 0 and all(found[key] == 0 for key in ("failures", "errors", "skipped")), ("server.XdkStdioTest", found)
print("server.XdkStdioTest", found)
PYTEST

- name: Upload LSP test results and timings
if: always() && matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v7
with:
name: lsp-test-results-${{ env.ARTIFACT_SHA }}
path: lang/lsp-server/build/test-results/**/*.xml
if-no-files-found: ignore
retention-days: 7

# The checks that lang validation ran passed; later runs of this pull request on the
# same inputs skip them.
- name: Record lang core checks pass
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -642,10 +642,13 @@ jobs:
cp "${VSIX_FILES[0]}" "$ASSET_NAME"
sha256sum "$ASSET_NAME" > "$CHECKSUM_NAME"
VERSION=$(unzip -p "$ASSET_NAME" extension/package.json | jq -r '.version')
# The oldest VS Code the extension installs on, from its manifest (e.g. ^1.140.0).
ENGINE=$(unzip -p "$ASSET_NAME" extension/package.json | jq -r '.engines.vscode')

echo "asset-name=$ASSET_NAME" >> $GITHUB_OUTPUT
echo "checksum-name=$CHECKSUM_NAME" >> $GITHUB_OUTPUT
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "engine=${ENGINE#^}" >> $GITHUB_OUTPUT

echo "📦 Prepared release assets (extension version $VERSION):"
ls -lh "$ASSET_NAME" "$CHECKSUM_NAME"
Expand All @@ -665,6 +668,7 @@ jobs:

RELEASE_TAG="vscode-extension-snapshots"
VERSION="${{ steps.prepare.outputs.version }}"
ENGINE="${{ steps.prepare.outputs.engine }}"
COMMIT="${{ steps.commit.outputs.commit }}"
ASSET_NAME="${{ steps.prepare.outputs.asset-name }}"
CHECKSUM_NAME="${{ steps.prepare.outputs.checksum-name }}"
Expand All @@ -676,7 +680,7 @@ jobs:
Build commit: \`${COMMIT}\`
Build date: ${BUILD_DATE}

Requires VS Code 1.101 or newer. Install from the Extensions view via ... -> Install from VSIX...,
Requires VS Code ${ENGINE} or newer. Install from the Extensions view via ... -> Install from VSIX...,
or from a terminal: \`code --install-extension ${ASSET_NAME}\`

Download the current GitHub snapshot VSIX: \`${ASSET_NAME}\`."
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*.dSYM
*.xtc

# Python bytecode (the tour scripts)
__pycache__/
*.pyc

# Packages
*.7z
*.dmg
Expand Down
10 changes: 8 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ Non-`clean` combinations are fine: `./gradlew build installDist`, `./gradlew tes
- `settings.gradle.kts` is an aggregator root; root `build` is an aggregate lifecycle over the included builds.
- Always included: `javatools`, `javatools_jitbridge`, `javatools_utils`, `javatools_unicode`, `plugin`, `xdk`, `docker`.
- Optional builds are gated by `includeBuildLang` / `includeBuildManualTests` (visibility) and attached to the
root lifecycle by `includeBuildAttachLang` / `includeBuildAttachManualTests`. All default to `false`.
root lifecycle by `includeBuildAttachLang` / `includeBuildAttachManualTests`. `gradle.properties` turns both
lang flags on, since the language server compiles through javatools; CI's push and pull request builds turn
`includeBuildLang` off (`commit.yml`). The manual-tests flags default to `false`.
- `manualTests` is a fake third-party consumer build that verifies published/composite plugin+XDK behavior.
- Running any `:lang:*` task from root needs BOTH flags (either one alone fails with "project ':lang' not found"):
- Running any `:lang:*` task from root needs BOTH flags on (either one alone fails with "project ':lang' not
found"); pass them where they may be off, such as in CI:

```bash
./gradlew :lang:<task> -PincludeBuildLang=true -PincludeBuildAttachLang=true
Expand Down Expand Up @@ -105,6 +108,9 @@ Non-`clean` combinations are fine: `./gradlew build installDist`, `./gradlew tes
- When fixing bugs in existing code, do not perform broad modernization rewrites unless they are needed for the fix or make
the touched code materially safer or clearer.
- Keep the style of the code you add to an existing class consistent with its current style.
- Match inline comment capitalization and punctuation to the surrounding method/class. In Java code
that uses lowercase comment openings without trailing periods, follow that convention; keep normal
sentence formatting for Javadoc.


## General
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This repository contains comprehensive documentation organized hierarchically:
### Language Documentation
- **[Ecstasy Language Wiki](https://github.com/xtclang/xvm/wiki)** - Language specification, tutorials, and examples
- **[Ecstasy Language Website](http://xtclang.org/)** - Official language website and resources
- **[Core Documentation](doc/DOCUMENTATION.md)** - Language specification files, BNF grammar, and VM instruction set
- **[Core Documentation](doc/documentation.md)** - Language specification files, BNF grammar, and VM instruction set

---

Expand Down
72 changes: 72 additions & 0 deletions build-logic/common-plugins/src/main/kotlin/ArchiveChecks.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import org.gradle.api.GradleException
import java.io.File
import java.io.IOException
import java.io.InputStream
import java.io.OutputStream
import java.security.MessageDigest
import java.util.zip.ZipFile

/**
* Fails, and deletes [archive], unless it reads as a whole zip or jar: every entry at its offset, with all of its
* data. Two builds of one checkout that write or copy the same jar at once can leave one that lists its entries but
* cannot read them. A later build would take such a file as up to date, since the fingerprint it recorded was taken
* from the finished file, so the check deletes it and fails instead, and the next build makes it again.
*
* @param what what the archive is, as the failure names it
*/
fun requireWholeArchive(
archive: File,
what: String,
) {
val broken =
try {
ZipFile(archive).use { zip ->
zip.entries().asSequence().filterNot { it.isDirectory }.forEach { entry ->
zip.getInputStream(entry).use { it.transferTo(OutputStream.nullOutputStream()) }
}
}
null
} catch (e: IOException) {
e
}
if (broken != null) {
archive.delete()
throw GradleException(
"$what, $archive, is not a whole archive (${broken.message}): another build was probably writing it at the " +
"same time. It is deleted; run the build again.",
broken,
)
}
}

/**
* Fails, and deletes [archive], unless its [entry] has the same bytes as [expected], as a copy of [expected] that an
* archive was made with must. See [requireWholeArchive] for why such a copy can differ.
*
* @param what what the archive is, as the failure names it
*/
fun requireArchivedCopy(
archive: File,
entry: String,
expected: File,
what: String,
) {
val archived = ZipFile(archive).use { zip -> zip.getEntry(entry)?.let { found -> zip.getInputStream(found).use(::sha256) } }
if (archived == null || !archived.contentEquals(expected.inputStream().use(::sha256))) {
archive.delete()
throw GradleException(
"$what, $archive, does not hold $expected as $entry: another build was probably writing it at the same " +
"time. It is deleted; run the build again.",
)
}
}

private fun sha256(input: InputStream): ByteArray {
val digest = MessageDigest.getInstance("SHA-256")
val buffer = ByteArray(1 shl 16)
while (true) {
val read = input.read(buffer)
if (read < 0) return digest.digest()
digest.update(buffer, 0, read)
}
}
23 changes: 21 additions & 2 deletions build-logic/common-plugins/src/main/kotlin/CopyFileTask.kt
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
import org.gradle.api.DefaultTask
import org.gradle.api.GradleException
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.tasks.InputFile
import org.gradle.api.tasks.OutputFile
import org.gradle.api.tasks.PathSensitive
import org.gradle.api.tasks.PathSensitivity
import org.gradle.api.tasks.TaskAction
import org.gradle.work.DisableCachingByDefault
import java.nio.file.Files

/** Copies one file without claiming ownership of its destination directory. */
/**
* Copies one file without claiming ownership of its destination directory. The copy must have the source's bytes,
* and a jar or zip must read as a whole archive ([requireWholeArchive]); otherwise it is deleted and the task fails,
* since a source that another build was writing while it was copied leaves a copy that a later build would take as
* up to date.
*/
@DisableCachingByDefault(because = "Copying a single file is cheaper than caching it")
abstract class CopyFileTask : DefaultTask() {
@get:InputFile
Expand All @@ -19,6 +26,18 @@ abstract class CopyFileTask : DefaultTask() {

@TaskAction
fun copy() {
sourceFile.get().asFile.copyTo(outputFile.get().asFile, overwrite = true)
val source = sourceFile.get().asFile
val target = outputFile.get().asFile
source.copyTo(target, overwrite = true)
if (Files.mismatch(source.toPath(), target.toPath()) != -1L) {
target.delete()
throw GradleException(
"$source changed while it was copied to $target: another build was probably writing it. The copy is " +
"deleted; run the build again.",
)
}
if (target.extension in setOf("jar", "zip")) {
requireWholeArchive(target, "The copy of ${source.name}")
}
}
}
Loading