GitHub Copilot has officially entered Technical Preview. Having used it for a month, my workflow has fundamentally changed. It is not just autocomplete; it is idea generation.
Context Awareness
Copilot reads your open tabs. If I have a `User.cs` file open and I start writing a SQL query in `UserRepository.cs`, it correctly infers the column names.
// Copilot generated this entire method
public async Task<User> GetByEmailAsync(string email)
{
using var conn = new SqlConnection(_connString);
// It guessed the table name 'Users' correctly
return await conn.QuerySingleOrDefaultAsync<User>(
"SELECT * FROM Users WHERE Email = @Email", new { Email = email });
}
Discover more from C4: Container, Code, Cloud & Context
Subscribe to get the latest posts sent to your email.