إعداد بيئة التطوير
اضبط بيئة التطوير لإنشاء إضافات Chrome وEdge، بما في ذلك إعداد المتصفح والأدوات الأساسية
إعداد بيئة التطوير درس مجاني في Browser Extensions Development (Chrome & Edge) على CoddyKit. هذا هو الدرس 2 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Browser Extensions Development (Chrome & Edge)، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Browser Extensions Development (Chrome & Edge) 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
Get Ready to Build!
Before building, set up your workspace — prepping tools first makes coding smoother and lets you test your extensions efficiently.
Your Browser is Your Lab
Your browser is your lab. Chrome and Edge have built-in dev features; the first step is flipping on their special "Developer Mode."
Switch On Developer Mode
Enable Developer Mode: open chrome://extensions and toggle the switch in the top-right. That unlocks loading and testing your own extensions.
Your Extension's Home
Each extension needs its own folder for all its files. Make an empty one — say my-first-extension — where we'll drop the manifest and code.
The Essential Manifest File
The manifest.json is your extension's blueprint — it tells the browser the key details. Start with a minimal one in your folder.
Pick a Code Editor
Any editor works, but a real code editor adds highlighting, autocomplete, and debugging. VS Code is the free, popular pick — grab it if needed.
Load Your Unpacked Extension
With Developer Mode on, click Load unpacked and select your folder. Your extension should appear in the list, maybe with an icon in the toolbar.
Refresh for Updates
After editing files, the browser won't see changes until you reload — hit the refresh icon on your extension's card in chrome://extensions.
Debug with DevTools
Debug extensions with DevTools, just like web pages. Each card links to its background "service worker" or popup inspector for digging in.
Development Environment Check
You've learned the essential steps to prepare your browser and load your first extension. Let's test your understanding!
Which of the following actions is necessary to see changes in your extension after modifying its files?
Setup Complete!
Your environment is set: Developer Mode on, a folder with manifest.json, loading and reloading unpacked, and DevTools for debugging. Onward!
الأسئلة الشائعة
هل درس «إعداد بيئة التطوير» مجاني؟
نعم — نص درس «إعداد بيئة التطوير» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Browser Extensions Development (Chrome & Edge)، انتقل إلى CoddyKit PRO. تتضمن دورة Browser Extensions Development (Chrome & Edge) 4 دروس في المجموع.
ماذا ستتعلم في «إعداد بيئة التطوير»؟
اضبط بيئة التطوير لإنشاء إضافات Chrome وEdge، بما في ذلك إعداد المتصفح والأدوات الأساسية تتمرن على Browser Extensions Development (Chrome & Edge) مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ Browser Extensions Development (Chrome & Edge)؟
لا تُشترط خبرة سابقة. Browser Extensions Development (Chrome & Edge) على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 2 من أصل 4.
كم من الوقت يستغرق درس «إعداد بيئة التطوير»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس Browser Extensions Development (Chrome & Edge) هذا؟
نعم. كل درس في Browser Extensions Development (Chrome & Edge) يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- ما هي إضافات المتصفح؟
- إعداد بيئة التطوير
- أول إضافة 'Hello World' لك
- تشريح مشروع الإضافة