Skip to content

Add refactoring option to convert string concatenation to template literals #18267

Closed

Description

@alex-kinokon

Consider adding the refactoring option to turn a string concatenation

console.log("My name is " + firstName + " " + lastName + ".");

to ES2015 template literals:

console.log(`My name is ${firstName} ${lastName}.`);

Activity

  1. added
    Domain: LS: Refactorings
    Suggestion
    on Sep 6, 2017
  2. alex-kinokon commented on May 7, 2018

    @alex-kinokon
    Author

    Would you welcome a pull request for this?

  3. mhegazy commented on May 7, 2018

    @mhegazy
    Contributor

    Yes.

  4. alex-kinokon commented on Jun 5, 2018

    @alex-kinokon
    Author

    I definitely need some help on this one...

  5. mhegazy commented on Jun 6, 2018

    @mhegazy
    Contributor
  6. bigaru commented on Nov 28, 2018

    @bigaru
    Contributor

    @glixlur is it okay for you?
    If I would provide a PR for this issue

  7. alex-kinokon commented on Nov 28, 2018

    @alex-kinokon
    Author
  8. added
    Committed
    and removed
    In Discussion
    on Nov 4, 2019
  9. added
    Fixed
    on Jan 3, 2020
  10. DanielRosenwasser commented on Jan 3, 2020

    @DanielRosenwasser
    Member
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

    CommittedDomain: LS: RefactoringsFixedSuggestionUpdate Docs on Next Release

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions