skip to Main Content

Is there a way to make VScode to autocomplete/make a snippet of className so when i choose is it it will complete to className={“} (instead of current situation when it just complete to "className" ) ?
Thanks

2

Answers


  1. You can try TabNine or VSCode IntelliSense and see if that helps, but it is hard for an IDE to assume 100% what you want to do, I am just giving examples of extensions that might help more.

    Login or Signup to reply.
  2. You can create a snippet and you can set className by reading your fileName.

    you can refer Documentation.

    https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search