title: Monaco: saving preferences to localStorage
body: <p>In the editor you can resize the completions dropdown with a drag handle - this is important to me because the completion items can have wildly different widths.</p>
  <p>The new width persists for the duration of that editor, but if you reload the page it's reset to the default.</p>
  <p>I can implement this interface as suggested on <a href="https://github.com/microsoft/monaco-editor/issues/2241#issuecomment-764694521" rel="nofollow noreferrer">https://github.com/microsoft/monaco-editor/issues/2241#issuecomment-764694521</a>. However I would like to just rely on the default implementation but simply persist all settings to <code>localStorage</code>. It seems like that would be such a common case that there would be a simpler way of doing this without reimplementing <a href="https://github.com/microsoft/vscode/blob/main/src/vs/platform/storage/common/storage.ts" rel="nofollow noreferrer">storage.ts</a>.</p>
  <p>Is there a way of delegating to the default impl, or adding a listener for changes without overriding the default impl?</p>