Auto Sort TypeScript Imports with Prettier ✨

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • A quick and easy way to auto sort your imports in TypeScript with a Prettier plugin. Configure your own order including your custom import aliases.
    🔗 Links:
    👉 GitHub Repo: github.com/nik...
    --
    🤝 Become a friend of the channel! Start your membership today and get extra benefits: / @nikolovlazar
    💬 A bunch of us are hanging out at discord.creatu.... Join us!
    🐦 Find me on the bird app: / nikolovlazar
    🎥 What I use for coding and making videos: nikolovlazar.c...
  • Наука та технологія

КОМЕНТАРІ • 15

  • @p3yman
    @p3yman 3 місяці тому +1

    I'm obsessed with this type of sorting, but were using a much more complicated solution, so thank you!

  • @bleakCode
    @bleakCode 5 місяців тому +1

    That's so frekin cool!. Thanks Lazar!

  • @How2Forex
    @How2Forex 5 місяців тому +1

    wow, keep posting these videos

  • @idk-nv
    @idk-nv 5 місяців тому +1

    helpful

    • @nikolovlazar
      @nikolovlazar  5 місяців тому +1

      Glad you found it helpful!

  • @WhatNameHere
    @WhatNameHere 4 місяці тому

    Hey, Ive tried neovim for front end but don’t know for some reason in react or NextJS projects it doesn’t autosuggest me for html tags. Could you help?

    • @nikolovlazar
      @nikolovlazar  4 місяці тому +1

      Do you have an LSP installed? The suggestions that are based on the language/framework come from a configured LSP (Language Service Provider). It's how all IDEs are giving you suggestions. If you're using plain Neovim you don't have an LSP configured. I'm using LazyVim as a base ( lazyvim.org ) but with some additional configuration on top that I needed. You can check out my config here: github.com/nikolovlazar/dotfiles. I'd look into setting up LazyVim first, and then taking it from there.

  • @tunamusic2314
    @tunamusic2314 2 місяці тому

    is this vscode ide ?

  • @emmanuelezeagwula7436
    @emmanuelezeagwula7436 2 місяці тому

    What theme is that ?

    • @nikolovlazar
      @nikolovlazar  2 місяці тому

      This is Oxocarbon, but with some modifications. Check it out here:
      github.com/nikolovlazar/dotfiles/blob/a3b79e2c976232b3df101fd1207305d68c1f02ff/.config/nvim/lua/plugins/colorscheme.lua

    • @emmanuelezeagwula7436
      @emmanuelezeagwula7436 2 місяці тому

      @@nikolovlazar thanks man ! just subbed to the channel, love the content

    • @nikolovlazar
      @nikolovlazar  2 місяці тому

      @@emmanuelezeagwula7436 thanks man! I'm glad you love my content!