GithubHelp home page GithubHelp logo

test-mass-forker-org-1 / vscode-java-dependency Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/vscode-java-dependency

0.0 0.0 0.0 8.86 MB

Manage Java projects in Visual Studio Code.

Home Page: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency

License: MIT License

JavaScript 1.18% Java 27.66% TypeScript 71.16%

vscode-java-dependency's Introduction

Project Manager for Java

Manage Java projects in Visual Studio Code

GitHub Actions

Overview

A lightweight extension to provide additional Java project explorer features. It works with Language Support for Java by Red Hat to provide the following features:

Project View

project-view

Create Java Projects

create project

Export Jar

Note: For Spring Boot projects, please use the build tool to build the executable jar, for example: mvn package.

export jar

Manage Dependencies

You can work with JAR files directly without any build tools. Go to JAVA PROJECTS view, find the Referenced Libraries node and click the + icon:

Reference JAR Files

If you want to fine-tune this, go to settings.json and look for the java.project.referencedLibraries entry.

"java.project.referencedLibraries": [
    "library/**/*.jar",
    "/home/username/lib/foo.jar"
]

You can tell that the glob pattern is supported. And here's more - you can include/exclude certain files, and attach source JARs:

"java.project.referencedLibraries": {
    "include": [
        "library/**/*.jar",
        "/home/username/lib/foo.jar"
    ],
    "exclude": [
        "library/sources/**"
    ],
    "sources": {
        "library/bar.jar": "library/sources/bar-src.jar"
    }
}

Requirements

Settings

Setting Name Description Default Value
java.dependency.showMembers Specify whether to show the members in the Java Projects explorer. false
java.dependency.syncWithFolderExplorer Specify whether to sync the folder with Java Projects explorer when browsing files. true
java.dependency.autoRefresh Specify whether to automatically sync the change from editor to the Java Projects explorer. true
java.dependency.refreshDelay The delay time (ms) the auto refresh is invoked when changes are detected. 2000ms
java.dependency.packagePresentation Specify how to display the package. Supported values are: flat, hierarchical. flat
java.project.exportJar.targetPath The output path of export jar. When this setting is empty , a file explorer will pop up to let the user select the output location. ${workspaceFolder}/${workspaceFolderBasename}.jar

Contribution

Build

  • Prerequirement

    • Node.js
    • Java SDK 11 or above
  • Go to root folder:

npm install
npm run build-server

Telemetry

VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don't wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

vscode-java-dependency's People

Contributors

jdneo avatar cscherryy avatar yaohaizh avatar andxu avatar xqzlgy2 avatar vigilans avatar dependabot[bot] avatar flanker32 avatar eskibear avatar testforstephen avatar microsoftopensource avatar 0dind avatar estherperelman avatar jsoref avatar msftgits avatar microsoft-github-policy-service[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.