質問編集履歴
1
json追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,6 +23,106 @@
|
|
23
23
|
[setting.jsonに項目を追加](https://qiita.com/keisukesato-ac/items/6213925bb167c25cc37c)
|
24
24
|
[このリンク](http://teratail.com/questions/325970)の通りvscodeで開くディレクトリの階層を変更するとこのエラーが出ないことは確認できました
|
25
25
|
|
26
|
+
### setting.jsonの内容
|
27
|
+
```
|
28
|
+
{
|
29
|
+
"files.trimFinalNewlines": true,
|
30
|
+
"files.insertFinalNewline": true,
|
31
|
+
"files.trimTrailingWhitespace": true,
|
32
|
+
"editor.formatOnPaste": true,
|
33
|
+
"editor.formatOnSave": true,
|
34
|
+
"workbench.iconTheme": "material-icon-theme",
|
35
|
+
"editor.fontSize": 16,
|
36
|
+
"workbench.startupEditor": "newUntitledFile",
|
37
|
+
"editor.tabSize": 2,
|
38
|
+
"editor.wordWrap": "on",
|
39
|
+
"editor.detectIndentation": false,
|
40
|
+
"files.autoGuessEncoding": true,
|
41
|
+
"liveServer.settings.CustomBrowser": "chrome",
|
42
|
+
"liveServer.settings.donotVerifyTags": true,
|
43
|
+
"workbench.editor.enablePreview": false,
|
44
|
+
"[html]": {
|
45
|
+
"editor.defaultFormatter": "vscode.html-language-features"
|
46
|
+
},
|
47
|
+
"explorer.confirmDelete": false,
|
48
|
+
"explorer.confirmDragAndDrop": false,
|
49
|
+
"beautify.language": {
|
50
|
+
"js": {
|
51
|
+
"type": [
|
52
|
+
"javascript",
|
53
|
+
"json",
|
54
|
+
"jsonc"
|
55
|
+
],
|
56
|
+
"filename": [
|
57
|
+
".jshintrc",
|
58
|
+
".jsbeautifyrc"
|
59
|
+
]
|
60
|
+
},
|
61
|
+
"css": [
|
62
|
+
"css",
|
63
|
+
"less",
|
64
|
+
"scss"
|
65
|
+
],
|
66
|
+
"html": [
|
67
|
+
"htm",
|
68
|
+
"html",
|
69
|
+
"erb"
|
70
|
+
]
|
71
|
+
},
|
72
|
+
"files.associations": {
|
73
|
+
"*.erb": "erb"
|
74
|
+
},
|
75
|
+
"emmet.includeLanguages": {
|
76
|
+
"erb": "html"
|
77
|
+
},
|
78
|
+
"[css]": {
|
79
|
+
"editor.defaultFormatter": "HookyQR.beautify"
|
80
|
+
},
|
81
|
+
"ruby.lint": {
|
82
|
+
"rubocop": true
|
83
|
+
},
|
84
|
+
"ruby.rubocop.onSave": true,
|
85
|
+
"ruby.format": "rubocop",
|
86
|
+
"ruby.rubocop.executePath": "/opt/homebrew/opt/rbenv/shims/",
|
87
|
+
"ruby.rubocop.configFilePath": "",
|
88
|
+
"liveServer.settings.donotShowInfoMsg": true,
|
89
|
+
"files.autoSave": "afterDelay",
|
90
|
+
"emmet.triggerExpansionOnTab": true,
|
91
|
+
"diffEditor.ignoreTrimWhitespace": false,
|
92
|
+
"ruby.intellisense": "rubyLocate",
|
93
|
+
"editor.formatOnType": true,
|
94
|
+
"terminal.integrated.fontFamily": "Menlo",
|
95
|
+
"editor.fontFamily": "Menlo",
|
96
|
+
"[python]": {
|
97
|
+
"editor.tabSize": 4,
|
98
|
+
},
|
99
|
+
"python.insidersChannel": "weekly",
|
100
|
+
"terminal.integrated.inheritEnv": false,
|
101
|
+
"python.pythonPath": "/Users/satokota/opt/anaconda3/bin/python",
|
102
|
+
"python.analysis.typeCheckingMode": "basic",
|
103
|
+
"python.linting.pylintEnabled": false,
|
104
|
+
"python.linting.flake8Enabled": true,
|
105
|
+
"python.linting.flake8Args": [
|
106
|
+
"--max-line-length",
|
107
|
+
"88",
|
108
|
+
"--ignore=E203,W503,W504"
|
109
|
+
],
|
110
|
+
"editor.codeActionsOnSave": {
|
111
|
+
"source.organizeImports": true
|
112
|
+
},
|
113
|
+
"workbench.editorAssociations": {
|
114
|
+
"*.ipynb": "jupyter-notebook"
|
115
|
+
},
|
116
|
+
"notebook.cellToolbarLocation": {
|
117
|
+
"default": "right",
|
118
|
+
"jupyter-notebook": "left"
|
119
|
+
},
|
120
|
+
"window.zoomLevel": -1,
|
121
|
+
"python.showStartPage": false,
|
122
|
+
"python.languageServer": "Pylance"
|
123
|
+
}
|
124
|
+
|
125
|
+
```
|
26
126
|
### 補足情報(FW/ツールのバージョンなど)
|
27
127
|
|
28
128
|
Mac(M1)
|