Vscode

How To Change VSCode Theme By Time of Day

Val Paliy

Eye comfort is very important, especially to programmers, who spend most of their day looking at code in their favorite editor.

I’ve already mentioned a few themes I like, and today I am going to teach you how to set your editor up in such away that the theme changes automatically depending on what time of day it is.

Take a look at the three screenshots above:

Cobalt2

Cobalt2

Night Owl Light

Night Owl Light

Night Owl

Night Owl

On Coding And Artificial Intelligence

Val Paliy

AI, or Artificial Intelligence, is big at the moment, and to no surprise. AI can help humanity in many different areas, such as diagnosing an illness at an early stage, or assisting a driver with direction, or driving you to a desired destination.

While it is debatable whether or not we should trust AI to take over crucial areas of our lives (have you seen “Terminator?”), one area I found Artificial Intelligence to be particularly useful in is programming. Using the right tools, you can save yourself a lot of time while coding with AI enabled.

My New Favorite Theme For Editors

Val Paliy

For a long time I have been a big fan of Sarah Drasner’s theme for Visual Studio Code, and even used a port of it in Visual Studio 2019 Community Edition.

Ever since I’ve started learning .Net Framework on both Linux and Windows, I ’ve also started using the default Visual Studio 2019 theme in both the IDE, and the editor. Simply because I like unity across the developer tools I use.

Here are a few screenshots:

Visual Studio 2019 Dark Theme Screenshot 1

Visual Studio 2019 Dark Theme Screenshot 1

Visual Studio 2019 Dark Theme Screenshot 2

Visual Studio 2019 Dark Theme Screenshot 2

My Favorite Visual Studio Code Theme

Val Paliy
Visual Studio Code

Visual Studio Code

Visual Studio Code (or simply vscode, or even code) is an editor developed by Microsoft. The editor was released back in 2015 and by now is considered one of the best if not the best code editors out there. I admit, I used Vim for a bit, but switched back to vscode+vim plugin, since I work with .Net nowadays. I am going to tell you about my favorite set of plugins in one of my next posts.

My IDE Settings

Val Paliy

My settings for Visual Studio Code. Please feel free to use any and all settings you might find useful :)

{
  "editor.fontSize": 17,
  "editor.fontFamily": "'Jetbrains Mono', 'monospace', monospace, 'Droid Sans Fallback'",
  "editor.fontLigatures": true,
  "editor.lineHeight": 25,
  "editor.letterSpacing": 0.5,
  "files.trimTrailingWhitespace": true,
  "editor.cursorStyle": "line",
  "editor.cursorWidth": 5,
  "editor.cursorBlinking": "solid",
  "editor.renderWhitespace": "none",
  "update.showReleaseNotes": false,
  "editor.linkedEditing": true,
  "editor.suggestSelection": "first",
  "editor.fontWeight": 600,
  "editor.formatOnSave": true,
  "git.enableSmartCommit": true,
  "editor.colorDecorators": false,
  "git.confirmSync": false,
  "editor.wordWrap": "on",
  "editor.wordWrapColumn": 111,
  "git.allowForcePush": true,
  "git.confirmForcePush": false,
  "editor.formatOnType": true,
  "git.allowNoVerifyCommit": true,
  "editor.minimap.enabled": false,
  "terminal.external.windowsExec": "C:\\\\WINDOWS\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe",
  "terminal.explorerKind": "external",
  "editor.semanticHighlighting.enabled": true,
  "emmet.triggerExpansionOnTab": true,
  "git.autofetch": true,
  "explorer.confirmDelete": false,
  "window.menuBarVisibility": "compact",
  "workbench.editor.untitled.hint": "hidden",
  "extensions.ignoreRecommendations": true,
  "terminal.integrated.gpuAcceleration": "off",
  "tabnine.experimentalAutoImports": true,
  "workbench.colorTheme": "GitHub Dark Default",
  "workbench.iconTheme": "vscode-icons",
  "workbench.productIconTheme": "fluent-icons",
  "themeSwitcher.themesList": "GitHub Light Default, GitHub Dark Default",
  "themeswitcher.utcOffset": 3,
  "themeswitcher.mappings": [
    {
      "time": "08:00",
      "theme": "GitHub Dark Default"
    },
    {
      "time": "12:00",
      "theme": "GitHub Dark Default"
    },
    {
      "time": "00:00",
      "theme": "GitHub Dark Default"
    }
  ],
  "color-highlight.enable": true,
  "color-highlight.markerType": "background",
  "vsicons.dontShowNewVersionMessage": true,
  "security.workspace.trust.enabled": false,
  "security.workspace.trust.startupPrompt": "never",
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "quokka.automaticRestart": true,
  "autoimport.filesToScan": "**/*.{js,jsx,ts,tsx}",
  "autoimport.autoComplete": true,
  "vscode-edge-devtools.headless": true,
  "editor.bracketPairColorization.enabled": true,
  "vscode-edge-devtools.webhint": false,
  "workbench.startupEditor": "none",
  "git.confirmNoVerifyCommit": false,
  "go.toolsManagement.autoUpdate": true
}