تخطٍّ إلى المحتوى

إكمال الشيفرة ومساعد البرمجة

إكمال الشيفرة وشرحها وتعديلها داخل المحرّر

إدخالنصشيفرةشيفرة

يُعرض النص الكامل باللغة الإنجليزية؛ وقد تمت ترجمة العنوان والملخص.

ما الذي تعنيه هذه القدرة

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

هندسة الذكاء الاصطناعي وسلامته وأخلاقياته

التوليد المعزّز بالاسترجاعمبتدئ

بدل حشو المعرفة داخل المعاملات، اتركها في الخارج وارجع إليها عند الحاجة — كامتحان بكتاب مفتوح

4روابط
أشكال توضيحية 2 · بيانات 1

معالجة اللغة الطبيعية والنماذج اللغوية الكبيرة

هندسة الأوامر والمواءمةمتقدم

جعل النموذج مفيداً وصادقاً وغير ضارّ أصعب من مجرد تكبيره

4روابط
أشكال توضيحية 1 · بيانات 1