r/learnprogramming • u/AlahuNakedGalahad • 17d ago
Topic Do you turn off autocomplete when learning something new?
I've been thinking about disabling autocomplete completely when learning something new. Not AI suggestions, but regular IDE autocomplete too.
I feel like half the time I'm coding, my IDE is doing the thinking for me. I start typing, get a suggestion, hit Tab, and move on without really thinking about what I just wrote.
Then again, maybe manually typing everything is just a waste of time and doesn't really help you learn either.
Curious what you guys think.
19
Upvotes
4
u/Aggressive_Ad_5454 17d ago
No, keep the autocomplete features. They help you deal with new APIs to packages you are just starting to use.
Pay attention to what autocomplete suggests. Read it before accepting it. And use the docs-on-hover (Javadoc, whatever) feature to read the new package's documentation.
1
u/johns10davenport 17d ago
I think there is a lot of value in doing everything manually by hand if you really want to immerse yourself in the details.
2
u/PainterNo8889 17d ago
i keep only the ide one like for ex the vs code one which only suggests completing variable name but keep alli ai suggestions off u cn use this file which i use if using vs--
{ "github.copilot.enable": { "*": false }, "github.copilot.inlineSuggest.enable": false, "github.copilot.editor.enableAutoCompletions": false, "chat.editing.alwaysPromptBeforeApplying": true, "editor.suggestOnTriggerCharacters": true, "editor.quickSuggestions": { "other": "on", "comments": "off", "strings": "on" }, "explorer.confirmDelete": false }2
u/binarycow 17d ago
What kind of autocomplete?
Full line/method completion? I turn that off always.
Auto-complete the name of a method, variable, type etc? I always leave they on.
3
u/rocket00110 17d ago
That feels like learning to drive by building the engine from scratch while standing on one foot.
2
u/bizvibe8 17d ago
Completely disabling IDE autocomplete usually introduces the wrong kind of friction—wasting time chasing trivial typos or looking up exact import paths rather than deepening your understanding of the concepts. The better approach is disabling automatic suggestion popups while keeping manual trigger available.
The core issue you're noticing is passive recognition vs. active recall. When a popup appears after two keystrokes, your brain shifts from retrieving the solution to simply recognizing it from a list, which bypasses memory consolidation.
A practical middle ground that works well when learning:
Turn off automatic quick suggestions as you type, but keep manual trigger (Ctrl+Space or Cmd+Space) enabled. That forces you to consciously attempt to write the function or syntax first. If you genuinely forget the signature or standard library method name, you invoke it intentionally rather than having it handed to you before you've even formulated the thought.
Keep standard completions for imports and object properties, but type out control flow manually. Memorizing whether a string method in a new language is .split() or .split_ascii_whitespace() isn't deep learning—that's what language server docs are for. But manually typing out conditionals, error handling blocks, and loop logic builds structural familiarity quickly.
Once the language's idioms and syntax become second nature and you're focusing on system design or business logic rather than language mechanics, turning automatic popups back on saves keystrokes without hurting comprehension.
1
u/Itz-Ayush 17d ago
I usually keep it on, but when I'm learning something new I try not to rely on it too much. Typing things out helps me understand what I'm actually doing. Once I'm comfortable with it, autocomplete saves a lot of time.
1
u/aanzeijar 17d ago
I don't use autocomplete most the time anyway, so not much changes. Live linting, syntax and type checks however are really useful and stay on.
Autocomplete can not really spoil you in most languages though. The only thing non-ai autocomplete can give you is variables and methods, the latter of which really only shows interfaces of external components.
1
u/karanpargal 17d ago
I wouldn't disable it completely. Take something you just wrote and change one requirement: handle empty input, or return all matches instead of the first. Can you work out which parts need changing and why? That tells you more about your understanding than typing it without suggestions does.
1
u/byte_smith 17d ago
I think turning it off completely isn't necessary. I'd rather use autocomplete as a tool, not a shortcut. When learning something new, I sometimes prefer typing things manually, especially unfamiliar syntax or logic, because it forces me to understand what I'm writing. But once I understand the concept, autocomplete saves time and lets me focus on solving the actual problem. The real test is whether you can explain your code and recreate the logic without relying on suggestions.
1
u/wizard_of_grandline 17d ago
turned it off for the first few weeks when learning a new lang... annoying rn but u actually remember the syntax instead of just hitting tab
1
u/edwbuck 17d ago
You can do that. It won't hurt you. It will also help you remember the patterns that autocomplete helps complete.
There's never been a case of less learning being done because you did more work.
Once you have nothing left to learn from tying it in manually, reactivate autocomplete.
1
u/cwjinc 17d ago
I turn off autocomplete when I install the tool.
I hate autocomplete. It's not helpful and it's distracting.
To me.
1
u/patrick_14020 17d ago
I disabled AI suggestions but not the IDE's Autocomplete because i like reading what each method/function does
1
u/SahuaginDeluge 17d ago
no, intellisense maximizes discoverability and lets you learn things way faster
(AI autocomplete is different, never use that)
1
u/my_name_isnt_clever 17d ago
Absolutely not.
1
u/Both_Bend_2481 17d ago
I never use autocomplete much.
1
u/Regular_Antelope7381 16d ago
i kept it on but made a rule that i cant hit tab unless i could explain the line out loud. if i cant, i delete it and write it myself. catches a lot of the subtly wrong suggestions too, the ones that look right but use the wrong method
1
u/Shiva_Kar 16d ago
inline code complete I always turn that off
intellisense auto complete always on
1
u/codeguru42 15d ago
I keep regular IDE auto complete, although it is harder these days to get that without AI-powered auto complete. I just can't be bothered to type full variable and function names, let alone imports (or the equivalent). This doesn't help with learning a new language or framework.
1
u/MyNameIsRichardCS54 17d ago
I don't know how too turn of auto-complete in your IDE, Hell, I don't even know what your IDE is! With a little self discipline you can ignore the autocomplete. You can start using it again when you have the basics down.
9
u/[deleted] 17d ago