Messages panel wordwrap (#10970)

* Add CodeQL Analysis workflow (#10195)

* Add CodeQL Analysis workflow

* Fix path

* fix word wrap support in the message panel

* fix width on message treee

* fix import

* fix settings editor to reflect the changes in the settings ids

* fix tests

* add configuration upgrader

* make sure to maintian execution order

* make the compiler happy

* add tests for upgrader

Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
This commit is contained in:
Anthony Dresser
2020-06-29 16:25:11 -07:00
committed by GitHub
parent 6b8eafbf2e
commit 93a88e38fe
17 changed files with 477 additions and 284 deletions

View File

@@ -8,10 +8,14 @@ import { getConfigurationKeys, IConfigurationOverrides, IConfigurationService, g
export class TestConfigurationService implements IConfigurationService {
public _serviceBrand: undefined;
private configuration: { user: { [key: string]: any }; workspace: { [key: string]: any } } = {
private configuration: { user?: { [key: string]: any }; workspace?: { [key: string]: any } };
constructor(configuration: { user?: { [key: string]: any }; workspace?: { [key: string]: any } } = {
user: {},
workspace: {}
};
}) {
this.configuration = configuration;
}
public reloadConfiguration<T>(): Promise<T> {
return Promise.resolve(this.getValue());