본문으로 건너뛰기

코드 자동완성과 코딩 어시스턴트

편집기에서 코드를 이어 쓰고 설명하고 고친다

입력텍스트코드코드

이 페이지의 본문은 영어로 제공됩니다. 제목과 요약은 한국어로 번역되었습니다.

이 능력이 뜻하는 것

Takes the code context around the cursor plus an intent — complete a line, change a function, explain the logic — and outputs an edit that can be adopted directly. Its constraint is consistency with the existing repository rather than producing an isolated snippet. Unlike code generation it makes local changes inside existing files and conventions, and therefore leans more on context.

기술적으로 구현하는 방법

A common approach concatenates the current file, nearby symbols and retrieved related snippets into the prompt so the model completes or rewrites within full context; repository-level assistants use code retrieval to surface relevant definitions and call sites. Edit requests are often framed as generating a patch that is then applied, which makes review and rollback easy. The system is tightly coupled to the IDE and needs low-latency inference with incremental context updates.

대표 제품

4

Microsoft

GitHub Copilot

편집기에서 문맥에 맞춰 코드를 이어 쓰고 고친다

2능력
도구 프리미엄
텍스트코드코드
2021

Anysphere (Cursor)

Cursor

저장소 전체를 문맥으로 삼는 데스크톱 코드 편집기

3능력
앱 프리미엄
텍스트코드코드
2023

Anthropic

Claude Code

터미널에서 여러 단계의 코딩 작업을 수행하는 에이전트

3능력
도구 클로즈드 소스
텍스트코드코드
2025

Cognition (Devin)

Devin

셸·편집기·브라우저를 갖춘 자율 코딩 에이전트

4능력
앱 클로즈드 소스
텍스트코드코드
2024

관련 기관

대표적 용도

  • Line-by-line completion while coding
  • Bug fixes and refactoring suggestions
  • Explaining code and onboarding into an unfamiliar repo
  • Writing tests and doc strings

성능을 평가하는 방법

Suggestion acceptance rate
Share of suggestions developers keep, closest to real experience
pass@k
One-shot success on tasks with tests
Test pass rate for a single edit
Whether the repository tests still pass after one edit

경계와 난점

  • It edits the wrong variable or misses call sites, producing code that clashes with the surrounding semantics
  • Repository understanding is capped by the context window, so distant constraints are missed in large projects
  • It can emit outdated or insecure patterns that the author must review

뒤에 있는 개념

자연어 처리와 대규모 언어 모델

Transformer 아키텍처중급

한 단어씩 전달하는 대신 모두가 동시에 말하는 회의로 바꾸어, 멀리 떨어진 의존성을 한 번에 연결한다

4연관
도해 2 · 데이터 2

AI 엔지니어링·안전·윤리

검색 증강 생성입문

지식을 파라미터에 밀어 넣기보다 밖에 두고 필요할 때 찾는다 — 오픈북 시험처럼

4연관
도해 2 · 데이터 1

자연어 처리와 대규모 언어 모델

프롬프트 엔지니어링과 정렬고급

모델을 유용하고 정직하며 무해하게 만드는 일은 단순히 더 크게 만드는 것보다 어렵다

4연관
도해 1 · 데이터 1