Skip to content

Commit 3122c9f

Browse files
authored
Update Detect-Code-References.md
1 parent 6e4136e commit 3122c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Topics/Detect-Code-References.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
This feature helps finding orphan strings that are no longer used. If enabled it shows a new column beside the key, displaying the count of possible references to this key found in code. If you hover the mouse over the column, a tool tip shows the location and context of the detected reference.
55
The engine does not fully parse the source code, but is using a simple text look up algorithm searching for several patterns like ResourceFile.ResourceKey or ResourceFile->ResourceKey; it may also count references in commented code, or maybe other occurrences of any of the patterns, so even if a resources count is greater than zero it may not be used.
6-
On the other hand it will not find indirect references like {"ResourceFile["ResourceKey"](_ResourceKey_) or even ResourceFile["Resource" + "Key"](_Resource_-+-_Key_)."} So be aware that a count of zero is no guarantee that this resource is not used; e.g. resources of localized WinForms controls always have a count of zero!
6+
On the other hand it will not find indirect references like `ResourceFile["ResourceKey"]` or even `ResourceFile["Resource" + "Key"]`. So be aware that a count of zero is no guarantee that this resource is not used; e.g. resources of localized WinForms controls always have a count of zero!
77

88
The patterns the algorithm is looking for are configurable on the configuration tab:
99
![](Detect%20Code%20References_DetectCodeReferencesConfig.png)

0 commit comments

Comments
 (0)