Project structure: FeatureExt#1
Conversation
Added first two common files from lsp4jakarta and lsp4mp for migration to feature-ext
…dtls.featureext into development
Co-authored by IBM Bob
| private String id; | ||
|
|
||
| public CodeActionData() { | ||
| this(null); |
There was a problem hiding this comment.
Improve as in? This is a common file between 2 repos, so as of now, we are not intending to change the content of them, because migration itself would incur lot of changes.
There was a problem hiding this comment.
Add JavaDoc explaining this is shared code between repos and intentionally kept unchanged for migration purposes.
| Export-Package: org.eclipse.jdtls.featureext.core, | ||
| org.eclipse.jdtls.featureext.core.logging, | ||
| org.eclipse.jdtls.featureext.commons.codeaction | ||
| Automatic-Module-Name: org.eclipse.jdtls.featureext.core |
There was a problem hiding this comment.
Dont we need
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.jdt.core,
org.eclipse.jdt.ls.core
here?
There was a problem hiding this comment.
This can be add when we use it in the code base.
| @@ -0,0 +1,270 @@ | |||
| /******************************************************************************* | |||
| * Copyright (c) 2024 Eclipse Foundation and others. | |||
| @@ -0,0 +1,45 @@ | |||
| ############################################################################### | |||
| # Copyright (c) 2024 Eclipse Foundation and others. | |||
| @@ -0,0 +1,9 @@ | |||
| /** | |||
| * Core package for JDT.LS feature extensions. | |||
There was a problem hiding this comment.
Should we add copyright for this class?
| @@ -0,0 +1,16 @@ | |||
| ############################################################################### | |||
| # Copyright (c) 2024 Eclipse Foundation and others. | |||
| @@ -0,0 +1,334 @@ | |||
| /******************************************************************************* | |||
| * Copyright (c) 2024 Eclipse Foundation and others. | |||
| private String id; | ||
|
|
||
| public CodeActionData() { | ||
| this(null); |
There was a problem hiding this comment.
Add JavaDoc explaining this is shared code between repos and intentionally kept unchanged for migration purposes.
| public class FeatureExtLogger { | ||
|
|
||
| private static final String LOGGER_NAME = "org.eclipse.jdtls.featureext"; | ||
| private static final Logger LOGGER = Logger.getLogger(LOGGER_NAME); |
There was a problem hiding this comment.
I read somewhere that using org.eclipse.core.runtime.ILog is better Eclipse integration instead of JUL
No description provided.