Jake Goulding

Results 616 comments of Jake Goulding

If you want to experiment with this, you can poke around with Prism to see how to inherit the existing Rust logic, I think.

[Prism](https://prismjs.com/) is what is used for syntax highlighting outside of the editor (which is [Ace](https://ace.c9.io/)). It states: > Define new languages or extend existing ones. Add new features thanks to...

I think this is something that *can* be done. A super hacky way of doing this now would be to clear your browser state for the playground, but that clears...

If someone starts working on this, a semi-related request I've heard would be to have some "templates" of interesting pieces of code (e.g. a WASM hello world, or maybe a...

An extremely non-obvious thing you can do is to erase all the text and reload the page. This will reload the "hello world" example.

One potential enhancement: start tracking the last time someone visited. If they haven't visited in "long enough", then proactively offer to reset back to defaults.

> require that there is a global fn main(input: String) > diagnostic for telling the user about how the main() should look See also #323 which has the idea of...

I think something along the lines of `from_utf8` and on failure try `from_utf8_lossy` and add some text to the returned warnings would be reasonable.

can you try the same test [using Ace directly](https://ace.c9.io/build/kitchen-sink.html)? That way we can start to isolate the problem.

You should next search their issue tracker to see if it's already been reported.