Coder Social home page Coder Social logo

lsif-java's Introduction

Language Server Indexing Format Implementation for Java

Build status

Language Server Index Format

The purpose of the Language Server Index Format (LSIF) is to define a standard format for language servers or other programming tools to dump their knowledge about a workspace. This dump can later be used to answer language server LSP requests for the same workspace without running the language server itself. Since much of the information would be invalidated by a change to the workspace, the dumped information typically excludes requests used when mutating a document. So, for example, the result of a code complete request is typically not part of such a dump.

A first draft specification can be found here.

Requirement

JDK 17 is required to build or run this tool.

Quickstart

  • Go to the build path:

    > cd cmd

  • Install the required dependencies to build the Java Language Server Indexer:

    > npm install

  • Build the Java Language Server Indexer:

    > npm run build

  • Run the tools:

    > ./index.bat "-Drepo.path=<your java project path>"

Note: More information can be found here.

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute for more details.

Changelog

See Changelog

License

Licensed under the EPL 1.0 License

lsif-java's People

Contributors

akaroml avatar cscherryy avatar dependabot[bot] avatar jdneo avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar yaohaizh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lsif-java's Issues

Combining efforts with sourcegraph/lsif-java

Hey @jdneo πŸ‘‹ Sourcegraph has been prototyping an LSIF indexer for Java https://github.com/sourcegraph/lsif-java using JavaParser, and I'm curious about the pros/cons of using Eclipse JDT compared to JavaParser. It'd be great to combine efforts here!

From my brief research:

What are your near/long-term plans for this indexer? We're interested in contributing πŸ˜„

Getting error while running index.bat file

Describe the bug

I interpret the content in index.bat to index.sh shell as a workaround.When I execute this shell, it prompts that the jar file is missing.
It seems that there is no file /cmd/repository/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar in the repository.
image

index don't work

Describe the bug
I execute in the maven base path, but it seems that only the basic information of the directory is returned, and there is no index of the code.
image

Do I need to change any configuration?
To Reproduce

Project link which can reproduce the bug:

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click/Hover on '....'
  3. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

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.