NAME
PLS::Server::Request::Workspace::ExecuteCommand
DESCRIPTION
This is a message from the client to the server requesting that a command be executed.
The commands that are currently implemented are:
- perl.sortImports
-
This sorts the imports of the current Perl file. The sorting follows this order:
use strict
anduse warnings
use parent
anduse base
- Other pragmas (excluding
use constant
) - Core and external imports
- Internal imports (from the current project)
- Constants (
use constant
)
This command is not perfect and is a work in progress. It does not handle comments or non-contiguous imports well.