Cursor is my preferred code editor for all my web development work. It's a VS Code-based editor that seamlessly integrates AI with great code completions and other "Ask AI"-like features. What Cursor excels at is how great it is as indexing your codebase and knowing what to include as context when asking AI for help.
While some of the functionality requires a paid subscription to access Cursor's own LLM, you can also use Cursor for free with just about any other third-party LLM and use your own API key (such as from OpenAI and Anthropic).