diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/javaFeatureParticipants.exsd b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/javaFeatureParticipants.exsd index 048d7b91..9972225c 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/javaFeatureParticipants.exsd +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/javaFeatureParticipants.exsd @@ -148,7 +148,7 @@ The following is an example of a java feature participant extension: <pre> - <extension point="org.eclipse.lsp4mp.jdt.core.javaFeatureParticipants"> + <extension point="org.eclipse.lsp4jakarta.jdt.core.javaFeatureParticipants"> <diagnostics class="com.example.MyJavaDiagnosticsParticipant"> </diagnostics> diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/projectLabelProviders.exsd b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/projectLabelProviders.exsd index e289b523..bd4224d0 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/projectLabelProviders.exsd +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/schema/projectLabelProviders.exsd @@ -57,7 +57,7 @@ Some example labels are: "maven", "gradle" and "jakarta Name of a class that implements IProjectLabelProvider. - + diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/commons/codeaction/JakartaCodeActionId.java b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/commons/codeaction/JakartaCodeActionId.java index d8c987aa..edcf1984 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/commons/codeaction/JakartaCodeActionId.java +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/commons/codeaction/JakartaCodeActionId.java @@ -14,10 +14,11 @@ package org.eclipse.lsp4jakarta.commons.codeaction; /** - * Represents id of an lsp4mp code action. + * LSP4Jakarta code action id. + * + * Based on: https://github.com/eclipse/lsp4mp/blob/0.9.0/microprofile.ls/org.eclipse.lsp4mp.ls/src/main/java/org/eclipse/lsp4mp/commons/codeaction/MicroProfileCodeActionId.java */ public enum JakartaCodeActionId implements ICodeActionId { - IgnoreUnknownProperty, // JAXRS jaxrsInsertPublicCtrtToClass, MakeConstructorPublic, diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/ProjectLabelManager.java b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/ProjectLabelManager.java index 2f3525ad..ea037e20 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/ProjectLabelManager.java +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/ProjectLabelManager.java @@ -1,5 +1,5 @@ /******************************************************************************* -* Copyright (c) 2019-2020 Red Hat Inc. and others. +* Copyright (c) 2019-2023 Red Hat Inc. and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at @@ -36,6 +36,7 @@ * Project label manager which provides ProjectLabelInfo containing * project labels for all projects in the workspace * + * Based on: https://github.com/eclipse/lsp4mp/blob/0.9.0/microprofile.jdt/org.eclipse.lsp4mp.jdt.core/src/main/java/org/eclipse/lsp4mp/jdt/core/ProjectLabelManager.java */ public class ProjectLabelManager { private static final ProjectLabelManager INSTANCE = new ProjectLabelManager(); @@ -129,8 +130,8 @@ private List getProjectLabels(IProject project, List types) { } // Update labels by using the - // "org.eclipse.lsp4mp.jdt.core.projectLabelProviders" extension point (ex - // : "maven", "gradle", "quarkus", "jakarta"). + // "org.eclipse.lsp4jakarta.jdt.core.projectLabelProviders" extension point (ex + // : "maven", "gradle", "jakarta"). List projectLabels = new ArrayList<>(); List definitions = ProjectLabelRegistry.getInstance().getProjectLabelDefinitions(); for (ProjectLabelDefinition definition : definitions) { diff --git a/jakarta.jdt/pom.xml b/jakarta.jdt/pom.xml index 3d6455eb..1e063f66 100644 --- a/jakarta.jdt/pom.xml +++ b/jakarta.jdt/pom.xml @@ -34,7 +34,7 @@ 17 3.0.3 ${tycho.version} - scm:git:https://github.com/eclipse/lsp4mp + scm:git:https://github.com/eclipse/lsp4jakarta true 1.21.0.20230316144047 repo.eclipse.org