Skip to content

use onTypeFormatting for vue.autoInsert.dotValue? #302

@rchl

Description

@rchl

Is there a good reason for this code:

server.connection.onRequest(AutoInsertRequest.type, async (params, token) => {
const uri = URI.parse(params.textDocument.uri);
return await worker(uri, token, languageService => {
return languageService.getAutoInsertSnippet(uri, params.selection, params.change, token);
});
});

to use a custom request instead of standardized document on type formatting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions