Skip to content

Instantly share code, notes, and snippets.

@GalCohen
Last active April 10, 2025 21:21
Show Gist options
  • Save GalCohen/b99892a84ee3bce4f8b083021f464011 to your computer and use it in GitHub Desktop.
Save GalCohen/b99892a84ee3bce4f8b083021f464011 to your computer and use it in GitHub Desktop.
VS Code / Cursor settings.json
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+cmd+r",
"command": "sweetpad.build.launch"
},
{
"key": "ctrl+cmd+b",
"command": "sweetpad.build.build"
},
{
"key": "cmd+i",
"command": "composerMode.agent"
}
]
{
"lldb.library": "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB",
"lldb.launch.expressions": "native",
// Git
"git.openRepositoryInParentFolders": "always",
"git.ignoreLimitWarning": true,
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.autoRepositoryDetection": true,
// Security
"security.promptForLocalFileProtocolHandling": false,
"security.workspace.trust.enabled": true,
// Editor
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true,
"editor.wordWrap": "on",
"editor.suggestSelection": "first",
"editor.linkedEditing": true,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
"editor.inlineSuggest.enabled": true,
"editor.snippetSuggestions": "top",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "explicit"
},
"editor.cursorStyle": "line",
"editor.cursorBlinking": "smooth",
// File
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.autoSave": "onFocusChange",
"files.associations": {
"*.swift": "swift",
"*.h": "objective-c",
"*.m": "objective-c"
},
"files.watcherExclude": {
"**/node_modules/**": true,
"**/bower_components/**": true,
"**/dist/**": true,
"**/build/**": true,
"**/.build/**": true
},
// Terminal settings
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.fontSize": 12,
"terminal.integrated.enableMultiLinePasteWarning": "never",
"terminal.integrated.persistentSessionReviveProcess": "never",
"terminal.integrated.gpuAcceleration": "on",
"terminal.integrated.fontFamily": "Fira Code",
"terminal.integrated.fontLigatures": true,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.cursorStyle": "block",
"terminal.integrated.cursorStyleInactive": "outline",
// Extensions
"extensions.ignoreRecommendations": false,
// Debug
"debug.onTaskErrors": "showErrors",
"debug.javascript.autoAttach": "smart",
"debug.javascript.autoAttachFilter": "smart",
"debug.toolBarLocation": "docked",
// Language-specific Settings
"[javascript]": {
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
},
// Workbench
"workbench.colorTheme": "Default Dark Modern",
"workbench.colorCustomizations": {
"editorBracketPairGuide.activeBackground1": "#8084c8"
},
// TypeScript/JavaScript specific
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.autoImports": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterTypes.enabled": true,
"javascript.inlayHints.functionLikeReturnTypes.enabled": true,
"javascript.inlayHints.parameterTypes.enabled": true,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
// Search and explorer
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/dist": true,
"**/build": true,
"**/.build": true,
"**/Pods": true,
"**/DerivedData": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
"problems.decorations.enabled": true,
// Explorer
"explorer.decorations.badges": true,
"explorer.decorations.colors": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment