Skip to content

Conversation

@testforstephen
Copy link
Contributor

Signed-off-by: Jinbo Wang jinbwan@microsoft.com

This is the utility for the PR microsoft/vscode-java-debug#561

public static final String VALIDATE_LAUNCHCONFIG = "vscode.java.validateLaunchConfig";
public static final String RESOLVE_MAINMETHOD = "vscode.java.resolveMainMethod";
public static final String INFER_LAUNCH_COMMAND_LENGTH = "vscode.java.inferLaunchCommandLength";
public static final String DETECT_PREVIEW_FLAG = "vscode.java.detectEnablePreviewFeaturesFlag";
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this could be a more common API about fetch settings.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The new API will return the java project settings map, and delay the check to the client side.

Copy link
Contributor

Choose a reason for hiding this comment

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

This line is not necessary now.

Copy link
Contributor

@yaohaizh yaohaizh left a comment

Choose a reason for hiding this comment

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

Could we provide a more generic version of API

@testforstephen testforstephen changed the title Add utility to check whether the project enables java 12 preview flag Add utility to get java project settings Apr 12, 2019
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
@testforstephen testforstephen changed the title Add utility to get java project settings Add utility to check java project settings Apr 15, 2019
@testforstephen testforstephen merged commit 81bdeb2 into master Apr 15, 2019
@testforstephen testforstephen deleted the jinbo_java12fix branch April 15, 2019 05:31
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.

3 participants