ما هي using-python-lsp؟
يُستخدم عند العمل باستخدام كود Python وتمكين المكون الإضافي pyright-lsp - للعثور على المراجع أو التحقق من الأنواع أو التنقل في التعريفات أو التحقق من صحة النوع المصدر: mhagrelius/dotfiles.
يُستخدم عند العمل باستخدام كود Python وتمكين المكون الإضافي pyright-lsp - للعثور على المراجع أو التحقق من الأنواع أو التنقل في التعريفات أو التحقق من صحة النوع
ثبّت مهارة الذكاء الاصطناعي using-python-lsp بسرعة في بيئة التطوير لديك عبر سطر الأوامر
المصدر: mhagrelius/dotfiles.
The pyright-lsp plugin provides semantic code intelligence for Python. Use LSP tools instead of grep/read when you need semantic accuracy - LSP understands Python's type system, inheritance, and symbol relationships.
| Find all callers of a method | findReferences | Grep for method name | | Get function return type | hover | Read file + parse | | Jump to definition | goToDefinition | Grep + Read | | Check type errors | getDiagnostics | Run mypy/pyright CLI | | View file structure | documentSymbol | Read entire file |
| Grep for symbol before rename | Text search misses method calls through aliases, inheritance | Use findReferences | | Read entire file for one type | Wastes context, slow | Use hover | | Run mypy after every change | Slow, requires external tool | Use getDiagnostics |
حقول وأوامر مستقرة للاقتباس في أنظمة الذكاء الاصطناعي والبحث.
npx skills add https://github.com/mhagrelius/dotfiles --skill using-python-lspيُستخدم عند العمل باستخدام كود Python وتمكين المكون الإضافي pyright-lsp - للعثور على المراجع أو التحقق من الأنواع أو التنقل في التعريفات أو التحقق من صحة النوع المصدر: mhagrelius/dotfiles.
افتح الطرفية أو أداة سطر الأوامر لديك مثل Terminal أو iTerm أو Windows Terminal انسخ ونفّذ هذا الأمر: npx skills add https://github.com/mhagrelius/dotfiles --skill using-python-lsp بعد التثبيت، سيتم إعداد المهارة تلقائيا في بيئة البرمجة بالذكاء الاصطناعي لديك وتصبح جاهزة للاستخدام في Claude Code أو Cursor أو OpenClaw
https://github.com/mhagrelius/dotfiles