mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 03:32:23 +03:00
@Override the hintsLayerNameFor method to display the errors and hints in the NetBeans IDE
This commit is contained in:
parent
0f5a3a78b1
commit
cbae42b1e8
@ -21,6 +21,14 @@ public final class EnsoErrorProvider implements ErrorProvider {
|
||||
|
||||
private static final Logger LOG = Logger.getLogger(EnsoErrorProvider.class.getName());
|
||||
|
||||
/** @Override */
|
||||
public String hintsLayerNameFor(Kind kind) {
|
||||
return switch (kind) {
|
||||
case ERRORS -> "lsp:errors";
|
||||
case HINTS -> "lsp:hints";
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<? extends Diagnostic> computeErrors(Context ctx) {
|
||||
var arr = new ArrayList<Diagnostic>();
|
||||
|
Loading…
Reference in New Issue
Block a user