• Stars
    star
    117
  • Rank 300,025 (Top 6 %)
  • Language
    Python
  • Created about 13 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Eclipse Java completion and refactoring powers in Sublime Text 2 using Eclim

Subclim

This plugin integrates Sublime Text 2 with Eclipse via Eclim http://eclim.org/. At the moment it adds Java completions, auto-import, goto-definition, goto-usages and compilation/validation (error highlighting).

New: It is possible to get Scala validation and completions, but you will need to install the scala-ide branch of Eclim manually (clone their repo, checkout scala-ide and build with Ant as described there).

Also New: Subclim will not automatically provide completions by default, but only on manual request (ctrl+alt+space). There is an option "subclim_auto_complete" to turn the old behaviour back on. As the Eclim completions are quite slow, I find it much more efficient to use ST2 native buffer-based completion 90% of the time, and manually trigger the Eclim-completions when I really need them. Your mileage may vary.

Installation

Just add the plugin to your Sublime Text packages directory as usual. Additionally, install Eclim from eclim.org. Then, in Sublime Text run the command set_eclim_path via the command palette to tell ST2 where to find eclim.

Important: This plugin is only compatible with Eclim version 1.7.3 or greater.

Usage

Either run Eclipse and open the Eclim View, or run eclimd from a console. I recommend the first way, as you still need Eclipse for project management tasks. While you are coding, you can just keep Eclipse minimized, as long as the Eclim View has been opened.

The plugin will only work when editing files inside an open Eclipse project. Compilation/validation will be done asynchronously on load and save, to keep editing fluent, so errors may not appear instantly, but after a few seconds. The very first command or completion on startup can take very long. Subsequent ones will be quicker. Completions are not automatically triggered with ST2 normal completions, but manually with ctrl+alt+space. You can change this behaviour in the settings ("subclim_auto_complete").

To see the available commands and their keybindings, just use the command pallete and enter "Subclim".

Most other Eclim commands might be available too, but are not supported. Check generated.py and set keybindings for the commands there if you are feeling adventurous.

More Repositories

1

SublimePythonIDE

ST3 only: A rewrite of SublimeRope for ST3, uses the Rope library to add python completions and refactoring to ST3
Python
267
star
2

SublimeRope

ST2 only, use SublimePythonIDE with ST3: Adds Python completions and some IDE-like functions to Sublime Text 2, through the use of the Rope library
Python
250
star
3

Textmate-Minimap

A minimap plugin for TextMate.
Objective-C
180
star
4

RopeMate.tmbundle

Integrates the Python refactoring/completion framework Rope with Textmate
Python
23
star
5

k811fn

Configure the Logitech K811's function keys on Windows
C
13
star
6

dwtc-extractor

Extraction code used to create the Dresden Web Table Corpus
Java
13
star
7

Eclim.tmbundle

Brings Eclipse Java completion powers to TextMate by integrating with Eclim.
Python
12
star
8

dwtc-tools

Dresden Web Table Corpus Java library
Java
11
star
9

track-o-bot-ios

Track-o-Botty: Simple iOS app for Track-o-Bot - https://appsto.re/i6hW6zx
Swift
8
star
10

osxwindows

A python module for manipulating windows on OSX using the accessibility API.
Objective-C
6
star
11

qsx

Auto-tiling, chrome-less window manager for OSX, written in Python
Python
5
star
12

Synonyms.tmbundle

Textmate bundle that uses the OSX dictionary to provide synonyms as autocompletion proposals.
Python
3
star
13

sublime-ipython-integration

Python
3
star
14

REA

Source code for the paper "Top-k Entity Augmentation using Consistent Set Covering"
Scala
3
star
15

Chrome-NextLink

Adds a keyboard shortcut for rel="next" links to Chrome
2
star
16

DrillBeyond

Implementation of the paper "DrillBeyond: Processing Multi-Result Open World SQL Queries"
C
1
star
17

matchtools

Java library for instance and schema matching
Java
1
star