Skip to main content

detect

Function detect 

Source
pub fn detect(source: &str, offset: TextSize) -> Option<Phase>
Expand description

Try to classify the cursor’s position inside an enclosing CREATE TABLE body. Returns None when the cursor is not inside one.