@@ -18,8 +18,40 @@ https://deno.land/manual/getting_started/setup_your_environment. The extension
1818helps ensure that the information you get about your code aligns to how that
1919code will work when you try to run it under the Deno CLI."[ ^ 1 ]
2020
21- If you use VSCode, the necessary configurations have been defined in
22- ` .vscode/settings.json ` . Simply install the
21+ If you use VSCode, use the following settings (` .vscode/settings.json ` ):
22+
23+ ``` json
24+ {
25+ "deno.enablePaths" : [
26+ " mod.ts" ,
27+ " version.ts" ,
28+ " src" ,
29+ " tests" ,
30+ " scripts" ,
31+ " examples/deno"
32+ ],
33+ "deno.inlayHints.enumMemberValues.enabled" : false ,
34+ "deno.inlayHints.functionLikeReturnTypes.enabled" : false ,
35+ "deno.inlayHints.parameterNames.enabled" : " none" ,
36+ "deno.inlayHints.parameterTypes.enabled" : false ,
37+ "deno.inlayHints.propertyDeclarationTypes.enabled" : false ,
38+ "deno.inlayHints.variableTypes.enabled" : false ,
39+ "[json]" : {
40+ "editor.formatOnSave" : true ,
41+ "editor.defaultFormatter" : " denoland.vscode-deno"
42+ },
43+ "[markdown]" : {
44+ "editor.formatOnSave" : true ,
45+ "editor.defaultFormatter" : " denoland.vscode-deno"
46+ },
47+ "[typescript]" : {
48+ "editor.formatOnSave" : true ,
49+ "editor.defaultFormatter" : " denoland.vscode-deno"
50+ }
51+ }
52+ ```
53+
54+ Subsequently, install the
2355[ vscode_deno extension] ( https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno )
2456and you're good to go.
2557
0 commit comments