Skip to content

Sending parameters to /autocomplete endpoint #228

Open
@tavisca-ysant

Description

@tavisca-ysant

As per the test cases for Autocomplete, we need a multiline string as input. However, I am facing issues in sending multiline WordToComplete. PFB json object:

{ "WordToComplete":"public class A { public A() { string s; s.Leng$; } }", "ForceSemanticCompletion":"true", "WantDocumentationForEveryCompletionResult":"true", "WantImportableTypes":"true", "WantMethodHeader":"true", "WantSnippet":"true", "WantReturnType":"true" }

Any help would be appreciated. I have already tried using \n and \n but with no success, it still gives as line = 0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions