KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Search reference differences between comments and methods
PRODUCT: 4D | VERSION: 18 | PLATFORM: Mac & Win
Published On: April 5, 2021

When using the Search reference option when right clicking on text in a method, the results of the search will vary depending on whether you highlighted a comment or a method call.

Search reference on a comment will find every single text that includes the highlighted item. For example, when searching for "Method", it will find all comments and methods that contain the text "Method" as shown below:

Search reference on a comment:


Search reference on a method will search for all method calls for that specific method. It will exclude methods that contain that highlighted item. For example, when searching on the call "Method", it will only find calls to "Method" and exlude calls to "Method1", "Method2", and "Method3".

Search reference on a method call: