mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
adding also sort and json into the name
This commit is contained in:
parent
7069433804
commit
ab975ebe28
|
@ -429,7 +429,7 @@ export function startServer(connection: Connection, runtime: RuntimeEnvironment)
|
|||
return runSafeAsync(runtime, async () => {
|
||||
const document = documents.get(codeActionParams.textDocument.uri);
|
||||
if (document) {
|
||||
const sortCodeAction = CodeAction.create('Sort JSON', CodeActionKind.Source);
|
||||
const sortCodeAction = CodeAction.create('Sort JSON', CodeActionKind.Source.concat('.sort', '.json'));
|
||||
sortCodeAction.command = {
|
||||
command: 'json.sort',
|
||||
title: 'Sort JSON'
|
||||
|
|
Loading…
Reference in a new issue