Skip to content

EsotericSoftware/Nateclipse

Repository files navigation

Nateclipse

This Eclipse plugin improves your Java coding experience.

JDT HTTP API

Eclipse JDT functionality is exposed over HTTP so coding agents can use it.

Eclipse already has your project setup, symbol database, and builds incrementally in the background. This plugin lets your clanker check compilation, efficiently explore the codebase, and organize imports without wasting tokens on grep and manual edits. It can also get the classpath of an Eclipse project, with all dependencies, so it can run a main method using bash.

Tools provided:

  • jdt_errors check compilation errors/warnings (refreshes workspace, waits for build)
  • jdt_references find all references to a type, method, or field (shows enclosing method)
  • jdt_hierarchy subtypes, supertypes, or full hierarchy (optionally filtered to method overrides)
  • jdt_search_type find types by name (supports * and ?)
  • jdt_members list fields and methods with signatures, modifiers, line numbers (includes inherited)
  • jdt_organize_imports add missing imports, remove unused, resolve ambiguous types (auto-resolves single conflicts via build verification)
  • jdt_classpath get resolved classpath for running Java classes via bash

Tabs

Better tabs:

  • Removes the .java suffix so tabs are shorter.
  • Removes the close button so tabs are shorter.
  • Increases the number of characters for a tab to be truncated with a ellipsis to 100 so tabs are longer, but you can actually tell them apart.

Before:

After:

Installation

Get the JAR from the latest release and put it in your Eclipse/dropins folder.

A pi extension for the JDT API is included in pi-extension/. To install, copy or symlink it:

cp pi-extension/nateclipse.ts ~/.pi/agent/extensions/

About

Eclipse plugin to improve tabs and other things

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors