-
Notifications
You must be signed in to change notification settings - Fork 10
/
settings.ts
84 lines (80 loc) · 2.57 KB
/
settings.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*!
* Defold Kit
* https://github.com/astrochili/vscode-defold
* Copyright (c) 2023 Roman Silin
* MIT license
*
* The Defold name is a registered trademark of the Defold Foundation.
* https://defold.com
*/
import * as config from '../config'
import { ids } from './extensions'
export const recommended = {
[config.extension.id]: {
'files.associations': {
'*.project': 'ini',
'*.script': 'lua',
'*.gui_script': 'lua',
'*.render_script': 'lua',
'*.editor_script': 'lua',
'*.fp': 'glsl',
'*.vp': 'glsl',
'*.go': 'textproto',
'*.animationset': 'textproto',
'*.atlas': 'textproto',
'*.buffer': 'json',
'*.camera': 'textproto',
'*.collection': 'textproto',
'*.collectionfactory': 'textproto',
'*.collectionproxy': 'textproto',
'*.collisionobject': 'textproto',
'*.display_profiles': 'textproto',
'*.factory': 'textproto',
'*.gamepads': 'textproto',
'*.gui': 'textproto',
'*.input_binding': 'textproto',
'*.label': 'textproto',
'*.material': 'textproto',
'*.mesh': 'textproto',
'*.model': 'textproto',
'*.particlefx': 'textproto',
'*.render': 'textproto',
'*.sound': 'textproto',
'*.spinemodel': 'textproto',
'*.spinescene': 'textproto',
'*.sprite': 'textproto',
'*.texture_profiles': 'textproto',
'*.tilemap': 'textproto',
'*.tilesource': 'textproto',
'*.manifest': 'textproto',
'*.appmanifest': 'yaml',
'*.script_api': 'yaml',
'ext.manifest': 'yaml'
}
},
[ids.luaLanguageServer]: {
'[lua]': {
'editor.defaultFormatter': ids.luaLanguageServer
},
'Lua.runtime.version': 'Lua 5.1',
'Lua.runtime.pathStrict': true,
'Lua.window.statusBar': false,
'Lua.completion.callSnippet': 'Replace',
'Lua.completion.keywordSnippet': 'Replace',
'Lua.completion.showWord': 'Fallback',
'Lua.completion.autoRequire': false,
'Lua.diagnostics.libraryFiles': 'Disable',
'Lua.diagnostics.disable': [
'lowercase-global',
'redefined-local'
],
'Lua.workspace.library': [
]
},
[ids.glslLint]: {
'glsllint.additionalStageAssociations': {
'.fp': 'frag',
'.vp': 'vert'
}
}
}