My Visual Studio Code Setup!
Tags: vscode, extension, theme, editor
Published: 2021-04-10 12:30:48

# Why [Visual Studio Code](https://code.visualstudio.com)?
So, this post has an awkward start, but please don't mind that. So, why did I choose [VS Code](https://code.visualstudio.com) after all? Well, it's a long story - First when I started, I used to use different IDEs for different languages, like [IntelliJ](https://www.jetbrains.com/idea/) for Java, [PyCharm](https://www.jetbrains.com/pycharm/) for Python, etc. And, they were great but for every language, a separate IDE just didn't seem right to me! So I moved to [Sublime Text](https://www.sublimetext.com) and it was great, I used it for many days, until one day when suddenly my [Python](https://python.org/) and [Sublime](https://www.sublimetext.com) broke! So, I had to change. I later found that my `Tcl/Tk`(basically Tkinter) module had **broken**! So, I switched over to [Atom](https://atom.io)! And I had just one problem, It was not exactly an IDE it was just a Code Editor! And after all this, I came across [VS Code](https://code.visualstudio.com) - The perfect IDE/Code editor for me! And now I have been using it for more than **1 and 1/2 years**!

**_NOTE: Do check all of these amazing editors and IDEs out! All of them deserve equal respect!_**

# So, my setup?
Yeah, so now the actual fun stuff, my setup!

![my-setup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1t2p6oz2dm3cmovrle91.png)

# Themes and Customisation
## My Theme
Well, my theme also has a little story - I  used to use [GitHub Dark](https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme) as my theme, but recently I have switched over to [The Best Theme](https://marketplace.visualstudio.com/items?itemName=kohlbachjan.the-best-theme) and I do not regret doing that! I love its colors and color scheme - they are so vibrant! It's just awesome although it doesn't have many downloads! (Only 8K)!

![the-best-theme](https://kohlbachjan.gallerycdn.vsassets.io/extensions/kohlbachjan/the-best-theme/2.0.5/1614456574849/Microsoft.VisualStudio.Services.Icons.Default)

## My Icon Packs
I won't go into much detail with this! I'll just list them!

File Icon Theme - [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme)
Product Icon Theme - [Carbon Product Icons](https://marketplace.visualstudio.com/items?itemName=antfu.icons-carbon)
Previously Used Prod. Icon Theme - [Fluent Icons](https://marketplace.visualstudio.com/items?itemName=miguelsolorio.fluent-icons)

![carbon-icons](https://antfu.gallerycdn.vsassets.io/extensions/antfu/icons-carbon/0.2.2/1615284100314/Microsoft.VisualStudio.Services.Icons.Default)

## Other Customization
My Font - [Fira Code](https://github.com/tonsky/FiraCode)
[Direct Download Link](https://github.com/tonsky/FiraCode/releases/download/5.2/Fira_Code_v5.2.zip)

# Settings! - I don't even wanna talk about this madness!
Just poking in - I really love AutoSave!
```json
{
  "python.analysis.autoImportCompletions": true,
  "python.analysis.completeFunctionParens": true,
  /* Terminal */
  "terminal.integrated.profiles.windows": {
    "Git Bash": {
      "path": "E:\\Git\\bin\\bash.exe",
      "overrideName": true
    },
    "Command Prompt": {
      "path": "C:\\Windows\\system32\\cmd.exe",
      "overrideName": true
    },
    "Cygwin": {
      "path": "E:\\Cygwin\\bin\\bash.exe",
      "args": ["--login"],
      "overrideName": true
    },
  },
  "terminal.integrated.shell.windows": "E:\\Git\\bin\\bash.exe",
  "terminal.integrated.cursorStyle": "line",
  /* Files */
  "files.autoSave": "afterDelay",
  "files.autoSaveDelay": 100,
  "files.autoGuessEncoding": true,
  "files.insertFinalNewline": true,
  "files.associations": {
    "*.txt": "plaintext"
  },
  /* Editor */
  "editor.suggestSelection": "first",
  "editor.formatOnSave": true,
  "editor.formatOnType": true,
  "editor.fontLigatures": true,
  "editor.fontFamily": /*Fira Code added manually*/ "'Fira Code', 'Courier New', monospace",
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.definitionLinkOpensInPeek": true,
  /* Editor (Format Specific) */
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  /* Workbench */
  "workbench.productIconTheme": "icons-carbon",
  "workbench.colorTheme": "The Best Theme",
  "workbench.iconTheme": "material-icon-theme",
  "workbench.editorAssociations": [
    {
      "viewType": "jupyter.notebook.ipynb",
      "filenamePattern": "*.ipynb"
    }
  ],
  /* Other VS Code Stuff */
  "explorer.incrementalNaming": "smart",
  "debug.node.autoAttach": "on",
  "window.zoomLevel": 0,
  "python.defaultInterpreterPath": "C:\\Users\\{USERNAME}\\anaconda3\\python.exe",
  /* 3rd Party Extensions */
  /* Pylance */
  "python.languageServer": "Pylance",
  /* Live Server */
  "liveServer.settings.donotShowInfoMsg": true,
  "liveServer.settings.donotVerifyTags": true,
  /* Visual Studio IntelliCode */
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  /* Kite */
  "kite.showWelcomeNotificationOnStartup": false,
  /* CodeRunner */
  "code-runner.runInTerminal": true,
  /* GitHub */
  "githubPullRequests.remotes": ["origin_new", "origin"],
  "githubPullRequests.queries": [
    {
      "label": "Open PRs",
      "query": "is:pr is:open"
    },
    {
      "label": "Closed PRs",
      "query": "is:pr is:closed"
    }
  ],
  "githubIssues.queries": [
    {
      "label": "My Open Issues",
      "query": "is:open author:@me"
    },
    {
      "label": "My Closed Issues",
      "query": "is:closed author:@me"
    },
    {
      "label": "py_everything Open Issues",
      "query": "author:@me state:open repo:Play4Tutorials/py_everything sort:created-desc"
    },
    {
      "label": "py_everything Closed Issues",
      "query": "author:@me state:closed repo:Play4Tutorials/py_everything sort:created-desc"
    }
  ],
  /* TabNine */
  "tabnine.experimentalAutoImports": true,
  /* TODO Highlight */
  "todohighlight.keywords": [
    {
      "text": "FIX:",
      "color": "rgb(255, 0, 0)",
      "backgroundColor": "rgba(255, 0, 0, 0.2)"
    },
    {
      "text": "TIP:",
      "color": "rgb(0, 255, 0)",
      "backgroundColor": "rgba(0, 255, 0, 0.2)"
    },
    {
      "text": "TODO:",
      "color": "rgb(255, 0, 0)",
      "backgroundColor": "rgba(0, 0, 225, 0.5)"
    },
    {
      "text": "NOTE:",
      "color": "rgb(255, 255, 0)",
      "backgroundColor": "rgba(255, 255, 0, 0.2)"
    }
  ]
}
```

# Extensions
Well, I have a lot of extensions, so I am going to give the ones here that I actually use!

My Extensions:
- [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag)
- [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag)
- [Bookmarks](https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks)
- [Bracket Pair Colorizer 2](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2)
- [C/C++](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)
- [C#](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)
- [change-case](https://marketplace.visualstudio.com/items?itemName=wmaurer.change-case)
- [Code Runner](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner)
- [Error Lens](https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens)
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [GitGraph](https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph)
- [GitHub Pull Requests and Issues](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github)
- [GitLens - git supercharged](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)
- [indent-rainbow](https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow)
- [Jinja2 Snippet Kit](https://marketplace.visualstudio.com/items?itemName=WyattFerguson.jinja2-snippet-kit)
- [Jupyter](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter)
- [Kite Autocomplete](https://marketplace.visualstudio.com/items?itemName=kiteco.kite)
- [Live Sass Compiler](https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass)
- [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)
- [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare)
- [Markdown All in One](https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one)
- [open in browser](https://marketplace.visualstudio.com/items?itemName=techer.open-in-browser)
- [Prettier - Code Formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
- [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
- [Python Indent](https://marketplace.visualstudio.com/items?itemName=KevinRose.vsc-python-indent)
- [Python Preview](https://marketplace.visualstudio.com/items?itemName=dongli.python-preview)
- [python snippets](https://marketplace.visualstudio.com/items?itemName=frhtylcn.pythonsnippets)
- [Python Test Explorer UI](https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter)
- [RST Preview](https://marketplace.visualstudio.com/items?itemName=tht13.rst-vscode)
- [Simple React Snippets](https://marketplace.visualstudio.com/items?itemName=burkeholland.simple-react-snippets)
- [TabNine Autocomplete](https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode)
- [Test Explorer UI](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-test-explorer)
- [TODO Highlight](https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight)
- [Visual Studio IntelliCode](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)

# Conclusion?
Well, so it ended at last! I would just like to say that - 
> *Everyone has different opinions. And I do not want to say other editors are bad or VS Code is better - it's just that I like VS Code more! You might like Atom more or Sublime! This varies from person to person - and I completely agree with that!*