v0.15.0
Added
-
Added interactive code completions for TypeScript files
(#243).Completions can be disabled by setting the
no-completions
attribute on
<playground-ide>
,<playground-file-editor>
, or<playground-code-editor
>
components. -
Added
Ctrl-Space
hotkey for triggering interactive code completions. -
Added
documentKey
property to<playground-code-editor>
which is
used to keep track of individual CodeMirror document instances internally.
Default behavior without setting adocumentKey
is unchanged.Use
documentKey
for fine control over the CodeMirror document instance. For
example, to model changing a file.
Fixed
-
Normalize content-type response header to lowercase when matching filetypes.
-
Fixed undo history applying across files
(#154).Previously all files shared the same document instance resulting in files
sharing undo/redo history. Now each file has its own isolated internal
document instance. -
Fixed only a single closing script tag unescaping in html files using
playground-ide
(#251).