-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from lhein/refactorrepo
refactored repo to only contain eclipse client
- Loading branch information
Showing
99 changed files
with
86 additions
and
4,296 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
clients/eclipse/camel-lsp-target-platform/.settings/org.eclipse.core.resources.prefs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.