By using the advanced quick find you can get your code few clicks shorter. Also, you can search any string your code
Salesforce advanced Code searcher Extension
We are now on Lightning!!!!
Using this extension you can search your code components your salesforce instance:
1) apex Classes
2) Apex Triggers
3) visualforce Pages
4) Visualforce Components
5) Lighting Component
In addition to the above you can use this extension to jump to classes / pages / triggers from the advanced quick find section on the left hand side.
How to make it work in Lightning:
1) We embed the extension in the setup page. Please navigate to the setup home page where you can find the extension injected in the right.
2) You need to authorize (this is a one time activity) for the application to make the API calls.
3) On clicking the button, you will be navigated to the Salesforce to authorize. Once you have successfully completed the authorization, you will be redirected back to the home page.
4) Once this is done, all the functionalities will be enabled.
How to use it (Classic):
Both the below section get added in the set-up pages, so this is only useful for developers and Admins, this tool will not make any sense for salesforce users.
1) Advanced Quick Find section:This part gets added in side navigation bar on all set-up pages. Select the code component that you want to go to, then start typing the name of the code,an autocomplete suggestion pops up, select the one that you want to go to.
2) Developer Utilities:
\t2.1) This component get added in force.com home page only. Let's say you want to know where you have hard-coded a profile name in your code, like if(profile.name =='sys Admin'){//you're doing something}. Right now to find this out you have to either go thru all the code individually or create a force.com project in eclipse and then search there. There's no way we can do this directly in salesforce. This string search will help you do that. You have to check the code components in which you want to search the code, enter a string in the input text field and hit enter. You will be presented with a list of code components where the string is used.
\t2.2 ) Code Coverage Extract: You can View and download the code coverage in your org.
2.3 ) This extension now allows you to lint the lightning code via the Lightning Linter tab.
2.4 ) You can now run PMD against your code
2.5 ) Added a new tab which will allow the users to view the record and its child information .
update 1.26
GraphQL Explorer is now available
update 1.22
Improved the static code analysis functionality
update 1.20
Moved away from heroku to firebase functions.
update 1.17
LWC editor now has linting capabilities.
update 1.15
Added the LWC Editor with Autocompleting for html & xml files.
update 1.10
Added the ability to get the record Information by just giving the record Id.
update 1.8, 1.9
Added support for the application to work on lightning
update 1.4.2
Added support for Custom label
Addes support for Apex PMD
Update 1.1.1
Expanded the quick search scope to Email Templates, Validation Rule, Workflow Rule, Custom Object
Added edition checks.
Update 1.2
Update the UI to be more in sync with Lightning
Update 1.3
Added Code coverage Extract section allowing user to view and download the code coverage.
Update 1.3.3:
UPdated the cookie issue.
NOTE:
1) Salesforce's REST API is used to accomplish the above functionalities
Update 1.3.5
1) Added support to delete all the Debug logs
2) Added a button on traceflag to renew the startDate / expiration date.
update 1.4:
1) Added functionality to support linting of lightning components
Read more
Using this extension you can search your code components your salesforce instance:
1) apex Classes
2) Apex Triggers
3) visualforce Pages
4) Visualforce Components
5) Lighting Component
In addition to the above you can use this extension to jump to classes / pages / triggers from the advanced quick find section on the left hand side.
How to make it work in Lightning:
1) We embed the extension in the setup page. Please navigate to the setup home page where you can find the extension injected in the right.
2) You need to authorize (this is a one time activity) for the application to make the API calls.
3) On clicking the button, you will be navigated to the Salesforce to authorize. Once you have successfully completed the authorization, you will be redirected back to the home page.
4) Once this is done, all the functionalities will be enabled.
How to use it (Classic):
Both the below section get added in the set-up pages, so this is only useful for developers and Admins, this tool will not make any sense for salesforce users.
1) Advanced Quick Find section:This part gets added in side navigation bar on all set-up pages. Select the code component that you want to go to, then start typing the name of the code,an autocomplete suggestion pops up, select the one that you want to go to.
2) Developer Utilities:
\t2.1) This component get added in force.com home page only. Let's say you want to know where you have hard-coded a profile name in your code, like if(profile.name =='sys Admin'){//you're doing something}. Right now to find this out you have to either go thru all the code individually or create a force.com project in eclipse and then search there. There's no way we can do this directly in salesforce. This string search will help you do that. You have to check the code components in which you want to search the code, enter a string in the input text field and hit enter. You will be presented with a list of code components where the string is used.
\t2.2 ) Code Coverage Extract: You can View and download the code coverage in your org.
2.3 ) This extension now allows you to lint the lightning code via the Lightning Linter tab.
2.4 ) You can now run PMD against your code
2.5 ) Added a new tab which will allow the users to view the record and its child information .
update 1.26
GraphQL Explorer is now available
update 1.22
Improved the static code analysis functionality
update 1.20
Moved away from heroku to firebase functions.
update 1.17
LWC editor now has linting capabilities.
update 1.15
Added the LWC Editor with Autocompleting for html & xml files.
update 1.10
Added the ability to get the record Information by just giving the record Id.
update 1.8, 1.9
Added support for the application to work on lightning
update 1.4.2
Added support for Custom label
Addes support for Apex PMD
Update 1.1.1
Expanded the quick search scope to Email Templates, Validation Rule, Workflow Rule, Custom Object
Added edition checks.
Update 1.2
Update the UI to be more in sync with Lightning
Update 1.3
Added Code coverage Extract section allowing user to view and download the code coverage.
Update 1.3.3:
UPdated the cookie issue.
NOTE:
1) Salesforce's REST API is used to accomplish the above functionalities
Update 1.3.5
1) Added support to delete all the Debug logs
2) Added a button on traceflag to renew the startDate / expiration date.
update 1.4:
1) Added functionality to support linting of lightning components
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Salesforce advanced Code searcher", "version": "1.30", "manifest_version": 3, "description": "By using the advanced quick find you can get your code few clicks shorter. Also, you can search any string your code", "author": "Sameer N Miraj", "background": { "service_worker": "background.js" }, "icons": { "48": "/images/icon.png", "128": "/images/icon.png" }, "content_scripts": [ { "matches": [ "https://*.salesforce.com/*", "https://*.lightning.force.com/*", "https://*.salesforce-setup.com/*" ], "js": [ "/js/jQuery.js", "/js/jquery-ui.js", "/js/Chart.bundle.min.js", "/js/palatte.js", "/js/angular.min.js", "/js/angular.sanitize.js", "/js/angular-animate.min.js", "/js/idbstore.min.js", "contentScript.js", "/js/cm/codemirror.js", "/js/cm/cmactive-line.js", "/js/cm/cmclosebrackets.js", "/js/cm/cmautorefresh.js", "/js/cm/cmclike.js", "/js/cm/cmshow-hint.js", "/js/cm/cmfoldcode.js", "/js/cm/cmfoldgutter.js", "/js/cm/cmcssmode.js", "/js/cm/cmjsmode.js", "/js/cm/cmxmlmode.js", "/js/cm/cmsearch.js", "/js/cm/cmsearchcursor.js", "/js/cm/cmjumptoline.js", "/js/cm/cmdialog.js", "/js/cm/continuecomment.js", "/js/cm/comment-fold.js", "/js/cm/comment.js", "/js/cm/matchtags.js", "/js/cm/closetag.js", "/js/cm/xml-fold.js", "/js/cm/html-hint.js", "/js/cm/javascript-hint.js", "/js/cm/xml-hint.js", "/js/cm/css-hint.js", "/js/l_js/app.js", "/js/l_js/service.js", "/js/l_js/factory.js", "/js/l_js/filter.js", "/js/l_js/controller.js", "/js/l_js/directive/rightclick.js", "/js/l_js/directive/searchcodedirective.js", "/js/l_js/directive/codeCoverageExtractDirective.js", "/js/l_js/directive/apexpmddirective.js", "/js/l_js/directive/lightninglinterDirective.js", "/js/l_js/directive/recordDetailDirective.js", "/js/l_js/directive/queryForceDirective.js", "/js/l_js/directive/staticCodeAnalysisDirective.js", "/js/l_js/directive/gqleditor.js", "contentScript_l.js", "/js/angular.rangeSlider.js", "/js/angJs/app.js", "/js/angJs/service.js", "/js/angJs/factory.js", "/js/angJs/filter.js", "/js/angJs/controller.js", "/js/angJs/directives/searchCode_directive.js", "/js/angJs/directives/codeCoverageExtract_directive.js", "/js/angJs/directives/downloadCode_directive.js", "/js/angJs/directives/apexpmd_directive.js", "/js/xml2json.min.js", "/js/debugLogs.js", "/js/traceflag.js" ], "css": [ "/css/jquery-ui.css", "/css/angular.rangeSlider.css", "/css/main.css", "/css/cm/codemirror.css", "/css/cm/cmmonokai.css", "/css/cm/cmfoldcode.css", "/css/cm/cmdialog.css", "/css/cm/elegant.css", "/css/cm/mdn-like.css", "/css/cm/rubyblue.css", "/css/cm/solarized.css", "/css/cm/show-hint.css" ] } ], "web_accessible_resources": [ { "resources": [ "/slds/assets/fonts/webfonts/*", "/js/templates/*", "/js/l_template/*", "/js/*", "/slds/assets/images/*", "/css/*", "callback.html", "/slds/assets/styles/*", "/images/*", "login.html", "callback.html", "monaco-editor/*", "monaco-editor/min/vs/editor/editor.main.css", "build/*", "https://maxcdn.bootstrapcdn.com/*" ], "matches": [ "https://*.salesforce.com/*", "https://*.lightning.force.com/*", "https://*.salesforce-setup.com/*" ] } ], "permissions": ["unlimitedStorage"], "host_permissions": [ "https://lightninglinter.herokuapp.com/", "https://us-central1-sf-advanced-code-searcher.cloudfunctions.net/", "https://*.salesforce.com/*", "https://*.force.com/*", "https://maxcdn.bootstrapcdn.com/*" ]}
Read more