Extract SQL Fragment

Select some SQL statements which can contain any XML tags and can use shortcut ⌥ + ⌘ + F on Mac and Alt + Ctrl + F on Windows to extract SQL fragment:

extract SQL fragment

Inline SQL Fragment

Place the caret at the id of a <sql/> tag or the refid of a <include/> tag and use shortcut ⌥ + ⌘ + N on Mac and Alt + Ctrl + N on Windows to inline SQL fragment:

inline SQL fragment