Skip to content

Instantly share code, notes, and snippets.

@nurmdrafi
Last active August 28, 2022 14:58
Show Gist options
  • Select an option

  • Save nurmdrafi/95214471308af0dbd14b4b19b63f9d25 to your computer and use it in GitHub Desktop.

Select an option

Save nurmdrafi/95214471308af0dbd14b4b19b63f9d25 to your computer and use it in GitHub Desktop.

πŸ‘Ύ Auto Close Tag

  • Automatically add HTML/XML close tag

πŸ‘Ύ Auto Rename Tag

  • Auto rename paired HTML/XML tag

πŸ‘Ύ Brackets Extension Pack

  • πŸ‘Ύ Brackets Keymap: Popular keybindings for VS Code
  • πŸ‘Ύ Live Server: Launch a development local Server with live reload feature for static & dynamic pages
  • πŸ‘Ύ CSS Peek: Allow peeking to css ID and class strings as definitions from html files to respective CSS. Allows peek and goto defination
  • πŸ‘Ύ IntelliSense for CSS class names in HTML: CSS class name completion for the HTML class attribute based on the definitions found in your workspace βœ”

πŸ‘Ύ HTML CSS Support ❌

  • CSS Intellisense for HTML

πŸ‘Ύ HTML to CSS autocompletion ❌

  • Provides completion suggetions for classes and ids from markup documents to stylesheets.

πŸ‘Ύ innerHTML Syntax Highlighting βœ”

  • Syntax highlighting for HTML inside of JavaScript innerHTML template literals

πŸ‘Ύ Tailwind CSS IntelliSense βœ”

  • Intelligent Tailwind CSS tool for VS Code

πŸ‘Ύ Live Sass Compiler

  • Compile Sass or Scss to CSS at realtime.

πŸ‘Ύ Material Icon Theme βœ”

  • Material Design Icons for Visual Studio Code

πŸ‘Ύ Prettier - Code Formatter βœ”

  • Code formatter using prettier

πŸ‘Ύ TODO Highlight βœ”

  • highlight TODOs. FIXMEs, and any keywords, annotations

πŸ‘Ύ Quokka.js βœ”

  • JavaScript and TypeScript playground in your editor
  • Perfect for practicing mode

πŸ‘Ύ React Extension Pack βœ”βœ”βœ” Popular VS Code extensions for React Development

  • πŸ‘Ύ Reactjs Code Snippets: Adds code snippets for React development in ES6
  • πŸ‘Ύ ESLint: Integrates ESLint JavaScript into VS Code.
  • πŸ‘Ύ JavaScript (ES6) Code Snippets: Adds code snippets for JavaScript development in ES6 syntax.
  • πŸ‘Ύ Search node_modules: Quickly search for node modules in your project.
  • πŸ‘Ύ npm Intellisense: Visual Studio Code plugin that autocompletes npm modules in import statements
  • πŸ‘Ύ Path Intellisense: Visual Studio Code plugin that autocompletes filenames

πŸ‘Ύ Settings Sync βœ”

  • Synchronize Settings, Snippets, Theme, File Icons, Launch, Keybindings, Workspaces and Extensions Across Multiple Machines Using GitHub Gist

πŸ‘Ύ Tokyo Night βœ”βœ”βœ”

  • A clean Visual Studio Code theme that celebrates the lights of Downtown Tokyo at night.

πŸ‘Ύ Code Spell Checker

  • Spelling checker for source code
{
  // Live Server Settings
  "liveServer.settings.AdvanceCustomBrowserCmdLine": "chrome",
  "liveServer.settings.donotVerifyTags": true,
  "explorer.confirmDelete": false,
  "liveServer.settings.donotShowInfoMsg": true,

  // Format Settings
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "files.autoSave": "afterDelay",
  "prettier.embeddedLanguageFormatting": "off",
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },

  // JavaScript Format Settings
  "[javascript]": {
    // "editor.defaultFormatter": "esbenp.prettier-vscode",
    // IntelliSense
    "editor.quickSuggestions": {
      "other": true,
      "comments": true,
      "strings": true,
      "methods": true
    }
  },
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  "javascript.updateImportsOnFileMove.enabled": "always",

  // Editor Settings
  "editor.quickSuggestionsDelay": 10,
  "editor.suggestOnTriggerCharacters": true,
  "editor.parameterHints.enabled": true,
  "editor.snippetSuggestions": "top",
  "editor.wordWrap": "on",
  "editor.formatOnSave": true,
  "editor.fontSize": 15.5,
  "editor.fontLigatures": true,
  "editor.minimap.enabled": false,
  "diffEditor.wordWrap": "on",
  "diffEditor.maxComputationTime": 0,

  // Terminal Settings
  "terminal.integrated.enableMultiLinePasteWarning": false,
  "terminal.integrated.cursorBlinking": true,

  // My Custom Theme
  "workbench.colorTheme": "Tokyo Night",
  "workbench.iconTheme": "material-icon-theme",
  "workbench.startupEditor": "none",
  "workbench.colorCustomizations": {
    "[Tokyo Night]": {
      "editor.background": "#222233",
      "descriptionForeground": "#F7F7F7",
      // inner color theme
      // "titleBar.activeBackground": "#ffffff",
      // "activityBar.background": "#14b197", // < Sidebar
      "titleBar.activeForeground": "#78E8C6",
      "sideBar.foreground": "#00B3BD",
      "sideBarTitle.foreground": "#00B3BD",
      "activityBar.foreground": "#00B3BD", // < Sidebar
      "statusBar.foreground": "#00B3BD",
      "panelTitle.activeForeground": "#00B3BD",
      "panelTitle.inactiveForeground": "#FFFFFFCC",
      "tab.activeForeground": "#00B3BD",
      "editorIndentGuide.background": "#072F2C",
      "editorLineNumber.foreground": "#78E8C6",

      // controls the color of the terminal
      "terminal.foreground": "#ffD866",
      "terminal.ansiBlack": "#171C2A",
      "terminal.ansiRed": "#E35535",
      "terminal.ansiGreen": "#52AB62",
      "terminal.ansiYellow": "#ffD866",
      "terminal.ansiBlue": "#00B3BD",
      "terminal.ansiMagenta": "#E991E3",
      "terminal.ansiCyan": "#78E8C6",
      "terminal.ansiWhite": "#FFFFFFCC",
      "terminal.ansiBrightBlack": "#00B3BD",
      "terminal.ansiBrightRed": "#E35535",
      "terminal.ansiBrightGreen": "#52AB62",
      "terminal.ansiBrightYellow": "#ffd866",
      "terminal.ansiBrightBlue": "#00B3BD",
      "terminal.ansiBrightMagenta": "#E991E3",
      "terminal.ansiBrightCyan": "#78E8C6",
      "terminal.ansiBrightWhite": "#00B3BD",
      "terminal.background": "#171C2A",
      "terminalCursor.background": "#FFD866",
      "terminalCursor.foreground": "#FFD866"
    }
  },
  "editor.tokenColorCustomizations": {
    "[Tokyo Night]": {
      "comments": "#9AA5CE",
      "strings": "#7DCFFF",

      "textMateRules": [
        {
          "scope": "text.html.derivative",
          "settings": {
            "foreground": "#FFF"
          }
        },
        {
          "scope": "variable.other.readwrite",
          "settings": {
            "foreground": "#D7E9E3"
          }
        },
        {
          "scope": "meta.var.expr storage.type",
          "settings": {
            "foreground": "#E1EC04"
          }
        },
        {
          "scope": "comment.block.documentation",
          "settings": {
            "foreground": "#969696"
          }
        },
        {
          "scope": "variable.parameter",
          "settings": {
            "foreground": "#FCD600"
          }
        }
      ]
    }
  },

  // Live Sass Compiler
  // https://github.com/ritwickdey/vscode-live-sass-compiler/blob/master/docs/settings.md
  "liveSassCompile.settings.formats": [
    {
      "format": "compressed",
      "extensionName": ".min.css",
      "savePath": "/css"
    },
  ],
  "liveSassCompile.settings.excludeList": ["**/node_modules/**", ".vscode/**"],
  "liveSassCompile.settings.autoprefix": [],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment