src/vs/editor/browser/widget/codeEditorContributions.ts/CodeEditorContributions/saveViewState
class CodeEditorContributions:	public saveViewState(): { [key: string]: any } {
		const contributionsState: { [key: string]: any } = {};
		for (const [id, contribution] of this._instances) {
			if (typeof contribution.saveViewState === 'function') {
				contributionsState[id] = contribution.saveViewState();
			}
		}
		return contributionsState;
	}