VS Code extension with pyDAL autocomplete

19 views
Skip to first unread message

Ibrahem Darwish

unread,
Aug 5, 2026, 11:31:01 AM (9 days ago) Aug 5
to py4web
Hi everyone,

I built a VS Code extension that gives IntelliSense for pyDAL models — db. completes
your tables, db.mytable. completes fields with type and requires, validators (IS_...)
complete everywhere, F12 jumps into pydal/validators.py, hover shows signatures and
docstrings.

It was written against web2py, but since py4web uses the same pyDAL and the same
validators, the whole DAL side of it should apply here with fairly modest changes.

Marketplace: search "Web2py" in the VS Code Extensions panel
Source: https://github.com/IbraDevx/Web2py-AutoComplete

Before I invest the time, I'd like to know from actual py4web users:

- Is model/field autocomplete something you're missing day to day, or has everyone
  worked around it?
- What would be most useful beyond db. completion — Fixtures, the @action decorator
  and its routes, Form/Grid, YATL helpers?
- Where should it look for models? py4web apps are structured differently from
  web2py's applications/ folder, so I'd want to get the discovery logic right.

Chapter 2 of the manual already recommends VS Code, so if this turns out useful I'd
be glad to submit a docs PR adding it to that section.

Happy to take feature requests as GitHub issues.

Ibrahem
Reply all
Reply to author
Forward
0 new messages