简体   繁体   中英

how can i import packages in visual studio code?

I use actually visual studio Code ( for Java ) and I need to use Jdom.

For that, I need to import a package/library. I know how I can do this import on eclipse, but how can I do that with visual studio code?

A distinct non-answer: you have to learn the tool you are using.

The help pages for this product outline how you setup projects:

Maven, Eclipse and Gradle Java project are supported through Language Support for Java(TM) by Red Hat, by utilizing M2Eclipse which provides Maven support and Buildship which provides Gradle support through the Eclipse JDT Language Server.

Meaning: in order to work in reasonable ways, you have to define a project . Projects provide the required META information, for example: which libraries are needed to compile/run the content of the project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM