diff --git a/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/SiteConfiguration.java b/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/SiteConfiguration.java index c5a35076..2aa22597 100644 --- a/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/SiteConfiguration.java +++ b/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/SiteConfiguration.java @@ -25,7 +25,9 @@ public class SiteConfiguration { // Read site-specific configuration, this can be used to toggle some functionality // in a site-controlled manner. var configLocation = ConfigurationScope.INSTANCE.getLocation().toFile(); + System.out.println("Check for location " + configLocation); var configFile = new File(configLocation, "site-config.ini"); + System.out.println("File exists ? " + configFile.exists()); if (configFile.exists()) { try (var fileIn = Files.newInputStream(configFile.toPath())) { props.load(fileIn); diff --git a/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/YamcsPlugin.java b/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/YamcsPlugin.java index f6e7774d..1910a774 100644 --- a/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/YamcsPlugin.java +++ b/org.yamcs.studio.core/src/main/java/org/yamcs/studio/core/YamcsPlugin.java @@ -298,7 +298,9 @@ public boolean isSpellEnabled() { var spellEnabled = getPreferenceStore().getBoolean("spell.enabled"); var override = SiteConfiguration.isSpellEnabled(); + System.out.println("Override present ? " + override.isPresent()); if (override.isPresent()) { + System.out.println("enabled " + override.get()); spellEnabled = override.get(); } return spellEnabled;