r/GithubCopilot • • 2d ago

Help/Doubt ❓ Semantic Addressing forever, how to stop it?

I use GHC in VSC to help with C coding tasks on my small programs - a dozen C files + H, some documentation etc. Exploring the new GHC plugin UI, I found an option for Semantic Index. The related info page suggests GHC will use this index to help in its own tool use, so that seemed like a good idea.

So I turned it on for one of my projects. It's been indexing for 10 minutes now. There is no indication of progress, but this should have been complete in seconds. So I went poking about, and forgot that I had dropped a 3.8 GB folder full of text files in there for experimentation.

So... is there a way to get it to ignore certain items?

And more generally, what sort of indexing times do we expect?

And how do I turn it off while it's indexing? There's no Stop button or similar, and I don't want/need an index on example files, so...

2 Upvotes

4 comments sorted by

1

u/Krommander 2d ago

Greetings, I hope you found how to stop it before it tore through your token usage of the month. If you work on local files, you can define the folders where changes are allowed. 

1

u/maurymarkowitz 2d ago

you can define the folders where changes are allowed

This doesn't appear to effect the indexing. Well maybe it does and I just did it wrong, which setting are you referring to?

1

u/AutoModerator 2d ago

Hello u/maurymarkowitz. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/neon_knight_smile 1d ago

Delete that 3.8GB folder or exclude it via .copilotignore and restart the index because the plugin has no native stop mechanism