editor icon indicating copy to clipboard operation
editor copied to clipboard

Monaco support for ES Modules

Open marklundin opened this issue 1 year ago • 0 comments

Our Monaco implementation can provide a better DX for working with ES Modules. This is a non-exhaustive list of ideas that can improve the experience.

  • [ ] Auto imports - Detect when a symbol is exported from another module and show option to auto-import
  • [ ] Import paths - When importing a relative module, Monaco should auto-complete the path
  • [ ] Import docs - Show documentation tooltips for imported symbol (https://github.com/playcanvas/editor-ui/pull/210)
  • [ ] Support 'static' - Our current Monaco version doesn't show correct highlighting for 'static' members
  • [ ] Code transforming - For better DX, provide a shorthand for migrating from a ES5 script to an ESM Script, by performing a code transformation shortcut

marklundin avatar Mar 04 '24 13:03 marklundin