Readd the lua binding for `visit` and modify a requirement for IDE
Merge pull request #6881 from samuele3hu/v3_fix

Readd the lua binding for `visit` and modify a requirement for IDE