xstate-tools icon indicating copy to clipboard operation
xstate-tools copied to clipboard

warning on meta field: The meta property cannot currently be used with the visual editor

Open ochanje210 opened this issue 3 years ago • 5 comments

Is there a way to disable or hide the following warning on meta field?

The meta property cannot currently be used with the visual editor.

Screenshot 2022-12-20 at 3 03 48 PM

ochanje210 avatar Dec 20 '22 23:12 ochanje210

Not currently, and this warning is purely informational. It will go away when we have support for meta data in the editor, which is coming soon.

For now, maybe there can be a setting in the VS Code extension to disable warnings (cc. @Andarist @mellson)

davidkpiano avatar Dec 21 '22 13:12 davidkpiano

Hey guys, thanks for this amazing tool. Is there any workaround at the moment to disable those warnings?

I have some stuff that should be put in meta, but I'm annoyed with those vscode warnings that are hurting my eyes, so I'm putting them in the context right now (that is suboptimal).

guiccbr avatar Mar 13 '23 20:03 guiccbr

I'll look into it. Would you want some VS Code extension setting to hide warnings?

davidkpiano avatar Mar 13 '23 20:03 davidkpiano

@davidkpiano, thanks, that could work great

guiccbr avatar Mar 13 '23 23:03 guiccbr

For now, I have set xstate.showVisualEditorWarnings to false to turn off the meta warning message. It might be helpful to add a new flag option that only turns off the meta warning message.

jaykay-p avatar Mar 25 '23 06:03 jaykay-p