snack icon indicating copy to clipboard operation
snack copied to clipboard

Disable autocomplete for web-specific APIs in Snack

Open brentvatne opened this issue 5 years ago • 2 comments

slack-imgs

This kind of stuff :)

brentvatne avatar Jul 23 '18 21:07 brentvatne

Found this setting which should do it: https://github.com/Microsoft/monaco-editor/issues/61

satya164 avatar Jul 23 '18 23:07 satya164

I was looking into it, setting { noLib: true, allowNonTsExtensions: true } does remove the IntelliSense for DOM stuff, but we'd have to copy a lot of stuff from the DOM interface so that we keep things that React Native provides, and there are many of them. Maybe we can somehow blacklist these specific HTML related IntelliSense items.

satya164 avatar Jul 26 '18 13:07 satya164