VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Essential Keyboard Shortcuts

by John Edward Colman (7 Submissions)
Category: VB function enhancement
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

A few VB editor-shortcut keys that make life worthwhile.

Rate Essential Keyboard Shortcuts

Intellisense:
VB is very kind in that as you start typing code it shows you a list of compatible objects that you can select from by using the tab and cursor keys.
This is called intellisense.
But if you select the wrong word and try to go back, the box doesn't reappear by itself.
I used to delete the whole word and the space or dot or parentheses and retype it to make the list reappear again.... until I discovered a keyboard shortcut!!!!!
  Ctrl+J  - Makes the list appear again!
  Ctrl+Space - Completes your typing!
Quick Info:
The same thing happens with Quick Info (the tooltip which shows you the purpose and type of each parameter in a method/function):
  Ctrl+I - Reshows Quick Info
Move between Open Editor Windows:
  Ctrl+Tab
Display the Immediate (Debug) Window:
  Ctrl+G
Stop Execution:
When your program put VB in endless loops this keyboard shortcut is usually successfull:
  Ctrl+Break - Stop exectution
Goto Definition:
To move quickly to a function/method or variable definition:
  Shift+F2

Download this snippet    Add to My Saved Code

Essential Keyboard Shortcuts Comments

No comments have been posted about Essential Keyboard Shortcuts. Why not be the first to post a comment about Essential Keyboard Shortcuts.

Post your comment

Subject:
Message:
0/1000 characters