Skip to content

Instantly share code, notes, and snippets.

View jdubois's full-sized avatar

Julien Dubois jdubois

View GitHub Profile
@jdubois
jdubois / copilot-java-approaches.md
Last active April 23, 2026 20:21
Best approaches to use GitHub Copilot and Java

Comparing Approaches for GitHub Copilot + Java

Overview

When GitHub Copilot analyzes or generates Java code, the approach used for code intelligence directly impacts performance (speed of interaction), output quality (correctness and idiomatic usage of Java, Spring, and related frameworks), resource consumption (tokens and premium requests), and cost.

This document compares six approaches across these dimensions.


@jdubois
jdubois / java-ai-assistants-5-way-comparison.md
Created March 25, 2026 16:12
Java AI Assistants: 5-Way Comparison — Copilot CLI (Grep vs LSP) vs VS Code vs IntelliJ Copilot vs IntelliJ ACP

Java Development with AI Assistants: A 5-Way Comparison

Comparing GitHub Copilot CLI (Grep vs. LSP) with VS Code, IntelliJ Copilot, and IntelliJ ACP


Executive Summary

This report compares five approaches for AI-assisted Java development, evaluating code intelligence depth, accuracy, token/cost efficiency, and developer experience:

@jdubois
jdubois / i-want-to-develop-java-projects-using-github-copil.md
Created March 25, 2026 12:54
Java Development with GitHub Copilot CLI: Default (Grep/Tools) vs. Java LSP (Eclipse JDT LS)

Java Development with GitHub Copilot CLI: Default (Grep/Tools) vs. Java LSP (Eclipse JDT LS)

Executive Summary

GitHub Copilot CLI offers two fundamentally different approaches for navigating and understanding Java code: the default approach using grep, glob, and shell tools (text-based pattern matching), and the LSP approach using Eclipse JDT Language Server (semantic code intelligence). After analyzing the Copilot agent runtime source code, system prompts, tool implementations, and the Java LSP plugin architecture, the conclusion is clear: the LSP approach delivers significantly better results for Java projects, at the cost of higher initial setup complexity and memory usage. LSP produces more accurate code navigation with fewer tool calls (and therefore fewer tokens and premium requests), while the grep/glob approach requires the LLM to perform multiple iterative searches and read more files to achieve the same understanding. For any serious Java development work, the LSP approach is the

@jdubois
jdubois / LIST.md
Created December 1, 2025 12:27
Gist generated by AI

Apple Pie Ingredients

  • Pie crusts 2 (9-inch) pie crusts, store-bought or homemade
  • Apples 6–8 medium apples (about 6 cups) — Granny Smith or a mix of tart and sweet
  • Granulated sugar 3/4 cup
  • Brown sugar 1/4 cup packed
@jdubois
jdubois / LIST.md
Created December 1, 2025 12:27
Gist generated by AI

Apple Pie - Ingredients — Assigned Shopping List

Mario Fusco

  • Egg (for egg wash): 1 large egg beaten with 1 tablespoon water (optional, for browning)
  • Vanilla extract: 1 teaspoon (optional)

Bram-- null

  • Granulated sugar: 3/4 cup (150 g)
  • Ground nutmeg: 1/4 teaspoon
  • Unsalted butter: 2 tablespoons, cut into small pats to dot over filling