- Previously, `getClassNames` only considered the scope for finding directories, but a directory might contain files which are and aren't part of the scope, such as a scope which only accepts Java files.
- This change is also an optimization since it avoids loading PSI files which aren't in the scope to begin with. For example, without this optimization, `PsiElementFinderImpl.getClassNames` loads Kotlin light classes even when the scope already excludes Kotlin files.
^IJPL-165129 fixed
^KTIJ-24642
GitOrigin-RevId: cf7ba0ab36e713583d81ae0a83b847f8d0155f44
This collection process is disabled by default. It is enabled by the `ide.activity.tracking.enable.debug` registry key.
GitOrigin-RevId: 9f9959f33cab6922869b57204f478f24ef82c198
Exception message with thread dumps is too huge, but this message can be duplicated in re-thrown exception.
GitOrigin-RevId: fa9a355493fb0d600901836263f0cdfd32370157
Without cache resets FileBasedStorage.cachedVirtualFile can leak between to test suites and lead to "Alien file" AssertionError in random places.
GitOrigin-RevId: fecec191cf86e700dd6f6b80274613cc5c86259f
Use name matching as it's done for JVM stdlib.
Allows removing org.jetbrains.kotlin.utils.LibraryUtils in kotlin.git.
Changes:
— Remove LibraryUtils usage and supporting code
— Add tests for watershed versions
— Allow requesting KLIBs from MavenDependencyUtil for the new tests
— Workaround: extract VFGist used for KotlinLibraryKind from the service
A comment about the last workaround. StdlibJsDetectorFacilityTest revealed a
Project leakage. The project is captured by a coroutine context and is hard
referenced through ComponentManager by an application-level virtual file gist
cleanup task. The exact reference chain is not clear, but removing the gist
construction from the service prevents the leakage.
KTIJ-27969
GitOrigin-RevId: 7d6dbe93f4aa3125f5d204a81babcf8483874cb4
- disabled tests are reported as KT-70426, KT-70427, KT-70428
- call line marker messages in BGT, same as in production
KT-70404
GitOrigin-RevId: 7b368ad384d13b0a04053a3e666a4e43edf7e37c
If newly introduced 'jps.build.use.workspace.model' registry option is enabled, required modules and libraries are added to the JPS build classpath, paths to global and project cache file for the workspace model are passed to the build process, and it loads the project model from them instead of reading the project configuration files.
It's an experimental approach, and it isn't fully implemented yet:
* it doesn't ensure that caches are up-to-date;
* the cache currently cannot be loaded by the build process because it references entities and other classes aren't available in the build process (e.g. ScratchRootsEntity and VirtualFileUrlBridge).
GitOrigin-RevId: 54a4a49566ca9dd0433c7a13251c2e28fc051e78
Rename methods
Fix debugger process await
Force stop debug process in tests
Do not create additional thread
fixing tests: wait for the debug process to stop
Test hotfix: await debugger thread complete
Introduce DebuggerCompletableFuture
fixing tests: do not rely that much on invokeRatherLater
fixing tests: command cancel may happen off debugger manager thread
added experimental annotations
Add DebuggerDispatcherTest
removed debugProcess param
reduce methods visibility
Call continuation in case of command cancellation
Fix test: call continuation in any case
Clean up
Unify invokeWithChecks
introduced onSuspend
Invoke resume in tests only after all commands complete
[debugger] IDEA-354542 Remove unused constructor parameter
Close test debugger manager thread on dispose
Close debugger manager thread in tests
Add extra check to the continuation set
Fix project leak in test, set up test disposable for DebuggerManagerThread
Launch single command once
Fix API test
Fix test: request source position from debugger manager thread
Clean up code
Clean up command scope creation
SuspendContextCommand logic should be skipped on coroutine resume
cancel coroutine scope in finally block
handle command cancellation
Rename .java to .kt
Fix read action
Start as completable future
Run with commands
Use coroutines in FileApplicabilityChecker
handle exceptions like before
Launch with dispatch
make internal
allow the dispatcher to work without a command in context
renamed debugger thread dispatcher
Add coroutines util functions
Wrap into readAction-s
Extract caching code in CompoundPositionManager
Small code clean up
minimize changes
IDEA-354542 Slow frame location resolve blocks the debugger - introduced PositionManagerAsync
Co-authored-by: Maksim Zuev <Maksim.Zuev@jetbrains.com>
Merge-request: IJ-MR-136324
Merged-by: Maksim Zuev <Maksim.Zuev@jetbrains.com>
GitOrigin-RevId: d78e8514b89afdde6bc710bb322d67ddea6449e8
- extract tests, which require old annotations
- return old name to method to add annotations
GitOrigin-RevId: c559cea10f942f72d5a19176d3ee808d46ad5dd2
- extracted new option
- reuse this option in MissortedModifiersInspection
- override uses this option too
GitOrigin-RevId: 39f3f72991240753c86c7f80df865728aa9743ad
Extract an interface that will allow Android Studio to inject a class that will handle ART VM debugger dependencies.
The interface is agnostic to ART. It should work for any remote VM.
GitOrigin-RevId: 78a210965ed2f61ebeb9de68dfc26d853b0312e5