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

Merged

Conversation

SoLoHiC
Copy link
Contributor

@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
Copy link
Contributor

@sestinj sestinj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice PR!

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Jul 22, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 22, 2025
@sestinj
Copy link
Contributor

sestinj commented Jul 22, 2025

@exigow just want to cc you here for awareness. Might be a nice thing to test out during your daily use. Though I've already reviewed this pretty closely and it seems like it's done perfectly

@sestinj sestinj merged commit 10861f2 into continuedev:main Jul 22, 2025
39 of 40 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Jul 22, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2025
@sestinj
Copy link
Contributor

sestinj commented Jul 22, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Jul 24, 2025

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm This PR has been approved by a maintainer released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants