Skip to content
Source
Sign inSign up
pingdotgg/t3code

Feature/intellij editors #2475

MergedMinigamer42(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/2475/headmerged by juliusmarminge View on GitHub

What Changed

  • Added remaining IntelliJ editors for better DX, namely:
    • Aqua
    • CLion (C, C++)
    • DataGrip (SQL)
    • DataSpell (Python, R)
    • GoLand (Go)
    • IntelliJIdea (Java, Kotlin, Scala, Groovy)
    • PhpStorm (PHP)
    • PyCharm (Python)
    • Rider (C#)
    • RubyMine (Ruby)
    • RustRover (Rust)
    • WebStorm (JavaScript, TypeScript)
  • Fixed file name normalization, because openening file links from the chat failed image

Why

  • Because they were missing

UI Changes

  • editor selector image

  • file outside of the project image

  • external link renders as expected image

  • before and after for file links image image

  • before and after in a longer text image image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Medium Risk Moderate risk due to new editor IDs affecting editor selection/launch behavior and a behavioral change in how chat file links encode line/column positions, which could impact existing links or integrations.

Overview Editor support expanded: adds 11 JetBrains IDEs (aqua, clion, datagrip, dataspell, goland, phpstorm, pycharm, rider, rubymine, rustrover, webstorm) to the shared editor contract and wires them into the web editor picker with new SVG icons; server-side tests are extended to validate launch args and Windows editor discovery.

Markdown file-link handling tightened: normalizes markdown link destinations (trims and unwraps <...>), fixes Windows drive-path normalization (e.g. /C:/...), and updates chat rendering/tests so file links use colon-style positions (path:line[:col]) instead of hash anchors (#LxCy) when opening in editors.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a2e9b45a858d45e7b57937e024a1502937b4f2df. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Add support for 11 additional JetBrains editors in the editor picker

  • Adds editor definitions for Aqua, CLion, DataGrip, DataSpell, GoLand, PhpStorm, PyCharm, Rider, RubyMine, RustRover, and WebStorm to editor.ts, each using line-column launch style.
  • Adds corresponding icons in a new JetBrainsIcons.tsx module and wires them into the OpenInPicker.
  • Improves markdown link handling in markdown-links.ts: angle-bracketed hrefs are now unwrapped, Windows drive paths with a leading slash are normalized, and file URI hrefs produce colon-separated line/column positions.
  • Behavioral Change: file link hrefs in chat now use colon-separated positions (e.g. file:1:7) instead of hash anchors (e.g. file#L1C7).
Macroscope summarized a2e9b45.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro

      Run ID: ed16d127-1c1b-4c26-a796-c8e18f42294d

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests

      Tip

      💬 Introducing Slack Agent: Turn conversations into code.

      Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

      • Generate code and open pull requests
      • Plan features and break down work
      • Investigate incidents and troubleshoot customer tickets together
      • Automate recurring tasks and respond to alerts with triggers
      • Summarize progress and report instantly

      Built for teams:

      • Shared memory across your entire org—no repeating context
      • Per-thread sandboxes to safely plan and execute work
      • Governance built-in—scoped access, auditability, and budget controls

      One agent for your entire SDLC. Right inside Slack.

      👉 Get your free trial and get 200 agent minutes per Slack user (a $50 value).


      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands and usage tips.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    3. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      Approvability

      Verdict: Approved

      Adds 11 JetBrains IDE options to the existing editor picker by extending arrays and adding SVG icon components. Changes follow established patterns, are well-tested, and don't introduce new workflows or capabilities beyond the existing editor selection feature.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    4. Cursor Bugbot has reviewed your changes and found 1 potential issue.

      Fix All in Cursor ❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard/bugbot). Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a2e9b45a858d45e7b57937e024a1502937b4f2df. Configure [here](https://www.cursor.com/dashboard/bugbot).
      @@ -354,4 +358,5 @@
      354358 }
      355359
      356360 function normalizeMarkdownLinkHrefKey(href: string): string {
      357- return rewriteMarkdownFileUriHref(href.trim()) ?? href.trim();
      361+ const normalizedHref = normalizeMarkdownLinkDestination(href);
      362+ return rewriteMarkdownFileUriHref(normalizedHref) ?? normalizedHref;

      Redundant double normalization in href processing

      Low Severity

      normalizeMarkdownLinkHrefKey calls normalizeMarkdownLinkDestination(href) and then passes the result to rewriteMarkdownFileUriHref, which internally calls normalizeMarkdownLinkDestination again on the already-normalized value. The normalization is idempotent so this isn't a functional bug, but it's unnecessary redundant work on every link href processed during rendering.

      Additional Locations (1)
      Fix in Cursor Fix in Web
      Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a2e9b45a858d45e7b57937e024a1502937b4f2df. Configure [here](https://www.cursor.com/dashboard/bugbot).
    5. juliusmarminge merged this166bce0

    6. juliusmarminge closed this

Sign in to join this conversation.