| 1 | package PLS::Server::Request::TextDocument::DidSave; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use parent 'PLS::Server::Request'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | ▶ | use Coro; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | ▶ | use PLS::Parser::Document; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use PLS::Server::Request::Diagnostics::PublishDiagnostics; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | PLS::Server::Request::TextDocument::DidSave | ||
| 16 | |||
| 17 | =head1 DESCRIPTION | ||
| 18 | |||
| 19 | This is a notification from the client to the server that | ||
| 20 | a text document was saved. | ||
| 21 | |||
| 22 | =cut | ||
| 23 | |||
| 24 | sub service | ||
| 25 | { | ||
| 26 | 0 | ▶ | my ($self, $server) = @_; |
|
Subroutine
service: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 27 | |||
| 28 | 0 | $server->{server_requests}->put(PLS::Server::Request::Diagnostics::PublishDiagnostics->new(uri => $self->{params}{textDocument}{uri})); | |
| 29 | |||
| 30 | 0 | return; | |
| 31 | } ## end sub service | ||
| 32 | |||
| 33 | 1 | 1; | |