Skip to content

Added Prefer Native AI Assistant checkbox for non Vscode IDEs#1481

Merged
cx-kedar-bhujade merged 6 commits into
feature/AST-140982from
AST-134022-non-VsCode-ides-fix
Apr 1, 2026
Merged

Added Prefer Native AI Assistant checkbox for non Vscode IDEs#1481
cx-kedar-bhujade merged 6 commits into
feature/AST-140982from
AST-134022-non-VsCode-ides-fix

Conversation

@cx-kedar-bhujade
Copy link
Copy Markdown
Contributor

@cx-kedar-bhujade cx-kedar-bhujade commented Mar 27, 2026

Description

This change introduces logic to guide users in selecting and using an AI assistant based on their IDE environment and available extensions.


When is the banner shown?

After authentication, on the welcome page:

  • The system checks whether the user’s preferred AI assistant extension is installed.

Banner behavior

  • Preferred extension found → No banner is displayed
  • Not found, but 1 alternative available
    • Show blue info banner
    • Automatically switches to the available alternative
  • Not found, 2+ alternatives available
    • Show orange warning banner
    • User must manually select an assistant in Settings
  • No supported extensions found
    • Show orange warning banner prompting installation

Non–VS Code IDE Behavior (Cursor / Windsurf / Kiro)

  • If "Prefer Native AI Assistant" is enabled (default):
    • Banner is always hidden
    • Extension checks are skipped
    • Uses the IDE’s built-in AI assistant via clipboard integration

AI Assistant Selection (VS Code Settings)

Selection is configured via a dropdown in VS Code Settings:

Checkmarx One

  • Copilot
  • Claude

Developer Assist

  • Copilot

  • Claude

  • When user action is required, the banner includes a link to Settings for selection.


VS Code vs Non–VS Code Behavior

  • VS Code

    • Uses the selected assistant from the dropdown
    • Routes AI interactions through the corresponding extension (Copilot / Claude)
  • Non–VS Code IDEs

    • Default behavior uses native IDE AI assistant
    • Dropdown selection is ignored when "Prefer Native AI Assistant" is enabled
    • Interaction is handled via clipboard-based integration

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 31, 2026

Logo
Checkmarx One – Scan Summary & Detailse5016451-63a2-45f8-9972-c6e4dfccb931


New Issues (1) Checkmarx found the following issues in this Pull Request
# Severity Issue Source File / Package Checkmarx Insight
1 HIGH CVE-2026-27601 Npm-underscore-1.13.7
detailsRecommended version: 1.13.8
Description: Underscore.js is a utility-belt library for JavaScript. Prior to 1.13.8, the "_.flatten" and "_.isEqual" functions use recursion without a depth li...
Attack Vector: NETWORK
Attack Complexity: LOW
Vulnerable Package

@cx-kedar-bhujade cx-kedar-bhujade merged commit ec47a0f into feature/AST-140982 Apr 1, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants