I would like to request a feature which is a server-initiated notification window/showTextDocument to open and/or show text document with a given Location.
Propose Change
- a new method: 'window/showTextDocument'
- params:
Location defined as follows:
interface Location {
uri: DocumentUri;
range: Range;
}
Why?
This is beneficial when text files are generated by the Server and wants clients to open / show the text document(optionally to focus specific position) in cases such as test files generation, stubs generation.
I am already aware of the CreateFile and CreateFileOptions still it won't allow to focus on specific position for a Server initiated notification(please correct me if I am wrong here).
WDYT?
I would like to request a feature which is a server-initiated notification
window/showTextDocumentto open and/or show text document with a given Location.Propose Change
Locationdefined as follows:Why?
This is beneficial when text files are generated by the Server and wants clients to open / show the text document(optionally to focus specific position) in cases such as test files generation, stubs generation.
I am already aware of the
CreateFileandCreateFileOptionsstill it won't allow to focus on specific position for a Server initiated notification(please correct me if I am wrong here).WDYT?