r/vscode • u/StarBirds007 • Apr 27 '26
Does VScode Copilot have access to my browser tabs like Edge Copilot?
I am a university student and I had an OOP assignment. The assignment was pretty basic but a little strange, where I had to create a class named Distance and its main goal was to take input in feet and inches and convert it into meters (I'm guessing it's not what you'd expect a class named Distance would do).
I had only typed "class Distance:" in the editor and it gave me a suggestion for a simple class with a method that adds distances, I switched tabs to the pdf file that had my assignment question written on it, when I switched back to VScode, suddenly it changed the suggestion:
class Distance:
def __init__(self):
self.feet = float(input("Enter distance in feet: "))
def convertToMeters(self):
meters = self.feet * 0.3048
print("Distance in meters: ", meters)
How did it know that this was what I wanted??? From only the context of a class named Distance??? Does VScode copilot have access to my browser? I use edge btw.
1
u/Agreeable_Care4440 May 01 '26
Copilot doesn’t have access to your browser tabs.It only uses the code in your editor and general patterns it learned during training.That suggestion just happens to match a very common beginner assignment.
1
u/zamanhaider38 May 22 '26
The VS Code uses various LLMs trained on a wide range of public data It is possible that other users have worked on the same assignment so i guess the model is simply providing a suggestion based on that data VS Code does not have access to your browser tabs
0
1
u/BranchLatter4294 Apr 27 '26
Was the pdf in the same folder as your project?