Feature request: Automatically switch between two schemes based on time.

Answered

I am using Android Studio which is basically InteliJ Idea with Android SDK. Since I cannot find a site to submit suggestions for Android Studio, I think I could use this site.

Default scheme is too bright in a dark room at night, so I use Dracula at night. But Dracula is too dark at daytime, so I manually change the scheme to the Default scheme at daytime. And I repeat switching the scheme day and night... I wish there was a feature to do that automatically. It is sort of the night mode, which recent mobile OSs are beginning to adopt (iOS has Night Shift and CyanogenMod has Night Mode).

3 comments
Comment actions Permalink
Official comment

Android Studio specific requests can be submitted here. IntelliJ IDEA requests can be submitted in YouTrack IDEA project.

One can probably implement it as a plug-in that will work for all IntelliJ IDEA based IDEs including Android Studio.

Comment actions Permalink

Thank you for answering my post.

I knew that page, but it only has one category for Android Studio, "Android Studio bug". Since this is not a bug, I thought it was not appropriate to submit it there. Also this theme feature is something IntelliJ Idea is providing to the Android Studio, not something Android Studio team has implemented, even if I submitted it there, they would probably reply "tell that to IntelliJ."

I may look into creating my own plug-in for that, if it would not take too much time.

0
Comment actions Permalink
# works for pycharm

import time
import pyautogui


def change_from_darcula_to_intellij(sleep_int):
time.sleep(sleep_int)
pyautogui.hotkey("ctrl", "alt", "s")
time.sleep(sleep_int)
pyautogui.typewrite("Appearance & Behavior", interval=0.01)
time.sleep(sleep_int)
pyautogui.press('enter')
time.sleep(sleep_int)
pyautogui.press('down')
time.sleep(sleep_int)
pyautogui.press('enter')
time.sleep(sleep_int)
pyautogui.press('down')
time.sleep(sleep_int)
pyautogui.press('down')
pyautogui.press('down')
pyautogui.press('enter')
time.sleep(sleep_int)
pyautogui.press('enter')


def change_from_intellij_to_darcula(sleep_int):
pyautogui.hotkey("ctrl", "alt", "s")
time.sleep(sleep_int)
pyautogui.typewrite("Appearance & Behavior", interval=0.01)
time.sleep(sleep_int)
pyautogui.press('enter')
time.sleep(sleep_int)
pyautogui.press('down')
time.sleep(sleep_int)
pyautogui.press('enter')
time.sleep(sleep_int)
pyautogui.press('down')
time.sleep(sleep_int)
pyautogui.press('up')
pyautogui.press('up')
pyautogui.press('enter')
time.sleep(sleep_int)
pyautogui.press('enter')


change_from_darcula_to_intellij(1)
# change_from_intellij_to_darcula(1)



0

Please sign in to leave a comment.