You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some interfaces in LSP extends multiple interfaces such as the following WorkspaceSymbolParams.
However, in Ruby code, the interface class only extends the last interface class (WorkspaceSymbolParams class only extends PartialResultParams class), so the Ruby class is not compatible with the corresponding LSP interface.
For example, this WorkspaceSymbolParams interface (link) extends WorkDoneProgressParams interface (link) which has workDoneToken property and PartialResultParams interface (link) which has partialResultToken property.
Therefore, this WorkspaceSymbolParams interface has query, workDoneToken, and partialResultToken properties.
/** * The parameters of a Workspace Symbol Request. */interfaceWorkspaceSymbolParamsextendsWorkDoneProgressParams,PartialResultParams{/** * A query string to filter symbols by. Clients may send an empty * string here to request all symbols. */query: string;}
However, in Ruby code, the interface class WorkspaceSymbolParams only extends PartialResultParams class, so WorkspaceSymbolParams does not allow workDoneToken propety of WorkDoneProgressParams class.
Some interfaces in LSP extends multiple interfaces such as the following
WorkspaceSymbolParams
.However, in Ruby code, the interface class only extends the last interface class (
WorkspaceSymbolParams
class only extendsPartialResultParams
class), so the Ruby class is not compatible with the corresponding LSP interface.For example, this
WorkspaceSymbolParams
interface (link) extendsWorkDoneProgressParams
interface (link) which hasworkDoneToken
property andPartialResultParams
interface (link) which haspartialResultToken
property.Therefore, this
WorkspaceSymbolParams
interface hasquery
,workDoneToken
, andpartialResultToken
properties.However, in Ruby code, the interface class
WorkspaceSymbolParams
only extendsPartialResultParams
class, soWorkspaceSymbolParams
does not allowworkDoneToken
propety ofWorkDoneProgressParams
class.language_server-protocol-ruby/lib/language_server/protocol/interface/workspace_symbol_params.rb
Lines 1 to 38 in e9a357f
The text was updated successfully, but these errors were encountered: