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. This programming productivity tip can significantly improve your coding experience and reduce eye strain during long development sessions.

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. This developer tools automation can greatly enhance your coding comfort throughout different lighting conditions.

On Coding And Artificial Intelligence.

Val Paliy

AI, or Artificial Intelligence, is revolutionizing technology and software development at the moment, and to no surprise. AI can help humanity in many different areas, such as diagnosing an illness at an early stage with machine learning, or assisting a driver with direction through GPS navigation, or driving you to a desired destination with autonomous vehicles. The integration of AI tools in programming workflows has transformed how developers approach coding and software engineering challenges.

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 and software development workflows. Using the right AI development tools and code completion extensions, you can save yourself a lot of time while coding with AI enabled. These modern developer tools are becoming essential for programming productivity and efficient software development.

My Favorite Visual Studio Code Theme.

Val Paliy

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 for web development and software engineering out there. I admit, I used Vim for a bit, but switched back to vscode+vim plugin for better .NET development experience and modern IDE features, since I work with .Net nowadays. This powerful code editor has become essential for programming productivity and developer workflows. I am going to tell you about my favorite set of plugins in one of my next posts.

To be honest with you, as a long time Linux user and open source enthusiast, at first I was hesitant to use a free code editor developed by a company that makes proprietary software. But I gave it a try when a Linux version of it was released, and I have no regrets now. VSCode has become the go-to development environment for programmers across different platforms.

My IDE Settings.

Val Paliy

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

{
  "cSpell.language": "en,uk",
  "editor.codeActionsOnSave": {
    "source.organizeImports": "explicit"
  },
  "editor.colorDecorators": true,
  "editor.cursorBlinking": "solid",
  "editor.cursorStyle": "line",
  "editor.cursorWidth": 5,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.fontFamily": "JetBrains Mono",
  "editor.fontLigatures": true,
  "editor.fontSize": 17,
  "editor.fontWeight": 600,
  "editor.formatOnSave": true,
  "editor.formatOnType": true,
  "editor.letterSpacing": 0.5,
  "editor.lineHeight": 25,
  "editor.linkedEditing": true,
  "editor.minimap.enabled": false,
  "editor.renderWhitespace": "none",
  "editor.semanticHighlighting.enabled": true,
  "editor.suggestSelection": "first",
  "editor.wordWrap": "on",
  "editor.wordWrapColumn": 111,
  "emmet.includeLanguages": {
    "gohtml": "html",
    "html": "html"
  },
  "emmet.triggerExpansionOnTab": true,
  "explorer.confirmDelete": false,
  "files.insertFinalNewline": true,
  "files.trimTrailingWhitespace": true,
  "git.allowForcePush": true,
  "git.allowNoVerifyCommit": true,
  "git.autofetch": false,
  "git.confirmForcePush": false,
  "git.confirmNoVerifyCommit": false,
  "git.confirmSync": false,
  "git.enableSmartCommit": true,
  "go.lintOnSave": "package",
  "go.useLanguageServer": true,
  "security.workspace.trust.enabled": true,
  "security.workspace.trust.startupPrompt": "never",
  "window.menuBarVisibility": "compact",
  "workbench.colorTheme": "Catppuccin Mocha",
  "workbench.iconTheme": "catppuccin-mocha",
  "workbench.startupEditor": "none",
  "[go]": {
    "editor.defaultFormatter": "golang.go"
  },
  "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "editor.wordWrap": "on"
  }
}