Better synthax check for "goto_definition_scope" command