KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Ways to Access Definitions of Items In Method Editor
PRODUCT: 4D | VERSION: 15.3 | PLATFORM: Mac & Win
Published On: February 2, 2017

When developing and creating methods in 4D, there are times when the definition of an item is needed, such as what a 4D Command does, what a created Method does or even where a variable was declared.

Method 1:

  1. Right click the item

  2. Select "Goto Definition..."



Method 2:
  1. Hold down Option (Mac) or Control (Win)

  2. Click on the item

When moving onto the item the cursor should become a finger pointer instead of the typical text typing cursor.

Method 3:
  1. Highlight the item

  2. Press Command+K (Mac) or Control+K (Win)

Depending on the item the resulting actions can be different.
  • 4D Commands: Will open the documentation for the command

  • Methods: Will open the method in the method editor as the front most window

  • Variables: Will first try to find where it is first defined within a method and jump to that line, if it is not defined in the method it will try to find it in the compiler variables and open the method in the method editor and jump to that line.