:: My another contributions in Delphi

»Delphi3000.com
posting and uploading delphi articles
[currently as Top 66 uploader]


»Komunitas Delphi Indonesia
starting as a member

Showing posts with label shortcuts. Show all posts
Showing posts with label shortcuts. Show all posts

Tuesday, December 12, 2006

:: Delphi Editor [IDE] Shortcuts (All)

Shortcuts for Delphi's Editor (IDE)

Shortcut
Action or command
-----------------------------------
F1 Help|Topic Search
Ctrl+F1 Help|Topic Search
F3 Search|Search Again

Ctrl+E Search|Incremental Search
Ctrl+F Search|Find
Ctrl+I Inserts a tab character
Ctrl+j Templates pop-up menu
Ctrl+N Inserts a new line
Ctrl+P Causes next character to be interpreted as an ASCII sequence
Ctrl+R Search|Replace
Ctrl+S File|Save
Ctrl+T Deletes a word

Ctrl+Y Deletes a line
Ctrl+Z Edit|Undo
Ctrl+[space bar] Code Completion pop-up window

Ctrl+Shift+g Inserts a new Globally Unique Identifier (GUID) (Delphi)
Ctrl+Shift+I Indents block
Ctrl+Shift+U Outdents block
Ctrl+Shift+Y Deletes to the end of a line
Ctrl+Shift+Z Edit|Redo
Ctrl+Shift+[space bar] Code Parameters pop-up window

End Moves to the end of a line
Home Moves to the start of a line

Ctrl+Left Arrow Moves one word left
Ctrl+Right Arrow Moves one word right
Ctrl+Tab Moves to the next code page (or file)
Ctrl+Shift+Tab Moves to the previous code page (or file)
Ctrl+Backspace Deletes the word to the right of the cursor
Ctrl+Home Moves to the top of a file
Ctrl+End Moves to the end of a file
Ctrl+Del Deletes a currently selected block
Ctrl+PgDn Moves to the bottom of a screen
Ctrl+PgUp Moves to the top of a screen
Ctrl+Up Arrow Scrolls up one line
Ctrl+Down Arrow Scrolls down one line
Ctrl+Enter Opens file at cursor

Shift+Tab Moves the cursor to the left one tab position
Shift+Backspace Deletes the character to the left of the cursor

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

Ctrl+Shift+Home Selects from the cursor position to the start of the current file
Ctrl+Shift+End Selects from the cursor position to the end of the current file
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+Tab Moves to the previous page
Shift+Alt+arrow Selects column-oriented blocks
Click+Alt+mousemove Selects column-oriented blocks

Ctrl+O+C Turns on column blocking
Ctrl+O+K Turns off column blocking

Alt+Backspace Edit|Undo
Alt+Page Down Goes to the next tab
Alt+Page Up Goes to the previous tab
Alt+Shift+Backspace Edit|Redo
Alt+Shift+Left Arrow Selects the column to the left of the cursor
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+Shift+Down Arrow Moves the cursor down one line and selects the column from the left 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+Page Down Moves the cursor down one line and selects the column from the right 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

Ctrl+Alt+Shift+Left Arrow Selects the column to the left of the cursor
Ctrl+Alt+Shift+Right Arrow Selects the column to the right of the cursor
Ctrl+Alt+Shift+Home Selects the column from the cursor position to the start of the current file
Ctrl+Alt+Shift+End Selects the column from the cursor position to the end of the current file
Ctrl+Alt+Shift+Page Up Selects the column from the cursor position to the bottom of the screen

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

You should read this too :
» Delphi Shortcuts for block commands

Saturday, December 02, 2006

:: Delphi Shortcuts [Block Command]

In my previous post about Delphi's shortcuts,
I didn't group it into its category.
From now on, I'll post it into my category definition.

For the 1st move, I tried to figure out
all the shortcuts that lies on "Block" commands

Here is the list :

Ctrl+K+B Marks the beginning of a block
Ctrl+K+C Copies a selected block
Ctrl+K+H Hides/shows a selected block
Ctrl+K+I Indents a block by an amount specified
Ctrl+K+U Outdents a block by an amount specified
Ctrl+K+K Marks the end of a block
Ctrl+K+L Marks the current line as a block
Ctrl+K+N Changes a block to uppercase
Ctrl+K+O Changes a block to lowercase
Ctrl+K+P Prints selected block
Ctrl+K+R Reads a block from a file
Ctrl+K+T Marks a word as a block
Ctrl+K+V Moves a selected block
Ctrl+K+W Writes a selected block to a file
Ctrl+K+Y Deletes a selected block

Ctrl+O+C Turns on column blocking
Ctrl+O+I Marks an inclusive block
Ctrl+O+K Turns off column blocking
Ctrl+O+L Marks a line as a block

Shift+Alt+arrow Selects column-oriented blocks
Click+Alt+mousemove Selects column-oriented blocks

Ctrl+Q+B Moves to the beginning of a block selected
Ctrl+Q+K Moves to the end of a block selected

Enjoy it.

Previous post about shortcuts :
» Delphi IDE's Shortcuts #1

Thursday, October 26, 2006

:: Delphi IDE's Shortcuts #2

» Block Code Vertically

Untuk Highlight/blok code per baris tentunya para delphiers tidak ada

kesulitan / sudah tau semua kan, kan tinggal menekan tombol [shift]
yang diikuti tombol kursor bawah atau atas.

Nah kalo kita mau highlight/blok code secara kolom bisa atau tidak ?
Misalnya kita mau copy blok code tertentu tetapi tidak mau
menyertakan indentasi yang ada pada blok code tersebut ?

Nah, ini ada caranya :
1. Aktifkan dulu mode highlight/block per kolom-nya dengan menekan
tombol [Ctrl+O+C] (ctrl + huruf O (bukan nol) + huruf C)
2. Silahkan menekan tombol arah kanan/kiri untuk mengubah lebar kolom
yang hendak dihighlight/blok
3. Silahkan kalau mau di copy/cut blok code tersebut.
4. Untuk mengembalikan mode highlight/blok code-nya ke mode per baris
tekan tombol [Ctrl+O+L] atau clik mouse dimana saja.

Sekian dulu tips nya.
Semoga berguna

[diambil dari milis delphierscafe@yahoogroups.com]


:: Delphi IDE's Shortcuts #1

Maybe this post can help you to code more efficiently with Delphi's IDE
Here is the list : (I use Delphi 7)

o> Bookmarking
a. Mark =>
[Ctrl]+[Shift]+[0|1|2|...|9]
or
[Ctrl]+[k]+[0|1|2|...|9]
b. UnMark =>
[Ctrl]+[Shift]+[0|1|2|...|9]
or
[Ctrl]+[k]+[0|1|2|...|9]

o> Change code capitalization
a. Lower Case : [Ctrl]+[k]+[o] { o not zero (0) }
b. Upper Case : [Ctrl]+[k]+[n]

How to use :
1. Select the code
2. Press [Ctrl]+[k]+[n]
3. Now, the code has changed to its upper case

o> Make block indentation
1. Select block of code
2. Press [Ctrl]+[k]+[i]

o> Remove block indentation
1. Select block of code
2. Press [Ctrl]+[k]+[u]

o> Jumps to code declaration
1. Move to code implementation
2. Press [Ctrl]+[Shift]+[up arrow]

o> Jumps to code implementation
1. Move to code declaration
2. Press [Ctrl]+[Shift]+[down arrow]

o> Macro :
a. Start recording : [Ctrl]+[Shift]+[r]
b. Stop recording : [Ctrl]+[Shift]+[r]
c. Play macro : [Ctrl]+[Shift]+[p]