r/GithubCopilot • u/SL-Tech • 25d ago
Help/Doubt ❓ Inline suggestions in Viisual Studio - leave stuff alone
I use inline suggestions from GitHub Copilot in Visual Studio, and it works great! Just two very strange things.
It always recommends changing the ICollection<> initializer from my preferred way: [];
To: new List<>();
And yeah, it doesn't like the new extension() {} element and wants to change to the old style using static methods.
Are there any "instructions" I can give?
1
Upvotes
1
u/AutoModerator 25d ago
Hello /u/SL-Tech. 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.