Skip to content

feat: Support @Terminal Context Provider and RunInTerminal Button for Jetbrains Plugin #6702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

SoLoHiC
Copy link

@SoLoHiC SoLoHiC commented Jul 18, 2025

Description

  1. Just noticed that VS Code extension has supported that @Terminal Context Provider, but Jetbrains plugin hasn't. So I added the terminal plugin dependency and implemented the method 'getTerminalContents()' in IntelijIde.kt.
  2. Since I've added that terminal plugin dependency, I digged a few on Jetbrains Docs and figured out how to implement 'paste the code to terminal', which also behaves like VS Code Extension. So, the 'runCommand()' method in IntelijIde.kt has also be implemented too now.

Checklist

  • I've read the contributing guide
  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

Screenshots

@Terminal works now, as below:
image

the 'RunInTerminal' button works now also:
image

Tests

don't really find much of tests under the extensions/intelij package. if you guys would like to provide more examples, i'd happy to follow the standards.

@SoLoHiC SoLoHiC requested a review from a team as a code owner July 18, 2025 13:49
@SoLoHiC SoLoHiC requested review from sestinj and removed request for a team July 18, 2025 13:50
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 18, 2025
@SoLoHiC SoLoHiC force-pushed the feature/jetbrainPlugins/terminalContent branch from 6ee461a to 2941338 Compare July 21, 2025 01:47
@SoLoHiC SoLoHiC force-pushed the feature/jetbrainPlugins/terminalContent branch from 2941338 to ebd5154 Compare July 21, 2025 01:58
@SoLoHiC SoLoHiC changed the title Feature/jetbrain plugins/terminal content feat: Support @Terminal Context Provider and RunInTerminal Button for Jetbrains Plugin Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant