4

I've downloaded some jar files (e.g. gson-2.8.5.jar) and want to add them to visual studio code locally without any extra downloads so I can benefit from autocomplete feature of classes and methods, How should I do it?

I've searched a while in google and could not find anything useful, so even links to other answers is appreciated.

Masked Man
  • 2,176
  • 2
  • 22
  • 41

1 Answers1

2

As suggested by LeoZhu-MSFT which references this in comments all I had to do was open only the folder containing stand-alone Java files and if necessary put any jar dependency in a lib subdirectory (I was previously opening all directories with code snippets I work on in different languages as playground).

Masked Man
  • 2,176
  • 2
  • 22
  • 41