Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Moniker #63

Merged
merged 18 commits into from
Sep 4, 2020
Merged

Support Moniker #63

merged 18 commits into from
Sep 4, 2020

Conversation

CsCherrYY
Copy link
Contributor

This PR is to support monikers and packageInfomation in LSIF-Java. For more information, Please see
https://microsoft.github.io/language-server-protocol/specifications/lsif/0.5.0/specification/

1. Merge PackageInformation Maps in Repository
2. Use `org.apache.maven.scm.provider.ScmUrlUtils` to resolve scm
3. Support Both Java8- and Java9+
4. Rename `project` moniker to `group` moniker
5. Rewrite some codes
1. handle together for different JDK distributions
2. Use `IMaven.readProject` to get effective pom information
@CsCherrYY CsCherrYY requested a review from jdneo August 21, 2020 09:01
1. Remove useless `ProjectBuildTool` and unified all the manager to `maven`
2. Rewrite logic of finding pom and export monikers of maven project.
3. other fix
@CsCherrYY CsCherrYY requested a review from jdneo August 25, 2020 06:32
1. Use binding to get modifiers
2. Resolve visibility of enum
3. clean and enhance codes
@CsCherrYY CsCherrYY requested a review from jdneo August 27, 2020 09:48
1. Remove bindingsRecovery
2. Divides read and write in packageinformation
3. Fix Enum modifier bug
4. Fix an NPE bug when the connection of a scm is null
@CsCherrYY CsCherrYY requested a review from jdneo August 31, 2020 08:47
1. Adjust assignment of monikerKind
2. Resolve comments
1. Extract a method to initialize manager
2. Extract a method to resolve a SimpleName/SimpleType
3. apply other comments
@CsCherrYY CsCherrYY requested a review from jdneo September 1, 2020 07:46
Rewrite resolve logics
1. Move `resolveMoniker` to SymbolData.java
2. NULL check once have gotten values
@CsCherrYY CsCherrYY requested a review from jdneo September 2, 2020 07:23
Copy link
Member

@jdneo jdneo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdneo jdneo merged commit 4b47502 into microsoft:master Sep 4, 2020
@jdneo jdneo added this to the 0.4.0 milestone Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants