Skip to content

Invalid reaction on adding some flags in Noir: Nargo Flags #79

Open
@aleee-ta

Description

Aim

Trying to add flag --print-acir (for example) in Noir: Nargo Flags field and see effect of this flag:
image

Expected Behavior

See effect of this flag (fixed v):
image

Bug

In current Marketplace version if I add flag in Noir: Nargo Flags I can see it:
image

To Reproduce

//I have described my steps to reproduce the behavior

  1. Install nargo via noirup, code via apt
  2. Create project via nargo new
  3. Download extension in marketplace
  4. Open folder of your project in vscode
  5. Open extension settings
  6. Choose 'messages' in field Noir > Trace: Server to check commands
  7. Open Output in bottom panel
  8. Write in Noir: Nargo flags some flags
  9. Don't forget choose second instance of Noir Language Server in Output panel
  10. Enjoy
    image

Environment

OS: VM Lubuntu, WSL Ubuntu, etc
Ext. version: 0.0.12

Additional Context

No response

Would you like to submit a PR for this Issue?

Maybe

Support Needs

I think this bug from getLspCommand function from client.ts file, because of if I delete some strings, which find flags and insert them to args (nargo lsp don't have flags exclude --help), bug disappear.

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

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions