Skip to content

Commit

Permalink
Apache Camel Language LSP client compatible with Java files (#10262)
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
  • Loading branch information
apupier committed Sep 21, 2018
1 parent 5a1206e commit 745746b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/** Launcher for Apache Camel Language Server */
@Singleton
public class CamelLanguageServerConfig implements LanguageServerConfig {
private static final String REGEX = ".*\\.(xml)";
private static final String REGEX = ".*\\.(xml|java)$";

private final Path launchScript;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

public class CamelLanguageDescriptionProvider implements Provider<LanguageDescription> {
private static final String LANGUAGE_ID = "LANGUAGE_ID_APACHE_CAMEL";
private static final String[] EXTENSIONS = new String[] {"xml"};
private static final String[] EXTENSIONS = new String[] {"xml", "java"};
private static final String MIME_TYPE = "text/xml";

@Override
Expand Down

0 comments on commit 745746b

Please sign in to comment.