Skip to content

Commit

Permalink
Merge pull request #1 from lhein/refactorrepo
Browse files Browse the repository at this point in the history
refactored repo to only contain eclipse client
  • Loading branch information
lhein committed Mar 16, 2018
2 parents b85ea70 + a488e05 commit f43eb26
Show file tree
Hide file tree
Showing 99 changed files with 86 additions and 4,296 deletions.
17 changes: 0 additions & 17 deletions .project

This file was deleted.

66 changes: 0 additions & 66 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion clients/eclipse/Install.md → Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ How to Install
--------------

* Install Eclipse
* Go to latest release page https://github.com/apupier/camel-language-server/releases/latest/
* Go to latest release page https://github.com/lhein/camel-language-server/releases/latest/
* Download zipped update site named org.apache.camel.lsp.eclipse.updatesite-1.0.0-SNAPSHOT.zip
* In Eclipse, Help -> Install New Software...
* Click Add...
Expand Down
66 changes: 22 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,22 @@
[![Build Status](https://travis-ci.org/apupier/camel-language-server.svg?branch=master)](https://travis-ci.org/apupier/camel-language-server)

camel-language-server
=====================

camel-language-server is a server implementation that provides Camel DSL smartness.
The server adheres to the [language server protocol](https://github.com/Microsoft/language-server-protocol)
and can be used with any editor that supports the protocol. The server utilizes [Apache Camel](http://camel.apache.org/) and [M2Eclipse](http://www.eclipse.org/m2e/).


Features
--------------
* Code completion
* Hover

Features planned
--------------
* As you type reporting of parsing and compilation errors
* More advanced Code completion
* Code outline
* Code navigation
* Code lens (references)
* Highlights
* Code formatting

Installation
------------

Please see installation guide for each IDE:

* [Eclipse](clients/eclipse/Install.md)
* [VS Code](clients/vscode/Install.md)


Feedback
---------

* File a bug in [GitHub Issues](https://github.com/lhein/camel-language-server/issues).


License
-------
ASL 2.0, See [LICENSE](LICENSE) file.

How to debug Camel Language Server from Eclipse client
======================================================

1. Add debug arguments to the list org.apache.camel.lsp.eclipse.client.CamelLSPStreamConnectionProvider.computeCommands()

You will end up with something like:

private static List<String> computeCommands() {
List<String> commands = new ArrayList<>();
commands.add("java");
commands.addAll(debugArguments());
commands.add("-jar");
commands.add(computeCamelLanguageServerJarPath());
return commands;
}

private static List<String> debugArguments() {
return Arrays.asList("-Xdebug","-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=3000");
}


2. Create a Remote Java Application Debug Launch configuration in Eclipse
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 0 additions & 22 deletions clients/eclipse/README.md

This file was deleted.

This file was deleted.

51 changes: 0 additions & 51 deletions clients/eclipse/pom.xml

This file was deleted.

19 changes: 0 additions & 19 deletions clients/pom.xml

This file was deleted.

9 changes: 0 additions & 9 deletions clients/vscode/.editorconfig

This file was deleted.

10 changes: 0 additions & 10 deletions clients/vscode/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions clients/vscode/.project

This file was deleted.

9 changes: 0 additions & 9 deletions clients/vscode/.vscode/extensions.json

This file was deleted.

28 changes: 0 additions & 28 deletions clients/vscode/.vscode/launch.json

This file was deleted.

11 changes: 0 additions & 11 deletions clients/vscode/.vscode/settings.json

This file was deleted.

Loading

0 comments on commit f43eb26

Please sign in to comment.