Skip to content

Instantly share code, notes, and snippets.

@sahillangoo
Created September 29, 2025 16:58
Show Gist options
  • Select an option

  • Save sahillangoo/12cac11734a51734ddf016a987cd8805 to your computer and use it in GitHub Desktop.

Select an option

Save sahillangoo/12cac11734a51734ddf016a987cd8805 to your computer and use it in GitHub Desktop.
Cursor Config
{
"editor.accessibilitySupport": "off",
"editor.cursorBlinking": "phase",
"editor.cursorSmoothCaretAnimation": "on",
"editor.cursorStyle": "line",
"editor.cursorWidth": 3,
"editor.detectIndentation": true,
"editor.find.autoFindInSelection": "always",
// "editor.fontFamily": "JetBrains Mono, Fira Code, Consolas, 'Courier New', monospace",
"editor.fontSize": 13,
"editor.letterSpacing": 0.5,
"editor.lineHeight": 20,
"editor.suggest.localityBonus": true,
"editor.fontWeight": "normal",
"editor.fontLigatures": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSaveMode": "file",
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.formatOnType": false,
"editor.inlineSuggest.enabled": true,
"editor.inlineSuggest.showToolbar": "always",
"editor.linkedEditing": true,
"editor.minimap.autohide": true,
"editor.minimap.renderCharacters": false,
"editor.renderControlCharacters": true,
"editor.renderLineHighlight": "gutter",
"editor.renderWhitespace": "selection",
"editor.selectionHighlight": true,
"editor.smoothScrolling": true,
"editor.stickyScroll.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.suggest.filterGraceful": true,
"editor.suggest.insertMode": "replace",
"editor.suggest.shareSuggestSelections": true,
"editor.tabCompletion": "on",
"editor.tabSize": 2,
"editor.wordBasedSuggestions": "currentDocument",
"editor.wordWrap": "wordWrapColumn",
"editor.wrappingIndent": "same",
"editor.wrappingStrategy": "advanced",
"editor.wordWrapColumn": 90,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.guides.bracketPairsHorizontal": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.fixAll.stylelint": "never",
"source.fixAll.eslint": "explicit",
"source.organizeImports": "explicit"
},
"editor.quickSuggestions": {
"comments": true,
"other": true,
"strings": "on"
},
"editor.suggest.preview": true,
"editor.suggest.showMethods": true,
"editor.suggest.showFunctions": true,
"editor.suggest.showVariables": true,
"editor.suggest.showClasses": true,
"editor.suggest.showKeywords": true,
"editor.suggest.showSnippets": true,
"editor.suggest.showValues": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.suggestOnTriggerCharacters": true,
"editor.parameterHints.enabled": true,
"editor.suggest.showStatusBar": true,
"workbench.colorCustomizations": {
"editorBracketHighlight.foreground1": "#FFD700",
"editorBracketHighlight.foreground2": "#DA70D6",
"editorBracketHighlight.foreground3": "#179fff",
"editorBracketHighlight.foreground4": "#00FF00",
"editorBracketHighlight.foreground5": "#FFA500",
"editorBracketHighlight.foreground6": "#FF69B4",
"editorBracketHighlight.unexpectedBracket.foreground": "#ff0000"
},
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": true,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.scrollToSwitchTabs": true,
"javascript.autoClosingTags": true,
"typescript.autoClosingTags": true,
// files & Assosiation
"files.encoding": "utf8",
"files.eol": "auto",
"files.autoSave": "onFocusChange",
"files.autoSaveDelay": 1000,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"files.autoGuessEncoding": true,
"files.exclude": {
"**/.idea": true,
"**/.astro": true,
"**/.git": true,
"**/.DS_Store": true
},
"files.associations": {
"**/*.js": "javascript",
"**/*.yml": "yaml",
"**/*.ts": "typescript",
"*.css": "tailwindcss",
"*.scss": "tailwindcss",
"*.less": "tailwindcss",
"*.svg": "xml"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.documentSelectors": ["**/*.astro"],
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode",
"editor.suggest.showStatusBar": true,
"editor.quickSuggestions": {
"strings": true
}
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[svg]": {
"editor.defaultFormatter": "jock.svg",
"editor.formatOnSave": false
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[scss]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[yaml]": {
"diffEditor.ignoreTrimWhitespace": false
},
"[markdown]": {
"editor.wordWrap": "on"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"explorer.confirmDragAndDrop": false,
"explorer.sortOrder": "type",
"explorer.confirmDelete": false,
// Git
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"emmet.triggerExpansionOnTab": true,
"emmet.showSuggestionsAsSnippets": true,
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"astro": "html",
"typescript": "typescriptreact",
"markdown": "html"
},
// Extentions
"better-comments.multilineComments": true,
"better-comments.highlightPlainText": false,
"path-intellisense.extensionOnImport": true,
"html.format.templating": true,
"eslint.lintTask.enable": true,
"eslint.run": "onSave",
"eslint.workingDirectories": ["./src", "./packages"],
"eslint.validate": [
"javascript",
"javascriptreact",
"astro",
"typescript",
"typescriptreact"
],
"eslint.options": {
"extensions": [
".js",
".ts",
".tsx",
".html",
".astro",
".svelte",
".json",
".yaml",
".yml",
".md",
".mdx"
]
},
"eslint.probe": [
"javascript",
"astro",
"typescript",
"typescriptreact",
"html"
],
"eslint.codeAction.showDocumentation": {
"enable": true
},
"eslint.codeActionsOnSave.mode": "all",
"eslint.enable": true,
// terminal
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.fontFamily": "CaskaydiaCove NFM, JetBrains Mono, Fira Code, Consolas, 'Courier New', monospace",
"terminal.integrated.fontSize": 12,
"terminal.integrated.letterSpacing": 1.6,
"debug.console.fontSize": 11,
// formatters
"css.format.spaceAroundSelectorSeparator": true,
"css.validate": false,
"html.format.indentHandlebars": true,
"html.format.indentInnerHtml": true,
"less.validate": false,
// "prettier.configPath": ".prettierrc",
"prettier.htmlWhitespaceSensitivity": "ignore",
"prettier.ignorePath": ".prettierignore",
"prettier.printWidth": 90,
"prettier.singleQuote": true,
"prettier.tabWidth": 4,
"prettier.trailingComma": "es5",
"prettier.useTabs": true,
"prettier.bracketSameLine": true,
"prettier.semi": true,
"scss.validate": false,
"stylelint.packageManager": "pnpm",
"stylelint.validate": ["css", "scss"],
"accessibility.signals.format": {
"announcement": "never"
},
"search.exclude": {
// Avoid polluting search results with lockfile content
"pnpm-lock.yaml": true
},
// Ensure VSCode uses pnpm instead of npm
"npm.packageManager": "pnpm",
// For those using file-nesting, nest the new files. E.g.:
"explorer.fileNesting.patterns": {
"package.json": "pnpm-workspace.yaml, pnpm-lock.yaml"
},
// "prettier.requireConfig": true,
"terminal.integrated.defaultProfile.windows": "PowerShell",
"typescript.updateImportsOnFileMove.enabled": "always",
"task.allowAutomaticTasks": "on",
"vsicons.dontShowNewVersionMessage": true,
"window.newWindowProfile": "JS Master",
// files & Assosiation
// Git
"git.enableCommitSigning": false,
"prettier.requireConfig": true,
"diffEditor.ignoreTrimWhitespace": false,
// "intelephense.environment.phpVersion": "8.3",
"remote.autoForwardPortsSource": "hybrid",
"git.ignoreRebaseWarning": true,
"gitlens.views.contributors.showStatistics": true,
"gitlens.views.branches.branches.layout": "list",
"html.hover.references": false,
"scss.hover.references": false,
"less.hover.references": false,
"css.hover.references": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.suggest.completeFunctionCalls": true,
"typescript.suggest.completeFunctionCalls": true,
"javascript.suggest.enabled": true,
"typescript.suggest.enabled": true,
"javascript.suggestionActions.enabled": true,
"typescript.suggestionActions.enabled": true,
"workbench.activityBar.location": "bottom",
"workbench.editorAssociations": {
"*.copilotmd": "vscode.markdown.preview.editor",
"*.svg": "default"
},
"editor.semanticHighlighting.enabled": true,
"debug.openDebug": "openOnDebugBreak",
"git.postCommitCommand": "sync",
"terminal.integrated.gpuAcceleration": "on",
"workbench.iconTheme": "vscode-icons",
"editor.gotoLocation.multipleDefinitions": "goto",
"workbench.productIconTheme": "Default",
"editor.largeFileOptimizations": false,
"extensions.supportUntrustedWorkspaces": {},
"editor.fontFamily": "CaskaydiaCove NFM, Consolas, 'Courier New', monospace",
"editor.unicodeHighlight.nonBasicASCII": false,
"window.menuBarVisibility": "classic",
// "workbench.iconTheme": "catppuccin noctis icons",
"window.openFilesInNewWindow": "default",
"http.proxySupport": "on",
"workbench.colorTheme": "Dracula Theme",
"catppuccin-noctis-icons.hidesExplorerArrows": false,
"cursor.composer.shouldChimeAfterChatFinishes": true,
"cursor.composer.shouldAllowCustomModes": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment