mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-16 07:15:24 +00:00
change viewMemoryLayoutParams to be textPositionParams
This commit is contained in:
parent
514bab504e
commit
1dd54eb44a
4 changed files with 6 additions and 25 deletions
|
@ -151,7 +151,7 @@ export const serverStatus = new lc.NotificationType<ServerStatusParams>(
|
|||
);
|
||||
export const ssr = new lc.RequestType<SsrParams, lc.WorkspaceEdit, void>("experimental/ssr");
|
||||
export const viewRecursiveMemoryLayout = new lc.RequestType<
|
||||
ViewRecursiveMemoryLayoutParams,
|
||||
lc.TextDocumentPositionParams,
|
||||
RecursiveMemoryLayout | null,
|
||||
void
|
||||
>("rust-analyzer/viewRecursiveMemoryLayout");
|
||||
|
@ -203,10 +203,6 @@ export type SsrParams = {
|
|||
selections: readonly lc.Range[];
|
||||
};
|
||||
|
||||
export type ViewRecursiveMemoryLayoutParams = {
|
||||
textDocument: lc.TextDocumentIdentifier;
|
||||
position: lc.Position;
|
||||
};
|
||||
export type RecursiveMemoryLayoutNode = {
|
||||
item_name: string;
|
||||
typename: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue