Skip to content

Commit

Permalink
fix: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmorris180 committed Jan 17, 2024
1 parent 623cf53 commit b22a7ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ Provides a set of utilities that emulate the commands of the Salesforce
extension for VS Code. Out of the box commands include:

- `:SalesforceExecuteFile`: Execute the current file as anonymous Apex
- `:SalesforceToggleDebug`: Toggle debug logging (this can also be set in the config options)
- `:SalesforceToggleConsoleDebug`: Toggle debug logging for the console (this can also be set in the config options)
- `:SalesforceToggleLogFileDebug`: Toggle file debug logging (this can also be set in the config options)
- `:SalesforceRefreshOrgInfo`: Refresh the org info for the current project
- `:SalesforceClosePopup`: Close the popup window (useful in case you navigated away from it)
- `:SalesforceExecuteCurrentMethod`: Execute the test method under the cursor
- `:SalesforceExecuteCurrentClass`: Execute all test methods in the current class
Expand Down Expand Up @@ -150,7 +152,7 @@ PRs and issues are always welcome. Make sure to provide as much context as possi

## 🎭 Debugging

When debugging is enabled via `:SalesforceToggleDebug`, the log file is written to
When debugging is enabled via `:SalesforceToggleLogFileDebug`, the log file is written to

```lua
vim.fn.stdpath("cache") .. "/salesforce.log"
Expand Down
4 changes: 3 additions & 1 deletion lua/salesforce/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
--- Provides a set of utilities that emulate the commands of the Salesforce
--- extension for VS Code. Out of the box commands include:
--- - `SalesforceExecuteFile`: Execute the current file as anonymous Apex
--- - `SalesforceToggleDebug`: Toggle debug logging (this can also be set in |Salesforce.setup|)
--- - `SalesforceToggleConsoleDebug`: Toggle debug logging for the console (this can also be set in |Salesforce.setup|)
--- - `SalesforceToggleLogFileDebug`: Toggle file debug logging (this can also be set in |Salesforce.setup|)
--- - `SalesforceRefreshOrgInfo`: Refresh the org info for the current project
--- - `SalesforceClosePopup`: Close the popup window (useful in case you navigated away from it)
--- - `SalesforceExecuteCurrentMethod`: Execute the test method under the cursor
--- - `SalesforceExecuteCurrentClass`: Execute all test methods in the current class
Expand Down

0 comments on commit b22a7ef

Please sign in to comment.