mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +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 () => {
|
return runSafeAsync(runtime, async () => {
|
||||||
const document = documents.get(codeActionParams.textDocument.uri);
|
const document = documents.get(codeActionParams.textDocument.uri);
|
||||||
if (document) {
|
if (document) {
|
||||||
const sortCodeAction = CodeAction.create('Sort JSON', CodeActionKind.Source);
|
const sortCodeAction = CodeAction.create('Sort JSON', CodeActionKind.Source.concat('.sort', '.json'));
|
||||||
sortCodeAction.command = {
|
sortCodeAction.command = {
|
||||||
command: 'json.sort',
|
command: 'json.sort',
|
||||||
title: 'Sort JSON'
|
title: 'Sort JSON'
|
||||||
|
|
Loading…
Reference in a new issue