Skip to content

Latest commit

 

History

History
175 lines (142 loc) · 4.61 KB

README.md

File metadata and controls

175 lines (142 loc) · 4.61 KB
SLAMP Logo

🚀 SLAMP It!

Smart 𝙻ist 𝙰nd 𝙼odel Prompter

Because life's too short to copy-paste files one by one into your AI chat! 🤖

Build Status Version Downloads License: MIT


demo

💡 What's SLAMP?

⚡️ SLAMP is your new IntelliJ IDEA plugin that makes sharing code with AI models 🤖 a breeze! Just "SLAMP It" 🚀

Ever found yourself:

  • 😫 Manually copying multiple files into your favorite LLM?
  • 🔍 Losing track of which files you've shared?
  • 📋 Formatting code snippets for better AI understanding?

Say goodbye to these hassles – just SLAMP It!

🚀 Features

Collection
Smart Collection
Organization
Auto Organization
Clipboard
Clipboard Magic

📋 File Collection

  • 🎯 Quick toggle button in the main toolbar
  • ✨ Visual feedback with Add/Remove icons
  • 📝 Automatic path shortening
  • 🔄 Multi-file support

🎯 Smart Organization

  • 🤖 Auto-separation of code and test files
  • 📁 Full relative paths preserved
  • 🎨 Clear [CODE] and [TEST] sections
  • 💡 Ready-to-use [INSTRUCTION] prompt section

⚡ Clipboard Management

  • ⚡️ Real-time clipboard updates
  • 🎯 LLM-optimized formatting
  • 🔔 Clear action notifications
  • 🗑️ One-click clearing

🎮 How to SLAMP It?

1. Add Files 🎯

Click the toolbar toggle button
while viewing any file

2. View Collection 📝

Open File Collector window to
see your gathered files

3. Use Content 🚀

Content auto-copied and
formatted for LLM prompts

⚙️ Installation

From JetBrains Marketplace 1. Open IntelliJ IDEA 2. Navigate to: `Settings/Preferences` > `Plugins` > `Marketplace` 3. Search for "SLAMP" 4. Click `Install`
Manual Installation 1. Download the [latest release](https://github.com/alexandrelam/SLAMP/releases/latest) 2. In IntelliJ IDEA: - Go to `Settings/Preferences` > `Plugins` - Click ⚙️ > `Install plugin from disk...` - Select the downloaded file

🛠️ Development

# Clone the repository
git clone https://github.com/alexandrelam/SLAMP.git
# Build the plugin
./gradlew build
# Run with IDE for testing
./gradlew runIde

📝 Output Format

[CODE]
// src/main/kotlin/com/example/MyClass.kt
class MyClass {
    // ... code content
}
[TEST]
// src/test/kotlin/com/example/MyClassTest.kt
class MyClassTest {
    // ... test content
}
[INSTRUCTION]

💖 Support & Contributions

Report Bug · Request Feature · Submit PR

Star this repo if you found it useful! ⭐


Made with 💜 for developers who love talking to AI

SLAMP It - Because your code deserves better than ctrl+c, ctrl+v!

When in doubt, SLAMP It out!