216
217
public getResolvedConfiguration(): ResolvedLanguageConfiguration | null {
219
>
const config = this._resolve();
220
>
if (config) {
221
>
this._resolved = new ResolvedLanguageConfiguration(
222
>
this.languageId,
223
>
config
224
>
);
225
>
}
226
>
}
227
>
return this._resolved;
228
>
}
229
230
private _resolve(): LanguageConfiguration | null {
232
return null;
233
}
235
>
return combineLanguageConfigurations(this._entries.map(e => e.configuration));
236
>
}
237
}
238
240
>
let result: ExplicitLanguageConfiguration = {
241
>
comments: undefined,
242
>
brackets: undefined,
243
>
wordPattern: undefined,
244
>
indentationRules: undefined,
245
>
onEnterRules: undefined,
246
>
autoClosingPairs: undefined,
247
>
surroundingPairs: undefined,
248
>
autoCloseBefore: undefined,
249
>
folding: undefined,
250
>
colorizedBracketPairs: undefined,
251
>
__electricCharacterSupport: undefined,
252
>
};
253
>
for (const entry of configs) {
254
>
result = {
255
>
comments: entry.comments || result.comments,
256
>
brackets: entry.brackets || result.brackets,
257
>
wordPattern: entry.wordPattern || result.wordPattern,
258
>
indentationRules: entry.indentationRules || result.indentationRules,
259
>
onEnterRules: entry.onEnterRules || result.onEnterRules,
260
>
autoClosingPairs: entry.autoClosingPairs || result.autoClosingPairs,
261
>
surroundingPairs: entry.surroundingPairs || result.surroundingPairs,
262
>
autoCloseBefore: entry.autoCloseBefore || result.autoCloseBefore,
263
>
folding: entry.folding || result.folding,
264
>
colorizedBracketPairs: entry.colorizedBracketPairs || result.colorizedBracketPairs,
265
>
__electricCharacterSupport: entry.__electricCharacterSupport || result.__electricCharacterSupport,
266
>
};
267
>
}
268
>
269
>
return result;
270
>
}
271
272
class LanguageConfigurationContribution {