generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(go): add GoVersionChatContextProvider and GoWriteTestService
- Add `com.intellij.openapi.application.ReadAction` and `com.intellij.openapi.application.runReadAction` imports to `GoVersionChatContextProvider.kt` for better performance. - Wrap the code inside `ReadAction.compute` to execute it in a read action. - Update the return statement to return the result of `ReadAction.compute`. - Add `GoVersionChatContextProvider` class to provide chat context for Go versions. - Add `GoWriteTestService` class to provide test file context for Go tests. - Implement `runConfigurationClass` and `isApplicable` methods in `JavaWriteTestService.kt` using expression
- Loading branch information
Showing
5 changed files
with
84 additions
and
21 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters