mirror of
https://github.com/enso-org/enso.git
synced 2024-11-24 00:27:16 +03:00
Fix defect where constructor fields not show for Value
constructors. (#7080)
The `IdExecutionService` now uses `getName` not `getDisplayName` for atomConstructor. `getDisplayName` adjusts the name if the name is `Value` or `Error`, which meant no parameters in IDE. Before: ![image](https://github.com/enso-org/enso/assets/4699705/ddc564fe-3213-46ec-9684-ab718f8bb0bb) Now: ![image](https://github.com/enso-org/enso/assets/4699705/59d3ece4-1148-44bb-8a13-7bc3db8dfca2)
This commit is contained in:
parent
d26b826a77
commit
90df5adfb0
@ -20,7 +20,7 @@ import org.enso.logger.masking.MaskedString;
|
||||
import org.enso.pkg.QualifiedName;
|
||||
|
||||
public interface IdExecutionService {
|
||||
public static final String INSTRUMENT_ID = "id-value-extractor";
|
||||
String INSTRUMENT_ID = "id-value-extractor";
|
||||
|
||||
/**
|
||||
* Attach a new event node factory to observe identified nodes within given function.
|
||||
@ -222,7 +222,7 @@ public interface IdExecutionService {
|
||||
AtomConstructor atomConstructor = qualifiedAccessor.getAtomConstructor();
|
||||
moduleName = atomConstructor.getDefinitionScope().getModule().getName();
|
||||
typeName = atomConstructor.getType().getQualifiedName();
|
||||
functionName = atomConstructor.getDisplayName();
|
||||
functionName = atomConstructor.getName();
|
||||
}
|
||||
case EnsoRootNode ensoRootNode -> {
|
||||
moduleName = ensoRootNode.getModuleScope().getModule().getName();
|
||||
|
Loading…
Reference in New Issue
Block a user