# Monaco Editor Changelog ## [0.28.0] (22.09.2021) * adds [support for typescript inlay hints](https://github.com/microsoft/monaco-typescript/pull/82). Inlay hints can be enabled like this: ```ts monaco.languages.typescript.typescriptDefaults.setInlayHintsOptions({ includeInlayParameterNameHints: 'all', includeInlayParameterNameHintsWhenArgumentMatchesName: true, includeInlayFunctionParameterTypeHints: true, includeInlayVariableTypeHints: true, includeInlayPropertyDeclarationTypeHints: true, includeInlayFunctionLikeReturnTypeHints: true, includeInlayEnumMemberValueHints: true }); ``` * adds support for bracket pair highlighting, which can be enabled by configuring `bracketPairColorization.enabled` when creating a new editor: ```ts var editor = monaco.editor.create(document.getElementById('container'), { model: model, language: 'javascript', "bracketPairColorization.enabled": true, }); ``` * `registerCodeActionProvider` now accepts metadata to specify provided code action kinds (e.g. `quickfix`, `refactor` or `source`). ### Thank you Contributions to `monaco-editor`: * [@SpaceComet](https://github.com/SpaceComet): Small update on the website playground [PR #2616](https://github.com/microsoft/monaco-editor/pull/2616) * [@thien-do (Thien Do)](https://github.com/thien-do): Add usage with Vite to ESM Integrate doc [PR #2632](https://github.com/microsoft/monaco-editor/pull/2632) Contributions to `monaco-html`: * [@Pranomvignesh (Pranom Vignesh)](https://github.com/Pranomvignesh): fix(workerManager.js) : Added a check for the existence of the worker [PR #15](https://github.com/microsoft/monaco-html/pull/15) Contributions to `monaco-languages`: * [@ladyrick (LadyRick)](https://github.com/ladyrick): fix(cpp): fix cpp language integer suffix [PR #156](https://github.com/microsoft/monaco-languages/pull/156) Contributions to `monaco-typescript`: * [@Kingwl (Wenlu Wang)](https://github.com/Kingwl): Add inlay hints support [PR #82](https://github.com/microsoft/monaco-typescript/pull/82) ## [0.27.0] (16.08.2021) * added property `inlineClassName` to style injected text * added option `foldingImportsByDefault` * added more JSON diagnostic options. ### Breaking Change * changed `seedSearchStringFromSelection` from boolean to `'never' | 'always' 'selection'` * changed suggestion preview mode `subwordDiff` to `subwordSmart`, introduced `subword` ### Thank you Contributions to `monaco-editor`: * [@Surm4 (Marcin)](https://github.com/Surm4): Exposed colors sample update in the playground. [PR #2561](https://github.com/microsoft/monaco-editor/pull/2561) Contributions to `monaco-languages`: * [@alefragnani (Alessandro Fragnani)](https://github.com/alefragnani): Adds `strict` keyword to Pascal language [PR #153](https://github.com/microsoft/monaco-languages/pull/153) * [@jonatanklosko (Jonatan Kłosko)](https://github.com/jonatanklosko): Properly tokenize fence closing in GitHub style code blocks [PR #149](https://github.com/microsoft/monaco-languages/pull/149) * [@kupiakos (Alyssa Haroldsen)](https://github.com/kupiakos): Remove ' as an auto-closing pair for Rust [PR #151](https://github.com/microsoft/monaco-languages/pull/151) * [@lofcz (Matěj Štágl)](https://github.com/lofcz): Fix razor + liquid render of tags with a dash symbol [PR #150](https://github.com/microsoft/monaco-languages/pull/150) ## [0.26.1] (15.07.2021) * fixes [minimatch dependency issue](https://github.com/microsoft/monaco-editor/issues/2578) by downgrading the monaco-json dependency. ## [0.26.0] (15.07.2021) * added support for injected text. Use `IModelDecorationOptions.before`/`after`. * added support for inlay hints provider. ### Breaking Changes * CompletionItemLabel now has the property `label`, `detail` and `description` (instead of `name`, `parameters`, `qualifier` and `type`). ### Thank you Contributions to `monaco-editor`: * [@anthony-c-martin (Anthony Martin)](https://github.com/anthony-c-martin): Add Bicep sample [PR #2541](https://github.com/microsoft/monaco-editor/pull/2541) Contributions to `monaco-languages`: * [@anjbur (Angela Burton)](https://github.com/anjbur): Add support for Q# [PR #142](https://github.com/microsoft/monaco-languages/pull/142) * [@maxwrlr](https://github.com/maxwrlr): Implement Syntax-Highlighting for SPARQL [PR #145](https://github.com/microsoft/monaco-languages/pull/145) * [@nathanrreed (Nathan Reed)](https://github.com/nathanrreed) * fix c++ comment continuation highlighting #2497 [PR #143](https://github.com/microsoft/monaco-languages/pull/143) * fix rust raw string highlighting #2552 [PR #146](https://github.com/microsoft/monaco-languages/pull/146) * fix char literal highlighting #2481 [PR #147](https://github.com/microsoft/monaco-languages/pull/147) * fix rust raw string highlighting #2086 [PR #148](https://github.com/microsoft/monaco-languages/pull/148) * [@qwefgh90 (Changwon Choe)](https://github.com/qwefgh90): improve a rule which freeze a page in restructuredText [PR #141](https://github.com/microsoft/monaco-languages/pull/141) * [@RubenRBS (Rubén Rincón Blanco)](https://github.com/RubenRBS): Add Swift fileprivate access modifier [PR #144](https://github.com/microsoft/monaco-languages/pull/144) Contributions to `monaco-typescript`: * [@spahnke (Sebastian Pahnke)](https://github.com/spahnke): Build tag text correctly for all tags [PR #81](https://github.com/microsoft/monaco-typescript/pull/81) ## [0.25.2] (17.06.2021) * fixes a problem that [certain characters could not be typed on non-US keyboards](https://github.com/microsoft/monaco-editor/issues/2533). ## [0.25.1] (15.06.2021) * fixes that [`registerHTMLLanguageService` is not available in the AMD version of the monaco-html contribution](https://github.com/microsoft/monaco-editor/issues/2525). ## [0.25.0] (11.06.2021) * added a new feature `inlineSuggest` that features a provider api and new settings. * added `suggest.preview` to toggle previewing the selected suggest item. * added `suggest.showDeprecated` * CSS/HTML: added support for [custom data format](https://code.visualstudio.com/blogs/2020/02/24/custom-data-format) * HTML: added `registerHTMLLanguageService` ### Breaking changes * renamed `inlineHints` to `inlayHints`. ### Thank you Contributions to `monaco-editor`: * [@JeanPerriault (El Jùanch0)](https://github.com/JeanPerriault): Fix error message in Safari - Semantic token play [PR #2486](https://github.com/microsoft/monaco-editor/pull/2486) * [@jonatanklosko (Jonatan Kłosko)](https://github.com/jonatanklosko): Add Elixir sample [PR #2491](https://github.com/microsoft/monaco-editor/pull/2491) Contributions to `monaco-languages`: * [@akonatala (apoorva konatala)](https://github.com/akonatala): Update cameligo language support [PR #137](https://github.com/microsoft/monaco-languages/pull/137) * [@anark](https://github.com/anark): Add aliases and mimetypes to liquid language [PR #136](https://github.com/microsoft/monaco-languages/pull/136) * [@mattvague (Matt Vague)](https://github.com/mattvague): Fix incorrect filenames for liquid [PR #135](https://github.com/microsoft/monaco-languages/pull/135) * [@spahnke (Sebastian Pahnke)](https://github.com/spahnke) * [JS/TS] Add support for the RegExp Match Indices flag [PR #139](https://github.com/microsoft/monaco-languages/pull/139) * [TS] Add override keyword [PR #140](https://github.com/microsoft/monaco-languages/pull/140) Contributions to `monaco-typescript`: * [@paranoidjk (paranoidjk)](https://github.com/paranoidjk): fix: support go to definition for extraLib file [PR #79](https://github.com/microsoft/monaco-typescript/pull/79) ## [0.24.0] (12.05.2021) * added a setting `domReadOnly` which controls if the `