-
Notifications
You must be signed in to change notification settings - Fork 923
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitygood first issuehelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities
Milestone
Description
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:
Locationdefined 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?
kdvolder, NipunaRanasinghe, DimalChandrasiri, Urigo, DavidGoldman and 1 more
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitygood first issuehelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities