Convert a search in the SPL2 module editor
Use Quick Fix actions to convert a search from SPL to SPL2.
When writing a search in the SPL2 module editor, you can convert a search from SPL to SPL2 by applying Quick Fix actions.
Quick Fix actions are supported for many but not all SPL conversions. To check if the SPL2 module editor supports conversion for a given snippet of SPL syntax, enclose that snippet in backtick ( ` ) characters and place your caret inside the snippet. If the SPL2 module editor supports the conversion, a Show Code Actions icon () appears in the SPL2 panel. You can then select the icon to view the available Quick Fix action and apply it to your search.
The following screenshot shows what the SPL2 panel looks like when you select the Show Code Actions icon () to access the Convert SPL to SPL2 Quick Fix action:
You now have a valid SPL2 search that you can run in the SPL2 module editor.