<commit_before>[![Build Status](https://travis-ci.org/gorkem/java-language-server.svg?branch=master)](https://travis-ci.org/gorkem/java-language-server)

This repository contains only the server implementation. 
For Visual Studio Code extension that uses this server visit
[vscode-java](https://github.com/gorkem/vscode-java)
=========================

java-language-server 
=====================

java-language-server is a server implementation that provides Java language 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 [Eclipse 
JDT](http://www.eclipse.org/jdt/), [M2Eeclipse](http://www.eclipse.org/m2e/).

Features 
--------------
* As you type reporting of parsing and compilation errors
* Code completion
* Javadoc hovers 
* Code outline
* Code navigation
* Code lens (references)
* Highlights
* Code formatting
* Maven pom.xml project support


First Time Setup
--------------
0. Fork and clone the repository
1. Install Eclipse [Neon Java EE](http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/neonr)
that will have most needed already installed. Alternately, 
you can get the [Eclipse IDE for Java developers](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/neonr)
and just instal Eclipse PDE from marketplace.

2. Once installed use `File > Open Projects from File System...` and
point it `java-language-server` and Eclipse should automatically
detect the projects and import it properly.

3. If you after import sees an error on `pom.xml` about Tycho, you can use Quick Fix
(Ctrl+1) to install the Tycho maven integration.


Building command line
----------------------------

*server* folder contains the java-server implemementation and does not depend to 
any client 

1. Install [Apache Maven](https://maven.apache.org/)

2. This command will build the server into `/org.jboss.tools.vscode.product/target/repository` folder:
```bash    
    $ cd server
    $ mvn clean verify 
````

Generating simple java app for testing
-------------------------------

    mvn archetype:generate -DgroupId=com.mycompany.app
    -DartifactId=my-app
    -DarchetypeArtifactId=maven-archetype-quickstart
    -DinteractiveMode=false


Feedback
---------

* File a bug in [GitHub Issues](https://github.com/gorkem/java-language-server/issues).
* [Tweet](https://twitter.com/GorkemErcan) us with other feedback.


License
-------
EPL 1.0, See [LICENSE](LICENSE) file.
<commit_msg>Remove reference to server folder<commit_after>[![Build Status](https://travis-ci.org/gorkem/java-language-server.svg?branch=master)](https://travis-ci.org/gorkem/java-language-server)

This repository contains only the server implementation. 
For Visual Studio Code extension that uses this server visit
[vscode-java](https://github.com/gorkem/vscode-java)
=========================

java-language-server 
=====================

java-language-server is a server implementation that provides Java language 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 [Eclipse 
JDT](http://www.eclipse.org/jdt/), [M2Eeclipse](http://www.eclipse.org/m2e/).

Features 
--------------
* As you type reporting of parsing and compilation errors
* Code completion
* Javadoc hovers 
* Code outline
* Code navigation
* Code lens (references)
* Highlights
* Code formatting
* Maven pom.xml project support


First Time Setup
--------------
0. Fork and clone the repository
1. Install Eclipse [Neon Java EE](http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/neonr)
that will have most needed already installed. Alternately, 
you can get the [Eclipse IDE for Java developers](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/neonr)
and just instal Eclipse PDE from marketplace.

2. Once installed use `File > Open Projects from File System...` and
point it `java-language-server` and Eclipse should automatically
detect the projects and import it properly.

3. If you after import sees an error on `pom.xml` about Tycho, you can use Quick Fix
(Ctrl+1) to install the Tycho maven integration.


Building from command line
----------------------------

1. Install [Apache Maven](https://maven.apache.org/)

2. This command will build the server into `/org.jboss.tools.vscode.product/target/repository` folder:
```bash    
    $ mvn clean verify 
````


Feedback
---------

* File a bug in [GitHub Issues](https://github.com/gorkem/java-language-server/issues).
* [Tweet](https://twitter.com/GorkemErcan) us with other feedback.


License
-------
EPL 1.0, See [LICENSE](LICENSE) file.

{'fraction_non_alphanumeric': 0.15102548166563082, 'fraction_numerical': 0.0045576962916925624, 'mean_word_length': 3.7566502463054188, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 14, 'lorem ipsum': 0, 'www.': 8, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7089628', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1368, 'n_words': 454}