إختصارات المفاتيح في بيئة عمل دلفي
#1
السلام عليكم و رحمة الله و بركاته

بعد الوجبة الدسمة من اخي Kachwahed و لتسهيل عملية الهضم، نقدم لكم التحلية بيد اخي خالد الشقروني Smile
----
توجد ببيئة دلفي العديد من مفاتيح الإختصار، فيما يلي قائمة ببعضها، (دون ترتيب محدد).
ملاحظة: القائمة تخص دلفي 6 ، في الإصدارات التالية لها توجد مجموعة أخرى من مفاتيح الإختصار.

CTRL+SHIFT+I - CTRL+SHIFT+U

تهميش أو إزالة تهميش المقطع المختار من الكود.
بعد اختيار مقطع من الكود، إذا أردت إزاحته إلى اليمين استخدم CTRL+SHIFT+I لإزااحته بمقدار مسافتين. بإستخدام CTRL+SHIFT+U تتم الازاحة إلى اليسار بمقدار مسافتين.

Ctrl+F12
لجلب قائمة تحوي كافة ملفات المشروع

Alt-F7 - Alt-F8
للتنقل داخل المحرر بين الأسطر التي تحوي أخطاء أو تحذيرات، أو بين الأسطر التي بها كلمات البحث.

Ctrl+Shift+R - Ctrl+Shift+P
استخدم Ctrl+Shift+R لتسجيل أو وقف تسجيل حركة المفاتيح. استخدم Ctrl+Shift+P لإعادة تشغيل ما تم تسجيله.

Ctrl+E
للبحث المركب، بعد إستخدام Ctrl+E مع كل حرف يتم الضغط عليه ينتقل المؤشر للكلمة التي بها تركيبة نفس الأحرف.

Ctrl+Shift+G
لإدراج GUID داخل التوليف. و هي سلسلة رموز تشكل مفتاحا فريدا .

Alt و Shift و أسهم
لإختيار مقطع طولي من نصوص المحرر.

Ctrl+Shift+# أو Ctrl+K+#
باستخدام Ctrl و Shift و رقم، يتم تسجيل علامة مرجعية بنفس الرقم على المسراب يسار المحرر يشير لنفس السطر.
باستخدام Ctrl و الرقم ينتقل المؤشر إلى السطر الذي سبق وضع علامة مرجعية له.

Ctrl+Shift+T
لإدخال بند في قائمة To-Do List . لاستطلاع القائمة استخدم لائحة الأوامر View| To-Do List

Ctrl+Shift+C
لتكملة وإعداد خاصية أو منهاج داخل صنفية class.
لتجربتها، في تعريف Form1 وداخل قسم Public ضع التعليمة التالية:
PHP كود :
TForm1 = class(TForm)
  private
  public
    
property Titlestring;
  
end
إبق المؤشر على سطر هذه التعليمة؛ ثم استخدم Ctrl+Shift+C وسيتم استكمال باقي كود الخاصية آليا.

Alt+F11
لإظهار قائمة بوحدات المشروح و إختيار إحداها لتكون ضمن قسم Uses في الوحدة الحالية.

Ctrl+Shift+Up و Ctrl+Shift+Down
للإنتقال بين جسم الإجرائية و تعريفها.

CTRL+J
لإظهار قائمة بقوالب الكود الجاهزة.

CTRL+T
لإلغاء الكلمة من بداية المؤشر

CTRL+Y
لإلغاء السطر الحالي

CTRL+SHIFT+Y
لإلغاء السطر بداية من مكان المؤشر

ALT+G
الذهاب إلى سطر ذو الرقم الذي يتم تحديده.

CTRL+SPACE
اظهار معطيات إجرائية

Ctrl+K O و Ctrl+K N
لتغيير حالة الأحرف في النص المعلم

Ctrl-Alt-V
لإظهار نافذة بسجل الأحداث

Ctrl-Alt-T
لإظهار نافذة تتبع حالة Threads

Ctrl-Alt-B
لإظهار قائمة بنقاط التوقف Breakpoints

بالهناء و الشفاء
الرد
#2
المجموعة بشكل كلي تقريبا

Shortcut Action
Alt+[
Finds the matching delimiter (forward).

Alt+]
Finds the matching delimiter (backward).

Alt+Left Arrow
Go back after Alt+Up Arrow or Ctrl+Click (go to declaration) operation.

Alt+F7
Go to previous error or message in Messages View.

Alt+F8
Go to next error / message in Messages View.

Alt+Page Down
Goes to the next tab.

Alt+Page Up
Goes to the previous tab.

Alt+Right Arrow
Go forward after Alt+Left Arrow operation.

Alt+Shift+Down Arrow
Moves the cursor down one line and selects the column from the left of the starting cursor position.

Alt+Shift+End
Selects the column from the cursor position to the end of the current line.

Alt+Shift+Home
Selects the column from the cursor position to the start of the current line.

Alt+Shift+Left Arrow
Selects the column to the left of the cursor.

Alt+Shift+Page Down
Moves the cursor down one line and selects the column from the right of the starting cursor position.

Alt+Shift+Page Up
Moves the cursor up one screen and selects the column from the left of the starting cursor position.

Alt+Shift+Right Arrow
Selects the column to the right of the cursor.

Alt+Shift+Up Arrow
Moves the cursor up one line and selects the column from the left of the starting cursor position.

Alt+Up Arrow
Go to declaration.

Click+Alt+mousemove
Selects column-oriented blocks.

Ctrl+/
Adds or removes // to each line in the selected code block to comment the code.

Ctrl+Alt+F12
Display a drop down list of open files.

Ctrl+Alt+Shift+End
Selects the column from the cursor position to the end of the current file.

Ctrl+Alt+Shift+Home
Selects the column from the cursor position to the start of the current file.

Ctrl+Alt+Shift+Left Arrow
Selects the column to the left of the cursor.

Ctrl+Alt+Shift+Page Down
Selects the column from the cursor position to the top of the screen.

Ctrl+Alt+Shift+Page Up
Selects the column from the cursor position to the bottom of the screen.

Ctrl+Alt+Shift+Right Arrow
Selects the column to the right of the cursor.

Ctrl+Backspace
Deletes the word to the right of the cursor.

Ctrl+Click
Go to declaration.

Ctrl+Del
Deletes a currently selected block.

Ctrl+Down Arrow
Scrolls down one line.

Ctrl+End
Moves to the end of a file.

Ctrl+Enter
Opens file at cursor.

Ctrl+Home
Moves to the top of a file.

Ctrl+I
Inserts a tab character.

Ctrl+J
Templates pop-up menu.

Ctrl+K+n
Sets a bookmark, where n is a number from 0 to 9.

Ctrl+K+T
Select word.

Ctrl+Left Arrow
Moves one word left.

Ctrl+n
Jumps to a bookmark, where n is the number of the bookmark, from 0 to 9.

Ctrl+N
Inserts a new line.

Ctrl+O+C
Turns on column blocking.

Ctrl+O+K
Turns off column blocking.

Ctrl+O+L
Turn on line blocking mode.

Ctrl+O+O
Insert compiler options.

Ctrl+P
Causes next character to be interpreted as an ASCII sequence.

Ctrl+PgDn
Moves to the bottom of a screen.

Ctrl+PgUp
Moves to the top of a screen.

Ctrl+Q+#
Go to bookmark.

Ctrl+Right Arrow
Moves one word right.

Ctrl+Shift+C
Invokes class completion for the class declaration in which the cursor is positioned.

Ctrl+Shift+#
Set bookmark.

Ctrl+Shift+B
Display buffer list.

Ctrl+Shift+Down Arrow
Jump between declaration and implementation.

Ctrl+Shift+Enter
Find usages.

Ctrl+Shift+J
SyncEdit.

Ctrl+Shift K+A
Expands all blocks of code.

Ctrl+Shift K+C
Collapses all classes.

Ctrl+Shift K+E
Collapses a block of code.

Ctrl+Shift K+G
Initializes/finalize or interface/implementation.

Ctrl+Shift K+M
Collapses all methods.

Ctrl+Shift K+N
Collapses namespace/Unit.

Ctrl+Shift K+O
Toggles between enabling and disabling Code Folding.

Ctrl+Shift K+P
Collapses nested procedures.

Ctrl+Shift K+R
Collapses all regions.

Ctrl+Shift K+T
Toggles the current block between collapsed and expanded.

Ctrl+Shift K+U
Expands a block of code.

Ctrl+Shift+End
Selects from the cursor position to the end of the current file.

Ctrl+Shift+G
Inserts a new Globally Unique Identifier (GUID).

Ctrl+Shift+Home
Selects from the cursor position to the start of the current file.

Ctrl+Shift+I
Indents block.

Ctrl+Shift+Left Arrow
Selects the word to the left of the cursor.

Ctrl+Shift+P
Plays a recorded keystroke macro.

Ctrl+Shift+PgDn
Selects from the cursor position to the bottom of the screen.

Ctrl+Shift+PgUp
Selects from the cursor position to the top of the screen.

Ctrl+Shift+R
Toggles between starting and stopping the recording of a keystroke macro.

Ctrl+Shift+Right Arrow
Selects the word to the right of the cursor.

Ctrl+Shift+space bar
Code Parameters pop-up window.

Ctrl+Shift+T
Create ToDo entry.

Ctrl+Shift+Tab
Moves to the previous code page (or file).

Ctrl+Shift+Tab
Moves to the previous page.

Ctrl+Shift+U
Outdents block.

Ctrl+Shift+Up Arrow
Jump between declaration and implementation.

Ctrl+Shift+Y
Deletes to the end of a line.

Ctrl+space bar
Code Completion pop-up window.

Ctrl+T
Deletes a word.

Ctrl+Tab
Moves to the next code page (or file).

Ctrl+Up Arrow
Scrolls up one line.

Ctrl+Y
Deletes a line.

F1
Displays Help for the selected fully qualified namespace.

Shift+Alt+arrow
Selects column-oriented blocks.

Shift+Backspace
Deletes the character to the left of the cursor.

Shift+Down Arrow
Moves the cursor down one line and selects from the right of the starting cursor position.

Shift+End
Selects from the cursor position to the end of the current line.

Shift+Enter
Inserts a new line with a carriage return.

Shift+Home
Selects from the cursor position to the start of the current line.

Shift+Left Arrow
Selects the character to the left of the cursor.

Shift+PgDn
Moves the cursor down one line and selects from the right of the starting cursor position.

Shift+PgUp
Moves the cursor up one screen and selects from the left of the starting cursor position.

Shift+Right Arrow
Selects the character to the right of the cursor.

Shift+Space
Inserts a blank space.

Shift+Tab
Moves the cursor to the left one tab position.

Shift+Up Arrow
Moves the cursor up one line and selects from the left of the starting cursor position.
[-] كل من 3 users say قال شكرا ل cargem على المشاركة المفيدة
  • azertyuihayat2013, belkhir2, mha3
الرد
#3
بارك الله فيك أخي الحبيب ... أكثر ما أعجبني (وكل موضوع جميل) ... الاختصار Ctrl + Shift + G

بارك الله فيك دائما أبدا
الرد
#4
شكرا جزيلا
الرد
#5
السلام عليكم ـ بارك الله فيكم شباب الخير على هذه المعلومات و الإختصارات المفيدة

كنت قد رأيت سابقا في أحد الفيديوهات على يوتوب إختصار جميل جدا حيث يمكنك إظافة مكونات دون تحريك الماوس من الفورم ، تظغط على تشكيلة أجهلها فيضهر على الفورم ك نافذة صغيرة تبحث فيها عن مكون وتضغط ok يدرج تلقائيا
دون التوجه إلى جوانب IDE Delphi والبحث أو تصفح المكونات
أرجــوا من له معلومة بأن يفيدنا بها
شكرا ^_^
ومن يتهيب صعود الجبال يعش أبد الدهر بين التلال و الحفر
الرد
#6
الأخ
khiro.alg
لعلك تقصد من القائمة :
Voir -> liste de composants
الرد
#7
rm31 كتب :لعلك تقصد من القائمة :Voir -> liste de composants

لا كنت أقصد IDE insight ، ويمكن الوصول إليها عن طريق
كود :
Ctrl + ;
أو
Fenétre ->IDE Insight
شكرا لك أخي ^^
ومن يتهيب صعود الجبال يعش أبد الدهر بين التلال و الحفر
الرد
#8
السلام عليكم
إختصارات رائعة ومفيدة بارك فيكم وفي علمكم

بالتوفيق
الرد


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم