mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
SSR: Pass current file position through to SSR code.
In a subsequent commit, it will be used for resolving paths.
This commit is contained in:
parent
02fc3d50ee
commit
3975952601
11 changed files with 88 additions and 32 deletions
|
@ -93,6 +93,8 @@ export const inlayHints = new lc.RequestType<InlayHintsParams, InlayHint[], void
|
|||
export interface SsrParams {
|
||||
query: string;
|
||||
parseOnly: boolean;
|
||||
textDocument: lc.TextDocumentIdentifier;
|
||||
position: lc.Position;
|
||||
}
|
||||
export const ssr = new lc.RequestType<SsrParams, lc.WorkspaceEdit, void>('experimental/ssr');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue