Skip to content

JSDoc comment templates/scaffolding may not use formatter newlines #52348

Closed

Description

Not that you should fix it in this PR, but it seems like a bug that we don't have this for JSDoc comments.

Originally posted by Jake Bailey (@jakebailey) in #52298 (comment)

        return JsDoc.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(host, /*formatSettings*/ undefined), syntaxTreeCache.getCurrentSourceFile(fileName), position, options);

Activity

  1. jakebailey commented on Jan 21, 2023

    @jakebailey
    Member

    To clarify out of context, "this" is formatSettings. I think this is just a plumbing problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: FormatterThe issue relates to the built-in formatter

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions