Skip to content

Commit 8cc448f

Browse files
committed
Update
1 parent 9bf2301 commit 8cc448f

File tree

4 files changed

+172
-0
lines changed

4 files changed

+172
-0
lines changed

.vscode/extensions.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
# Themes
4+
code --install-extension BeardedBear.beardedtheme
5+
code --install-extension GitHub.github-vscode-theme
6+
7+
# Icons
8+
code --install-extension PKief.material-icon-theme
9+
10+
# Php, vue, js
11+
code --install-extension bmewburn.vscode-intelephense-client
12+
code --install-extension DavidAnson.vscode-markdownlint
13+
code --install-extension DotJoshJohnson.xml
14+
code --install-extension esbenp.prettier-vscode
15+
code --install-extension onecentlin.laravel-blade
16+
code --install-extension Vue.volar
17+
code --install-extension Vue.vscode-typescript-vue-plugin
18+
code --install-extension xabikos.JavaScriptSnippets

.vscode/sample-snippets.code-snippets

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"Print to console": {
3+
"scope": "javascript,typescript,vue",
4+
"prefix": ["v3-clg"],
5+
"body": ["console.log('$1', $2);", "$3"],
6+
"description": "Log output to console"
7+
},
8+
"Vue3 setup in tag": {
9+
"scope": "vue",
10+
"prefix": ["v3-setup"],
11+
"body": ["<script setup>", "import { ref, reactive, toRefs, onMounted, onUnmounted, watch } from 'vue'", "$0", "</script>\r\n", "<template>\r\n", "</template>\r\n", "<style lang=\"css\" scoped>\r\n", "</style>"],
12+
"description": "Vue3 setup in tag"
13+
}
14+
15+
// Place your app-vuerest workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
16+
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
17+
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
18+
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
19+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
20+
// Placeholders with the same ids are connected.
21+
// Example:
22+
// "Print to console": {
23+
// "scope": "javascript,typescript",
24+
// "prefix": "log",
25+
// "body": [
26+
// "console.log('$1');",
27+
// "$2"
28+
// ],
29+
// "description": "Log output to console"
30+
// }
31+
}

.vscode/settings.json

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
{
2+
// GTK Remove Bar (set manualy from settings)
3+
"window.titleBarStyle": "custom",
4+
5+
// GTK Disable open folder file popup
6+
"files.simpleDialog.enable": true,
7+
8+
// Disable git
9+
"git.enabled": false,
10+
11+
// Php
12+
// "php.validate.executablePath": "C:/xampp/php/php.exe",
13+
"php.validate.executablePath": "/bin/php",
14+
15+
// Window zoom/scale
16+
"window.zoomLevel": 1,
17+
18+
// Workbench style
19+
"workbench.tree.indent": 20,
20+
"workbench.tree.renderIndentGuides": "always",
21+
22+
// Icons
23+
"workbench.iconTheme": "material-icon-theme",
24+
25+
// File
26+
"files.trimTrailingWhitespace": true,
27+
28+
// Style
29+
"editor.fontSize": 18,
30+
"editor.fontFamily": "'JetBrains Mono','Fira Code',Consolas,monospace",
31+
"editor.insertSpaces": true, // Use spaces no tabs
32+
"editor.detectIndentation": false,
33+
"editor.fontLigatures": true, // Enables font ligatures
34+
"editor.wordWrap": "off",
35+
"editor.lineHeight": 0, // Use 0 to compute the lineHeight from the fontSize.
36+
"editor.letterSpacing": 0.5,
37+
"editor.tabSize": 2,
38+
39+
// Formatter
40+
"editor.formatOnSave": true,
41+
"editor.defaultFormatter": "esbenp.prettier-vscode",
42+
43+
// Prettier settings @ext:esbenp.prettier-vscode
44+
"prettier.useEditorConfig": false,
45+
"prettier.singleQuote": true,
46+
"prettier.semi": false,
47+
"prettier.jsxSingleQuote": true,
48+
"prettier.useTabs": true, // Change spaces to tabs
49+
"prettier.bracketSameLine": true, // Dont break > tag end
50+
51+
// Line length
52+
"editor.wordWrapColumn": 300, // Dont break line
53+
"html.format.wrapLineLength": 300, // Dont break line
54+
"prettier.printWidth": 300, // Dont break line
55+
56+
// Laravel Blade Snippets formatter @ext:onecentlin.laravel-blade
57+
"blade.format.enable": true,
58+
59+
// Format files
60+
"[markdown]": {
61+
"editor.unicodeHighlight.ambiguousCharacters": false,
62+
"editor.unicodeHighlight.invisibleCharacters": false,
63+
"editor.wordWrap": "off",
64+
"editor.formatOnSave": true,
65+
"editor.formatOnPaste": true,
66+
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
67+
},
68+
"[javascript]": {
69+
"editor.formatOnSave": true,
70+
"editor.defaultFormatter": "esbenp.prettier-vscode"
71+
},
72+
"[vue]": {
73+
"editor.formatOnSave": true,
74+
"editor.defaultFormatter": "esbenp.prettier-vscode"
75+
},
76+
"[css]": {
77+
"editor.formatOnSave": true,
78+
"editor.defaultFormatter": "esbenp.prettier-vscode"
79+
},
80+
"[ts]": {
81+
"editor.formatOnSave": true,
82+
"editor.defaultFormatter": "esbenp.prettier-vscode"
83+
},
84+
"[php]": {
85+
"editor.tabSize": 4,
86+
"editor.insertSpaces": false, // Change spaces to tabs
87+
"editor.formatOnSave": true,
88+
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
89+
"editor.wordWrapColumn": 1000
90+
},
91+
"[blade]": {
92+
"editor.tabSize": 4,
93+
"editor.insertSpaces": false, // Change spaces to tabs
94+
"editor.formatOnSave": true,
95+
"editor.defaultFormatter": "onecentlin.laravel-blade",
96+
"editor.wordWrapColumn": 1000,
97+
"editor.autoClosingBrackets": "always"
98+
},
99+
"[xml]": {
100+
"editor.defaultFormatter": "DotJoshJohnson.xml"
101+
},
102+
103+
"editor.codeActionsOnSave": {
104+
"source.fixAll.markdownlint": "explicit"
105+
},
106+
107+
// Laravel facades error
108+
"intelephense.diagnostics.undefinedTypes": false,
109+
"intelephense.diagnostics.undefinedMethods": false,
110+
"intelephense.environment.phpVersion": "8.1.6",
111+
"workbench.startupEditor": "none",
112+
"workbench.colorTheme": "Bearded Theme Oceanic",
113+
"explorer.confirmDragAndDrop": false,
114+
115+
"files.associations": {
116+
"*.env": "properties",
117+
"*.env.*": "properties"
118+
}
119+
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,7 @@ Style in input-root.css
8080
<img src="https://raw.githubusercontent.com/atomjoy/vue3-input/main/input/example/vue3-inputs.png" width="100%">
8181

8282
<img src="https://raw.githubusercontent.com/atomjoy/vue3-input/main/input/example/vue3-checkbox-radio.png" width="100%">
83+
84+
## LICENSE
85+
86+
This project is licensed under the terms of the GNU GPLv3 license.

0 commit comments

Comments
 (0)