adding also sort and json into the name

This commit is contained in:
Aiday Marlen Kyzy 2023-08-31 16:02:06 +02:00
parent 7069433804
commit ab975ebe28
No known key found for this signature in database
GPG key ID: 24A8B53DBD26FF4E

View file

@ -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'