‹ Back to Home

How to use GitHub Copilot in VS Code without fighting the grey text

You type a function in VS Code, grey text finishes the rest, and Tab accepts it. That is GitHub Copilot. Here is how Tamil Nadu students and working developers actually set it up, what GitHub charges, and the mistakes that waste a night.

Keerthika 8 min read
Follow on Google
AI Tools How to use GitHub Copilot in VS Code without fighting the grey text 8 min left Follow on Google

TamilTech AI summary

  • Tab accepts Copilot's grey suggestion in VS Code; Esc throws it away.
  • GitHub lists Copilot Free plus Pro at $10/month, billed in USD for Indian cards.
  • If Copilot goes silent, read the status-bar icon before reinstalling the extension.

AI-assisted summary, checked by the TamilTech editorial team.

0:00
0:00
🔒 Listen is for subscribers. Subscribe
  • Install GitHub's Copilot extension in VS Code, sign in with the same GitHub account that has Copilot access, then press Tab when the grey suggestion looks right.
  • GitHub lists a Free plan with monthly limits. Copilot Pro is listed at $10 a month, roughly ₹850 after your bank converts USD.
  • Treat every suggestion like a junior intern's draft. Read it, run it, then commit.
  • If suggestions vanish, check the Copilot icon on the VS Code status bar before you reinstall anything.
  • Keep passwords, API keys, Aadhaar numbers, and client data out of Copilot Chat.

What is GitHub Copilot in VS Code, in one line?

GitHub Copilot is an AI coding assistant that lives inside VS Code and finishes your code as you type. You use it by installing GitHub's official Copilot extension, signing in with a GitHub account, and pressing Tab to accept a suggestion — or keeping typing to ignore it. Chat sits in a side panel when you want an explanation, a test, or a refactor instead of ghost text.

Picture 11 pm in a Coimbatore PG. VS Code is open. The assignment is a Flask login. You type def login and grey text fills the rest of the function like a senior who already did the homework. That grey line is Copilot.

GitHub, owned by Microsoft, built Copilot on large language models. It reads the file you are in, nearby files, and your comments, then guesses the next lines. It is not a compiler. It is not your tech lead. It is a fast intern who has seen a lot of public code.

For Tamil Nadu students and working developers, the point is staying in the editor you already use. You do not bounce to a browser, copy a snippet, and lose the plot. The guess shows up in the same window.

How do you use Copilot in VS Code, step by step?

Get three things ready before you touch Extensions. VS Code should already be installed. You need a GitHub account. You need internet, because Copilot does not run fully offline on your laptop.

You also need Copilot access. That can be GitHub's Free plan with monthly limits, a paid Pro subscription, a company seat, or GitHub Education if you are a verified student or teacher. GitHub spells out eligibility on its Education and Copilot pages.

  1. Open VS Code. Press Ctrl+Shift+X for Extensions. Search for GitHub Copilot. Install the listing published by GitHub, not a random clone with a similar name. Current VS Code builds often fold Chat into that same extension.
  2. Look at the status bar at the bottom. Click the Copilot icon and choose Sign in to GitHub. Your browser opens. Approve the access on the same account that should have Copilot.
  3. If GitHub asks you to pick a plan, start with Free unless you already pay. Students should check GitHub Education first so a card is not charged by mistake.
  4. Open a real project, even a tiny one. In a new file, write a comment in plain English, such as

    function to validate an Indian mobile number

    . Start the function name and pause. Grey text should appear.
  5. Press Tab to accept the whole suggestion. Press Esc to throw it away. On Windows, Alt+] cycles other options. Ctrl+Enter opens a list of alternatives. On Mac, Option+] does the cycle.
  6. For questions, open Copilot Chat from the activity bar or the Copilot menu. Ask it to explain a function or write tests. Inline chat (Ctrl+I on Windows) edits the code under your cursor instead of dumping a speech in the sidebar.

If sign-in loops, sign out of GitHub inside VS Code and sign in again. Use the account that actually holds the plan. GitHub's Copilot settings page on the web shows whether Free quota is exhausted or the licence sits on another login.

If there is no ghost text, look at that status-bar icon first. Completions may be off for that file, or Copilot may be set to off globally. Company laptops sometimes block it by policy. That is not a VS Code bug. College proxies and office firewalls also eat the connection. A phone hotspot for two minutes tells you if the network is the villain.

Day to day, write the comment before the code. Copilot behaves when you say what you want, then start the function. Keep related files in the workspace. It peeks at them. Do not Tab through auth, payments, or SQL you have not read. Plausible code that is quietly wrong is the usual failure mode.

What does GitHub Copilot cost in India?

GitHub lists Copilot prices in US dollars on its public pricing page. Indian cards get billed in USD and converted by the bank. UPI is not the usual GitHub checkout.

PlanWho it is forPrice GitHub listsRough ₹ (card rate)
Copilot FreeTrying it, light use$0, with monthly limits₹0
Copilot ProIndividual developers$10/month or $100/year~₹850 / month
Copilot BusinessTeams with admin controls$19/user/month~₹1,600 / user / month
Copilot EnterpriseLarge orgs$39/user/month~₹3,300 / user / month
GitHub EducationVerified students and teachersGitHub says Pro-level access at no cost if you qualify₹0 if approved

Those rupee figures are ballpark, using around ₹85 to a dollar. Forex markup will nudge it. Check GitHub's current Copilot pricing page before you pay. Plans and monthly limits change.

College ID in hand? Apply for GitHub Education before you type a card number. GitHub has long said verified students, teachers, and maintainers of popular open-source projects can get Copilot without paying, subject to their checks.

Office teams should not share one Pro login. Business exists for seats, policy, and admin. If your company already bought licences, ask IT. Do not drop a client repo onto a personal Copilot account unless policy allows it.

Which Copilot mistakes get people into trouble?

The first trap is treating Tab like a green light. Copilot will invent a helper that looks local and is wrong. It will import a package you never installed. It will skip the edge case your lecturer asks in viva. Read the diff. Run the tests. Then save.

The second trap is secrets. People paste a .env into Copilot Chat and ask why login fails. That prompt goes to GitHub's service. GitHub publishes Copilot privacy and data-use terms in its docs. Do not put production keys, passwords, customer dumps, or Aadhaar numbers in the chat. Full stop.

The third trap is office policy and licence. Copilot learned from a lot of public code. GitHub offers duplication checks and policy controls on paid business plans. On a personal side project, you still review anything that looks copied. In a Chennai or Bengaluru IT park job, you follow the employer's AI-tool rules. Some clients ban Copilot on their repos.

The fourth trap is burning Free quota on junk. Do not spend completions on HTML boilerplate you can type in your sleep. Save the limit for the ugly bit — regex, a pandas groupby, that GST round-off nobody remembers.

The fifth trap is fighting the editor. Uninstalling Copilot, adding three lookalike extensions from unknown publishers, then wondering why suggestions feel cursed. Stick to GitHub's own extension. Check the status bar. Search settings for github.copilot if you need completions off for comments or one language.

Who does Copilot in VS Code actually suit?

It suits students who already know the syntax and want speed on boilerplate. It suits working developers writing CRUD, scripts, tests, and internal tools. It suits anyone who lives in VS Code — Python, JavaScript, Java, C#, TypeScript, even lab C.

Skip the Tab-every-line habit if you are learning to code from zero. You will freeze in a lab exam. Skip it on air-gapped machines, and skip it if your workplace banned cloud AI. Village-bus internet will make it feel drunk, because the model is not sitting on your disk.

What should you do now?

Open VS Code. Install GitHub Copilot from the Marketplace. Sign in. Create a throwaway file. Write one comment that describes a small function you already know how to write. Watch the grey text. Accept it once. Reject it once. Then open Chat and ask it to explain that function back to you.

If the grey text never comes, click the Copilot icon and read the message. Most days it is a sign-in, a plan, or the network — not a broken editor.

Pay only after the Free quota actually annoys you. Students, apply for GitHub Education first. Office folks, ask if a Business seat already exists. Keep secrets out of the chat. Copilot is a fast intern. You still ship the code.

Frequently asked questions

5

How to use Copilot in VS Code?

Install GitHub's Copilot extension, sign in with your GitHub account, then start typing. Press Tab to accept a grey suggestion, Esc to dismiss it, and open Copilot Chat when you want an explanation or a refactor instead of autocomplete.

Is GitHub Copilot free for VS Code?

GitHub lists a Free plan with monthly completion and chat limits. Paid Copilot Pro is listed at $10 a month. Verified students and teachers can apply for GitHub Education, which GitHub says can include Copilot at no cost if you qualify.

How to install the Copilot extension in VS Code?

In VS Code, open Extensions with Ctrl+Shift+X, search for GitHub Copilot, and install the extension published by GitHub. Click the Copilot icon on the status bar and sign in with GitHub in the browser that opens.

Why is Copilot not working in VS Code?

Check the Copilot icon on the status bar first. Usual causes are the wrong GitHub account, an exhausted Free quota, completions turned off, a company policy block, or a college/office proxy. Sign out, sign in again, and confirm the plan on GitHub's Copilot settings page.

Does Copilot work offline in VS Code?

No. Copilot needs a network connection to GitHub's service. If your internet drops, suggestions and Chat stop. A phone hotspot is a quick way to test whether a campus proxy is the problem.

Get tomorrow’s tech news on WhatsApp

One short update a day, free. Follow the TamilTech channel.

What do you think?

people reacted

Keerthika

TamilTech editorial team · 3,822 articles

Keerthika is an editor at TamilTech, the Tamil and English technology publication founded by Praveen Kumar S. She covers AI, smartphones, gadgets, EVs, startups and cybersecurity i...

More from Keerthika

Ask TamilTech on WhatsApp

Tech doubt? Ask in Tamil or English — our WhatsApp assistant answers from TamilTech articles in seconds.

Want to try AI tools? Best AI Tools for Students in India 2026: 15 Free Tools, Student Discounts & Budget Toolkit Guide Read the guide →

Related stories

Comments (0)

| Supports **bold**, *italic*, `code`

Be the first to comment!

Next story How to use Gemini AI in Tamil without the textbook tone
TamilTech

TamilTech

Install app for faster access

Earn XP 🏆
WhatsApp
Notifications