forked from zulfikar-ditya/my-vscode-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d7361ea
Showing
6 changed files
with
395 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.js | ||
*.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# my vscode setup | ||
|
||
- extension list | ||
- php snipper | ||
- javascript snippet | ||
- my setting.json file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
aaron-bond.better-comments | ||
abusaidm.html-snippets | ||
adpyke.codesnap | ||
aeschli.vscode-css-formatter | ||
ahmadawais.shades-of-purple | ||
akamud.vscode-javascript-snippet-pack | ||
alefragnani.project-manager | ||
amiralizadeh9480.laravel-extra-intellisense | ||
awb24.calm-ocean-theme | ||
bmewburn.vscode-intelephense-client | ||
bradlc.vscode-tailwindcss | ||
burkeholland.simple-react-snippets | ||
codezombiech.gitignore | ||
codingyu.laravel-goto-view | ||
DaltonMenezes.aura-theme | ||
deerawan.vscode-faker | ||
dhedgecock.radical-vscode | ||
donjayamanne.git-extension-pack | ||
donjayamanne.githistory | ||
donjayamanne.jquerysnippets | ||
dsznajder.es7-react-js-snippets | ||
dzannotti.vscode-babel-coloring | ||
eamodio.gitlens | ||
ecmel.vscode-html-css | ||
enkia.tokyo-night | ||
ephoton.indent-switcher | ||
EQuimper.react-native-react-redux | ||
esbenp.prettier-vscode | ||
formulahendry.auto-close-tag | ||
formulahendry.auto-rename-tag | ||
formulahendry.terminal | ||
gerane.Theme-Cobalt | ||
GitHub.copilot | ||
GitHub.vscode-pull-request-github | ||
helgardrichard.helium-icon-theme | ||
Hridoy.jquery-snippets | ||
imanilchaudhari.yii2-snippets | ||
jakebathman.mysql-syntax | ||
jaredkent.laserwave | ||
johnpapa.winteriscoming | ||
jonkwheeler.styled-components-snippets | ||
jprestidge.theme-material-theme | ||
junstyle.php-cs-fixer | ||
kevinkyang.auto-comment-blocks | ||
KevinRose.vsc-python-indent | ||
kuscamara.electron | ||
marqu3s.aurora-x | ||
max-SS.Cyberpunk | ||
mdixon18.palenight | ||
MehediDracula.php-namespace-resolver | ||
mgmcdermott.vscode-language-babel | ||
mrmlnc.vscode-duplicate | ||
mrpbennett.atlantic-night | ||
ms-python.python | ||
ms-python.vscode-pylance | ||
ms-vscode.vscode-typescript-next | ||
necraidan.winterisgone | ||
nexxai.material-synthwave-vscode | ||
oderwat.indent-rainbow | ||
onecentlin.laravel-blade | ||
onecentlin.laravel5-snippets | ||
patbenatar.advanced-new-file | ||
PKief.material-icon-theme | ||
rifi2k.format-html-in-php | ||
ritwickdey.LiveServer | ||
Rubymaniac.vscode-paste-and-indent | ||
ryannaddy.laravel-artisan | ||
sdras.night-owl | ||
shufo.vscode-blade-formatter | ||
skyran.js-jsx-snippets | ||
sleistner.vscode-fileutils | ||
Sophisticode.php-formatter | ||
Sujan.code-blue | ||
TabNine.tabnine-vscode | ||
timothymclane.react-redux-es6-snippets | ||
vscjava.vscode-java-pack | ||
WallabyJs.quokka-vscode | ||
wesbos.theme-cobalt2 | ||
whizkydee.material-palenight-theme | ||
xabikos.JavaScriptSnippets | ||
xdebug.php-debug | ||
xdebug.php-pack | ||
ZainChen.json | ||
Zignd.html-css-class-completion | ||
ziyasal.vscode-open-in-github | ||
zobo.php-intellisense |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
{ | ||
"workbench.startupEditor": "newUntitledFile", | ||
"files.autoSave": "onFocusChange", | ||
"git.suggestSmartCommit": false, | ||
"explorer.confirmDragAndDrop": false, | ||
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe", | ||
"terminal.integrated.smoothScrolling": true, | ||
"git.confirmSync": false, | ||
"workbench.sideBar.location": "left", | ||
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar", | ||
"php-cs-fixer.lastDownload": 1665652561093, | ||
"editor.mouseWheelZoom": true, | ||
"editor.fontFamily": "'Fira Code', 'Consolas', 'Ubuntu Mono', 'monospace', monospace", | ||
"editor.fontLigatures": true, | ||
"stories.username": "Hildegarde_troubled", | ||
"[django-html]": { | ||
"editor.quickSuggestions": { | ||
"other": false, | ||
"comments": false, | ||
"strings": false | ||
} | ||
}, | ||
"editor.stickyScroll.enabled": true, | ||
"editor.cursorSmoothCaretAnimation": true, | ||
"prettier.trailingComma": "all", | ||
"prettier.useTabs": true, | ||
"prettier.vueIndentScriptAndStyle": true, | ||
"prettier.endOfLine": "auto", | ||
"editor.cursorSurroundingLinesStyle": "all", | ||
"liveServer.settings.donotShowInfoMsg": true, | ||
"html.format.endWithNewline": true, | ||
"html.format.maxPreserveNewLines": -1, | ||
"html.format.templating": false, | ||
"beautify.ignore": "", | ||
"html.format.enable": false, | ||
"pasteAndIndent.selectAfter": true, | ||
"liveServer.settings.donotVerifyTags": true, | ||
"tabnine.experimentalAutoImports": true, | ||
"editor.autoClosingQuotes": "always", | ||
"editor.autoClosingBrackets": "always", | ||
"editor.renderLineHighlightOnlyWhenFocus": true, | ||
"editor.tabCompletion": "on", | ||
"editor.autoClosingOvertype": "always", | ||
"editor.formatOnPaste": true, | ||
"editor.linkedEditing": true, | ||
"editor.suggest.preview": true, | ||
"editor.codeActionsOnSave": {}, | ||
"emmet.includeLanguages": { | ||
"javascript": "javascriptreact" | ||
}, | ||
"zenMode.hideLineNumbers": false, | ||
"workbench.editorAssociations": { | ||
"*.xlsx": "default" | ||
}, | ||
"terminal.integrated.cursorStyle": "underline", | ||
"terminal.integrated.defaultProfile.windows": "Command Prompt", | ||
"editor.formatOnSave": true, | ||
"editor.autoClosingDelete": "always", | ||
"editor.bracketPairColorization.enabled": true, | ||
"diffEditor.ignoreTrimWhitespace": false, | ||
"settingsSync.ignoredSettings": ["-emmet.extensionsPath"], | ||
"javascript.updateImportsOnFileMove.enabled": "always", | ||
"bracketPairColorizer.depreciation-notice": false, | ||
"editor.guides.bracketPairs": "active", | ||
"editor.smoothScrolling": true, | ||
"editor.cursorBlinking": "expand", | ||
"workbench.preferredDarkColorTheme": "Tokyo Night", | ||
"terminal.integrated.enableBell": true, | ||
"explorer.confirmDelete": false, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true | ||
}, | ||
"[jsonc]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true | ||
}, | ||
"[blade]": { | ||
"editor.defaultFormatter": "shufo.vscode-blade-formatter", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true | ||
}, | ||
"[php]": { | ||
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true | ||
}, | ||
"[html": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true | ||
}, | ||
"[css]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true | ||
}, | ||
"blade.format.enable": true, | ||
"bladeFormatter.format.useTabs": false, | ||
"bladeFormatter.format.enabled": true, | ||
"bladeFormatter.format.wrapLineLength": 1200, | ||
"bladeFormatter.format.noMultipleEmptyLines": true, | ||
"bladeFormatter.format.wrapAttributes": "aligned-multiple", | ||
"workbench.iconTheme": "material-icon-theme", | ||
"workbench.colorTheme": "Cobalt2", | ||
"php.suggest.basic": true, | ||
"php.validate.enable": true, | ||
"intelephense.rename.namespaceMode": "all", | ||
"php.memoryLimit": "4095M", | ||
"intelephense.phpdoc.classTemplate": { | ||
"summary": "$1", | ||
"tags": ["@package ${1:$SYMBOL_NAMESPACE}"] | ||
}, | ||
"intelephense.phpdoc.functionTemplate": { | ||
"summary": "$1", | ||
"tags": [ | ||
"@param ${1:$SYMBOL_TYPE} $SYMBOL_NAME $2", | ||
"@return ${1:$SYMBOL_TYPE} $2", | ||
"@throws ${1:$SYMBOL_TYPE} $2" | ||
] | ||
}, | ||
"php-cs-fixer.executablePathWindows": "${extensionPath}\\php-cs-fixer.phar", | ||
"php-cs-fixer.onsave": true, | ||
"php-cs-fixer.rules": "@PSR12", | ||
"php-cs-fixer.config": ".php-cs-fixer.php;.php-cs-fixer.dist.php;.php_cs;.php_cs.dist", | ||
"php-cs-fixer.allowRisky": false, | ||
"php-cs-fixer.pathMode": "override", | ||
"php-cs-fixer.exclude": [], | ||
"php-cs-fixer.autoFixByBracket": true, | ||
"php-cs-fixer.autoFixBySemicolon": false, | ||
"php-cs-fixer.formatHtml": false, | ||
"php-cs-fixer.documentFormattingProvider": true, | ||
"terminal.integrated.enableMultiLinePasteWarning": false, | ||
"zenMode.hideActivityBar": false, | ||
"zenMode.hideStatusBar": false, | ||
"bladeFormatter.format.indentSize": 4, | ||
"editor.inlineSuggest.enabled": true, | ||
"workbench.editor.untitled.hint": "hidden", | ||
"githubIssues.queries": [ | ||
{ | ||
"label": "My Issues", | ||
"query": "default" | ||
}, | ||
{ | ||
"label": "Created Issues", | ||
"query": "author:${user} state:open repo:${owner}/${repository} sort:created-desc" | ||
}, | ||
{ | ||
"label": "Recent Issues", | ||
"query": "state:open repo:${owner}/${repository} sort:updated-desc" | ||
} | ||
], | ||
"window.zoomLevel": -1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and | ||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | ||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | ||
// same ids are connected. | ||
// Example: | ||
// "Print to console": { | ||
// "prefix": "log", | ||
// "body": [ | ||
// "console.log('$1');", | ||
// "$2" | ||
// ], | ||
// "description": "Log output to console" | ||
// } | ||
|
||
// * FUNCTION ============================================================================================================ | ||
"constant Function": { | ||
"prefix": "confunc", | ||
"body": [ | ||
"const ${1:functionName} = (${2:parameters}) => {", | ||
"\t// body $3", | ||
"};" | ||
], | ||
"description": "Create const function" | ||
}, | ||
"anonymous basic Function": { | ||
"prefix": "anobasfunc", | ||
"body": ["function (${2:parameters}) {", "\t// body $3", "}"], | ||
"description": "Create const function" | ||
}, | ||
"anonymous arrow Function": { | ||
"prefix": "anoarrfunc", | ||
"body": ["(${2:parameters}) => {", "\t// body $3", "}"], | ||
"description": "Create const function" | ||
}, | ||
|
||
// * END FUNCTION ============================================================================================================ | ||
|
||
// * ARRAY FUNCTION ============================================================================================================ | ||
"Map arrow function": { | ||
"prefix": ["mapdata", "map"], | ||
"description": "Map function", | ||
"body": [".map(($data, $index) => {", "\tlet $data;", "});"] | ||
}, | ||
"Reduce arrow function": { | ||
"prefix": ["reducedata", "reduce"], | ||
"description": "Reducer function", | ||
"body": [ | ||
".reduce(($1total, $2data) => {", | ||
"\treturn $1total += $2data;", | ||
"}, $3startfrom);" | ||
] | ||
}, | ||
"Filter arrow function": { | ||
"prefix": ["filterdata", "filter"], | ||
"description": "Filter array", | ||
"body": [ | ||
".filter(($1element, $2index) => {", | ||
"\t // your filter $3", | ||
"}, $3callBack);" | ||
] | ||
} | ||
// * / END ARRAY FUNCTION ====================================================================================================== | ||
} |
Oops, something went wrong.