hon454

Copy Selection Context — AI skill for Claude Code

AI community

JetBrains IDE plugin to copy file paths, line numbers, and selected code in AI-ready formats for Claude, ChatGPT, and other coding assistants.

How to install Copy Selection Context

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hon454/copy-selection-context and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Copy Selection Context does

JetBrains IDE plugin to copy file paths, line numbers, and selected code in AI-ready formats for Claude, ChatGPT, and other coding assistants.

Alternatives in AI

  • GPT CLI — Command-line interface for ChatGPT, Claude and Bard 724 ★
  • Pretty Mermaid Skills — To provide AI with Mermaid chart rendering capability, supporting both SVG and ASCII output formats 552 ★
  • Update Branch Name — by giselles-ai - Updates branch names with proper prefixes and formats, enforcing naming conventions, supporti 502 ★

README

Copy Selection Context

[![JetBrains Marketplace](https://img.shields.io/jetbrains/plugin/v/com.github.hon454.copy-selection-context?label=Marketplace)](https://plugins.jetbrains.com/plugin/30262-copy-selection-context) [![Release](https://img.shields.io/github/v/release/hon454/copy-selection-context)](https://github.com/hon454/copy-selection-context/releases/latest) [![Downloads](https://img.shields.io/github/downloads/hon454/copy-selection-context/total)](https://github.com/hon454/copy-selection-context/releases) [![Contributors](https://img.shields.io/github/contributors/hon454/copy-selection-context)](https://github.com/hon454/copy-selection-context/graphs/contributors) [![License](https://img.shields.io/github/license/hon454/copy-selection-context)](LICENSE)

**English** · **[한국어](README.ko.md)** · **[简体中文](README.zh-CN.md)** · **[繁體中文](README.zh-TW.md)** · **[日本語](README.ja.md)**

Copy file path + line numbers + code to clipboard in one shortcut — formatted for AI assistants.

Tired of manually typing file paths and line numbers when sharing code context with AI coding assistants like Claude or ChatGPT? **Copy Selection Context** copies `@path#Lline` formatted context to your clipboard with a single shortcut.

[![Get from JetBrains Marketplace](https://img.shields.io/badge/Get%20from-JetBrains%20Marketplace-000000?style=for-the-badge&logo=jetbrains&logoColor=white)](https://plugins.jetbrains.com/plugin/30262-copy-selection-context)

Features

  • One-shortcut copy — Ctrl+Alt+C copies file path + line numbers instantly
  • Relative or absolute paths — Choose between project-relative or absolute paths
  • Flexible output formats — Use Claude Code references, Path:Line output, or a custom template
  • Code content included — Optionally include selected code as a markdown code block
  • Copy history — Ctrl+Alt+H to browse recent copy history
  • GitHub/GitLab permalink — Copy a Git permalink for the selected lines
  • Copy feedback — Mark