Better HN
topnewbestaskshowjobs
Log inSign up

brostoffed

3 karma · joined Feb 25, 2025 (1y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

Here's something that i made which helps me out on a daily basis for the IDEA platform.

https://plugins.jetbrains.com/plugin/26658-contextbuilder

> ContextBuilder is a plugin that lets you combine and manage code files for AI prompts or other tooling. Features include a tool window with the same UI as the old ContextHistoryDialog, filetype exclusions, and a history manager.

You're able to select a directory, multiple directories, a file, multiple files and or a combination of them. After determining your selection, Right Click in the Project Explorer and you'll see "Generate Context".

2.

Show HN: Bookmarklet to Add TOC to ChatGPT's Chats(gist.github.com ↗)

4 points · by brostoffed · 1y ago · 1 comment

comment 1y ago · link · parent

I’m excited to share ContextBuilder – a new IntelliJ IDEA plugin designed to streamline your workflow for creating markdown contexts from your project files. What It Does:

ContextBuilder lets you select discrete files, folders, or any combination of both directly from your Project view. Simply right-click and choose Generate Context, and the plugin will:

Recursively gather file contents:

Whether you select a single file, an entire folder, or multiple selections, the plugin merges them into a single markdown document.

Immediate clipboard support:

The generated markdown context is automatically copied to your clipboard, ready for use in AI prompts, documentation, or code reviews.

Intuitive Tool Window Interface:

A docked tool window displays your context generation history, a detailed file tree preview, and even a token count (using jtokkit’s BPE encoding) to help you manage context size effectively.

Drag-and-Drop & History Management:

Easily add files by dragging and dropping them onto the tool window. The history view supports filtering, sorting (by date or name), and renaming entries, so you always know which context came from where.

---

Source: https://github.com/Brostoffed/ContextBuilder

4.

Show HN: ContextBuilder for the Idea IDEs(plugins.jetbrains.com ↗)

2 points · by brostoffed · 1y ago · 1 comment