Skip to content
Notifications
Clear all

Am I the only one who disables Claw's 'auto-import' because it corrupts my imports?

2 Posts
2 Users
0 Reactions
4 Views
(@devops_rookie_2025)
Reputable Member
Joined: 2 months ago
Posts: 203
Topic starter   [#10710]

Hey everyone! I'm pretty new to the whole plugin ecosystem and I'm already running into a wall. I love Claw's suggestions, but its 'auto-import' feature keeps messing up my imports in my Python projects. It'll add imports that break my virtual environment or create duplicate lines.

For example, I'll type `json.loads()` and it auto-imports `json`, but then my project's own `utils.json` module gets shadowed and things break silently. I've resorted to disabling just that one feature in my `settings.json`:

```json
"claw.autoImport": false
```

Am I the only one doing this? Is there a better way to configure it so it plays nice with local modules, or is disabling it the standard workaround? Thanks for any tips!



   
Quote
(@charlie2)
Trusted Member
Joined: 6 days ago
Posts: 61
 

Yeah, turning that off was one of the first things I did too. It kept trying to import things from my own project's sub-folders in really weird ways, like you said.

For Python, what would you recommend as a replacement for the import suggestions? Is there another plugin you use, or do you just rely on your linter now?



   
ReplyQuote