Skip to content

Commit

Permalink
internal/lsp/command: minor clean-up of StartDebugging description
Browse files Browse the repository at this point in the history
Change-Id: I9975a98fa47f2a17a9e013d67b4a48cc6fa17598
Reviewed-on: https://go-review.googlesource.com/c/tools/+/327110
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
  • Loading branch information
findleyr committed Jun 11, 2021
1 parent 490eac8 commit 9a55cb1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions gopls/doc/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,11 @@ Args:
}
```

### **Start the gopls debug server if it isn't running, and**
### **Start the gopls debug server**
Identifier: `gopls.start_debugging`

return the debug address.
Start the gopls debug server if it isn't running, and return the debug
address.

Args:

Expand Down
6 changes: 4 additions & 2 deletions internal/lsp/command/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ type Interface interface {
// Query the server for information about active workspaces.
WorkspaceMetadata(context.Context) (WorkspaceMetadataResult, error)

// StartDebugging: Start the gopls debug server if it isn't running, and
// return the debug address.
// StartDebugging: Start the gopls debug server
//
// Start the gopls debug server if it isn't running, and return the debug
// address.
StartDebugging(context.Context, DebuggingArgs) (DebuggingResult, error)
}

Expand Down
4 changes: 2 additions & 2 deletions internal/lsp/source/api_json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9a55cb1

Please sign in to comment.