The tests use fixtures and operate on real files in a temp directory.
This change will allow us to confidently migrate from java.io.File to VFS.
Note: These tests are headless and starts the Continue binary. This gives us many possibilities because we can write fast and valuable tests without runIdeForUiTests.
The IntelliJ Platform plugin already includes classes like BasePlatformTestCase written in JUnit 3, which we should be using for unit testing.
We also have JUnit 5 for e2e testing. As a result, we had two different runners, which caused problems because we couldn’t use classes like UsefulTest since they required a different runner.
In order to fix that, I had to add `org.junit.vintage:junit-vintage-engine` to enable running both JUnit 3 and JUnit 5 tests.
Note: ideally, we should have a sourceSet named testIntegration with its own dependencies for E2E (robot, JUnit 5, video recorder).
That would give us a clean separation between E2E tests and unit tests. That would prevent accidental use of JUnit 5 classes in unit tests. We should do that in the future.
The new platform simplifies plugin config and allows us to remove some of the custom code.
I left the original Qodana and Kover configs, but looking at our workflow, i think it's currently dead code.
If we don’t plan to use them, I think we can remove these dependencies in the future.
Note: along with this migration, I had to bump a wrapper to latest version.
For some reason, we included the Kotlin standard library with the plugin, even though we had a property specifying we didn’t want to.
I saw no objections to removing this dependency, so I decided to do that.
From now on, we rely on older stdlib that's bundled with 2022.3+.
More context: https://github.com/continuedev/continue/pull/6431#issuecomment-3031838189
This proves my point regarding the removal of the standard library dependency.
I added plugin verification against versions 2022.3.3 (oldest) and 2025.1.4 (newest). Everything is working.
Plugin can be verified with `./gradlew verifyPlugin`. We can consider adding this to CI later.
I made a few small improvements that simplify the build scripts:
* Some properties were removed because they duplicated content from `plugin.xml` (e.g., supported version numbers, plugin ID, and similar - all were unnecessarily overridden inside `intellij {}`/`intellijPlatform {}`).
* I replaced `prepareSandbox` with a separate task that is now a dependency of all `runIde` tasks, so there is no need to declare each case individually.
* From now on, properties are read via delegation instead of calling our custom `properties(...)` function. This is type-safe (if a property is not declared, the build will fail).
* I removed the `kotlin("test")` dependency, which we were only using for `assertTrue`.
The e2e Autocomplete tests are very flaky, and unfortunately, I haven’t been able to find a solution yet. I will try to address this in upcoming fixes.
I believe that ultimately we should have max one e2e test describing the happy path, and the rest of the features should be tested with unit tests.
Our e2e tests are very inconvenient, which results in no one running them (because we hijack the input), so they should be kept to a minimum.
The rest of the e2e tests were already disabled (I assume I know why :D), so I didn't touch them.
Fun fact: with the removal of the standard library, we managed to remove all unnecessary dependencies except for Sentry and PostHog (which are included for obvious reasons).
* fix: Apply proxy settings on the Continue process using environment variables (solves #5242)
This is a new and simplified implementation for passing proxy config.
It's based on environment variables instead of dedicated message in the protocol, however it has some downsides.
More details:
* This will not work if we use the binary with USE_TCP, because these env vars can only be set for the process.
* The implementation of the process handler has partially changed its behavior. From now on, manual restart (including Continue: Restart Process action) has no artificial delay/it's instant. This was a bug IMO that is fixed now.
To test this in a development environment, you need to remove USE_TCP from the run configuration.
Currently, we only track two proxy settings controls: whether it's enabled and the proxy address along with the port.
To test this, you need to go into the settings, change the state of those controls, then apply. The activity polls their values, and if it detects a change, the service restarts the binary, which reads the new setting on start.
There should always be only one process per IDE, regardless of how quickly the settings are changed or how often the binary is restarted manually.
* fix: misc.xml
* fix
- Update main.yaml workflow to use reusable build-vscode-extension.yml
- Fix oneper script to properly handle commit SHA-based versioning
- Switch packages to use local file:// references for better dev experience
- Update build scripts to handle fetch package dependencies correctly
- Add VS Code task for building packages with extension
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
• Add editOutcome.jsonl logging for Agent Mode accept / rejects
• Capture original file content before applying changes to enable proper diff tracking
• Fix newline handling in IntelliJ and VS Code to prevent line count discrepancies, was causing lineChange count to be off by one
* fix: use HttpRequests in ContinueAuthService
* wip
* fix: Use HttpRequests everywhere in Jetbrains plugin
* build: Remove OkHttp from release (note: it's still used for testing)
* fix time
* remove todo
* remove todo (fixed)
Extra cleanup:
* Remove unused log4j dependency
We don't have any dependency that uses it, so this dependency was unnecessarily added to the release.
* Remove explicit version in patchPluginXml
The version is already retrieved from the project-level version / it was redundant.
* Remove commented-out publishPlugin.hidden + some noisy/redundant comments
I removed the commented-out code which doesn't work anyway (the hidden field is not available in this version of the JetBrains Gradle plugin).
### Test
> ./gradlew buildPlugin
Outputs distributions/continue-intellij-extension-1.0.28.zip
> export RELEASE_CHANNEL=eap
> ./gradlew buildPlugin
Outputs distributions/continue-intellij-extension-1.0.28-eap.zip