Dart Plugin for Eclipse
Features
-
Rich text editting with first class
.dart
support leveraging the Language Server Protocol -
Running Dart programs directly from the IDE
-
All features from the classic Eclipse IDE
Planned features
-
First class support for the Pub package manager - Issue#12
-
TODO
Usage
To use this plugin you will need atleast Dart 2.2. You can download it from the Dart download page.
Currently there is no eclipse update site for this plugin. The only way to obtain the plugin is by cloning this repo and building it yourself. See the Get Started section below.
Development
It is based on the Dart language server. See the Dart Language Server Readme for the current status of the server.
Get Started
-
Download and install the latest Dart SDK. Atleast version 2.2 is required. Check by running
dart --version
after installation. -
Clone this repo
git clone [email protected]:vogellacompany/eclipse-dart.git
-
Change to the cloned directory
cd eclipse-dart
and runmvn clean verify
-
Add the local update site from
com.vogella.eclipsedart.update/target/repository/
via the Help→ Install New Software… menu entry in the Eclipse IDE -
Install the listed plugin
-
Create or import a
.dart
file and start editing it
Note
|
If you have troubles with compilation and/or running try to install the necessary dependencies as described below. |
Installing the dependencies
For the plugin to work as expected you need to install some dependencies.
Add the update site of the LSP4E
project: http://download.eclipse.org/lsp4e/releases/latest/
.
Install the plugins:
-
Language Server Protocol client for Eclipse IDE (Incubation) Source
-
Language Server Protocol client for Eclipse IDE (Incubation)
Add the update site of the TM4E
project: http://download.eclipse.org/tm4e/snapshots/
.
Install the plugins:
-
TextMate Core
-
TextMate Core Developer Resources
Get Involved
Support is currently available via GitHub issues.
Code contributions are welcome via GitHub pull requests.
Code quality analysis is available on SonarCloud.
CI is currently not public.