marvin-roesch / chronomorph Goto Github PK
View Code? Open in Web Editor NEWAutomatically switches the theme and color scheme depending on the time of day in IntelliJ based IDEs.
License: MIT License
Automatically switches the theme and color scheme depending on the time of day in IntelliJ based IDEs.
License: MIT License
Failed to retrieve daylight cycle data at 52.38, 4.9 on 2020-11-07!
java.net.UnknownHostException: api.sunrise-sunset.org
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:606)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:57)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:376)
at io.paleocrafter.chronomorph.DaylightCycle$getCycleSync$1.process(DaylightCycle.kt:61)
at io.paleocrafter.chronomorph.DaylightCycle$getCycleSync$1.process(DaylightCycle.kt:26)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:517)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:499)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:57)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:350)
at io.paleocrafter.chronomorph.DaylightCycle.getCycleSync(DaylightCycle.kt:59)
at io.paleocrafter.chronomorph.DaylightCycle.access$getCycleSync(DaylightCycle.kt:26)
at io.paleocrafter.chronomorph.DaylightCycle$getCycle$1.call(DaylightCycle.kt:45)
at io.paleocrafter.chronomorph.DaylightCycle$getCycle$1.call(DaylightCycle.kt:26)
at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:268)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
Occurred 2 times today 07:29 GMT+1
Happens about each switch I think. Theme and color switch seem to work though.
When I open the ide, the theme doesn't get changed, even though the rules would yield a different, e.g. coded into the night -> dark theme, opened up at noon -> still dark though I've set light theme
Can't choose Material UI theme in preferences, choose always fall out to default light/dark theme.
After a restart of PHPStorm Cronomorph shows me an empty configuration.
PhpStorm 2020.1.1
Build #PS-201.7223.96, built on April 30, 2020
Runtime version: 11.0.6+8-b765.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.6.11-arch1-1
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry: run.processes.with.pty=TRUE, bigger.font.in.project.view=true, debugger.watches.in.variables=false, ide.tooltip.initialDelay=506
Non-Bundled Plugins: mobi.hsz.idea.gitignore, Scratch, Shifter, SVN Revision Graph, com.4lex4.intellij.solarized, com.fernandojimenez.obsidian.theme, com.intellij.ideolog, de.espend.idea.laravel, com.kalessil.phpStorm.phpInspectionsEA, de.espend.idea.php.annotation, de.sandstormmedia.flowstorm, de.sgalinski.fluid.plugin.id, de.sgalinski.typoscript.enterprise.plugin.id, de.onigunn.intellij.xliff, de.thomasrosenau.diffplugin, io.paleocrafter.chronomorph, org.intellij.RegexpTester, BashSupport, ru.adelf.idea.dotenv, com.cedricziel.idea.typo3, org.toml.lang, some.awesome
Current Desktop: GNOME
The error is:
Details: Current thread: Thread[ApplicationImpl pooled thread 730,4,Idea Thread Group] 872232045
; dispatch thread: false; isDispatchThread(): false
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,Idea Thread Group] 1354388860
java.lang.Throwable: Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction())
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:179)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:992)
at com.intellij.openapi.editor.impl.EditorImpl.assertReadAccess(EditorImpl.java:3295)
at com.intellij.openapi.editor.impl.EditorImpl.getSettings(EditorImpl.java:917)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.isLineMarkersShown(EditorGutterComponentImpl.java:1488)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.getLineMarkerAreaWidth(EditorGutterComponentImpl.java:1534)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.sizeHash(EditorGutterComponentImpl.java:790)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.updateSize(EditorGutterComponentImpl.java:773)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.reinitSettings(EditorGutterComponentImpl.java:304)
at com.intellij.openapi.editor.impl.EditorGutterComponentImpl.updateUI(EditorGutterComponentImpl.java:300)
at com.intellij.util.IJSwingUtilities.updateComponentTreeUI(IJSwingUtilities.java:94)
at com.intellij.ide.ui.laf.LafManagerImpl.updateUI(LafManagerImpl.java:1095)
at com.intellij.ide.ui.laf.LafManagerImpl.updateUI(LafManagerImpl.java:849)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl$EditorColorSchemeProcessor.handleCurrentSchemeSwitched(EditorColorsManagerImpl.java:168)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl$EditorColorSchemeProcessor.onCurrentSchemeSwitched(EditorColorsManagerImpl.java:157)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl$EditorColorSchemeProcessor.onCurrentSchemeSwitched(EditorColorsManagerImpl.java:113)
at com.intellij.configurationStore.schemeManager.SchemeManagerBase.setCurrent(SchemeManagerBase.kt:35)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.setGlobalScheme(EditorColorsManagerImpl.java:470)
at com.intellij.ide.ui.laf.LafManagerImpl.updateEditorSchemeIfNecessary(LafManagerImpl.java:809)
at com.intellij.ide.ui.laf.LafManagerImpl.setLookAndFeelImpl(LafManagerImpl.java:621)
at com.intellij.ide.ui.laf.LafManagerImpl.setCurrentLookAndFeel(LafManagerImpl.java:593)
at com.intellij.ide.ui.LafManager.setCurrentLookAndFeel(LafManager.java:41)
at com.intellij.ide.actions.QuickChangeLookAndFeel.switchLafAndUpdateUI(QuickChangeLookAndFeel.java:96)
at io.paleocrafter.chronomorph.Chronomorph$applyEntry$1.invoke(Chronomorph.kt:87)
at io.paleocrafter.chronomorph.Chronomorph$applyEntry$1.invoke(Chronomorph.kt:23)
at io.paleocrafter.chronomorph.Chronomorph.runOrSchedule(Chronomorph.kt:99)
at io.paleocrafter.chronomorph.Chronomorph.applyEntry(Chronomorph.kt:86)
at io.paleocrafter.chronomorph.Chronomorph.check(Chronomorph.kt:53)
at io.paleocrafter.chronomorph.Chronomorph.check(Chronomorph.kt:42)
at io.paleocrafter.chronomorph.Chronomorph$1.invoke(Chronomorph.kt:30)
at io.paleocrafter.chronomorph.Chronomorph$1.invoke(Chronomorph.kt:23)
at io.paleocrafter.chronomorph.Chronomorph$sam$java_lang_Runnable$0.run(Chronomorph.kt)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:223)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
PhpStorm 2021.1.1
Build #PS-211.7036.8, built on April 15, 2021
Licensed to Michiel Roos
Subscription is active until December 5, 2021.
Runtime version: 11.0.10+9-b1341.35 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Linux 5.11.0-7612-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry: run.processes.with.pty=TRUE, bigger.font.in.project.view=true, debugger.watches.in.variables=false, ide.tree.collapse.recursively=false, ide.tooltip.initialDelay=506
Non-Bundled Plugins: Scratch (1.10), Shifter (1.9.6), com.4lex4.intellij.solarized (2.3.0), com.intellij.ideolog (203.0.27.0), de.onigunn.intellij.xliff (0.2.0), io.paleocrafter.chronomorph (2020.1-1.0.2), net.seesharpsoft.intellij.plugins.file-preview (1.6.4), org.intellij.RegexpTester (1.0.8), mobi.hsz.idea.gitignore (4.1.0), org.toml.lang (0.2.145.3797-211), some.awesome (1.14), de.espend.idea.laravel (0.15.4), com.kalessil.phpStorm.phpInspectionsEA (4.0.6.3), com.ptby.dynamicreturntypeplugin (2.0.12), de.espend.idea.php.annotation (8.0.0), de.sgalinski.fluid.plugin.id (2.4.0), de.sgalinski.typoscript.enterprise.plugin.id (2.4.0), com.cedricziel.idea.typo3 (211.7.1), lv.midiana.misc.phpstorm-plugins.deep-keys (2021.03.26.001), ru.adelf.idea.dotenv (2021.1)
Current Desktop: pop:GNOME
I often see editor theme not switched, while the application theme switched after day / night time. After restart the theme is switched. I use latest goland/ pycharm professional and installed from the settings.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.