Skip to content

Commit f8905c0

Browse files
committed
Completion using arbitrary langauge servers in Java text blocks
1 parent aa3effe commit f8905c0

9 files changed

Lines changed: 881 additions & 10 deletions

File tree

org.eclipse.lsp4e.jdt/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: JDT Integration for LSP4E
44
Bundle-SymbolicName: org.eclipse.lsp4e.jdt;singleton:=true
5-
Bundle-Version: 0.14.2.qualifier
5+
Bundle-Version: 0.14.3.qualifier
66
Export-Package: org.eclipse.lsp4e.jdt
77
Automatic-Module-Name: org.eclipse.lsp4e.jdt
88
Bundle-Activator: org.eclipse.lsp4e.jdt.LanguageServerJdtPlugin

org.eclipse.lsp4e.jdt/plugin.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
###############################################################################
1212

1313
lsCompletionComputer_name=Language Server Proposals
14+
lsTextBlockCompletionComputer_name=Language Server Proposals in Java Text Blocks
1415
languageservers.jdt.preferences.page=Java

org.eclipse.lsp4e.jdt/plugin.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@
1414
requiresUIThread="false">
1515
</javaCompletionProposalComputer>
1616
</extension>
17+
<extension
18+
id="ls-based-java-text-block-completion-computer"
19+
name="%lsTextBlockCompletionComputer_name"
20+
point="org.eclipse.jdt.ui.javaCompletionProposalComputer">
21+
<javaCompletionProposalComputer
22+
activate="true"
23+
categoryId="org.eclipse.lsp4e.jdt.ls-based-java-text-block-completion-computer"
24+
class="org.eclipse.lsp4e.jdt.JavaTextBlockProposalComputer"
25+
needsSortingAfterFiltering="false"
26+
requiresUIThread="false">
27+
</javaCompletionProposalComputer>
28+
</extension>
1729

1830
<extension
1931
id="ls-based-java-hover-provider"

0 commit comments

Comments
 (0)