onflow / flow-playground

Flow Playground front-end app 🤹‍♂️
https://play.flow.com
Apache License 2.0
116 stars 26 forks source link

Support new import syntax #751

Open jribbink opened 1 year ago

jribbink commented 1 year ago

Is your feature request related to a problem? Please describe. The playground does not support new import syntax (i.e. import "FooBar")

Describe the solution you'd like Implement a resolver similar to address imports for string imports instead. There may be additional UI work necessary to make it clear where these imports are coming from.

Describe alternatives you've considered n/a

Additional context Blocked by https://github.com/onflow/cadence-tools/issues/168. Can only be done once the language server is configured to call the JS resolver from the DOM.

gregsantos commented 1 year ago

Needs Language Server updates from https://github.com/onflow/cadence-tools/issues/168