The answer to such questions with the refactoring mechanism is quite simple. The following code finds all occurrences / in the system:
allCodeWithSlash := RBBrowserEnvironment new matches: '/'
From there you can expand your search, for example. inside class:
allCodeWithSlashInClass := allCodeWithSlash forClasses: (Array with: DosFileDirectory)
Or inside the package:
allCodeWithSlashInPackage := allCodeWithSlash forPackageNames: (Array with: 'Files')
If you have a user interface loaded, you can open a browser in any of these search results:
allCodeWithSlashInPackage open
If you use OmniBrowser, you can also create and navigate these areas without entering any code through the Refactoring area menu.
source share