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

The "--show-private" option does not exist. #49

Open
Morgy93 opened this issue Feb 25, 2020 · 10 comments
Open

The "--show-private" option does not exist. #49

Morgy93 opened this issue Feb 25, 2020 · 10 comments

Comments

@Morgy93
Copy link

Morgy93 commented Feb 25, 2020

I'm always getting the following error upon startup of VSCode:

The "--show-private" option does not exist.  
                                               

debug:container [--show-arguments] [--show-hidden] [--tag TAG] [--tags] [--parameter PARAMETER] [--parameters] [--types] [--env-var ENV-VAR] [--env-vars] [--format FORMAT] [--raw] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<name>]

Doesn't matter if workspace within symfony project or not.

@georgi-kirow
Copy link

georgi-kirow commented Mar 15, 2020

In your Extension directory find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js" on row 26 replace --show-private to --show-hidden. Then restart VSC. Or leave it empty - ""

@ashilfree
Copy link

i don't find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js"

@Morgy93
Copy link
Author

Morgy93 commented Mar 24, 2020

@ashilfree

i don't find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js"

There's a .vscode/extensions folder in your home directory.
For example on Windows: %userprofile%\.vscode\extensions or if you're on Linux remote like WSL: ~/.vscode-server/extensions/

@leiflundberg
Copy link

@georgi-kirow The above steps worked flawlessly. Cheers

@teol
Copy link

teol commented Feb 9, 2021

Hi,

Is there a way to make it work on both Symfony 4 and Symfony 5 ?

Thank you

@W2AlharbiMe
Copy link

W2AlharbiMe commented Jan 26, 2022

greetings, i do have this issue too

The "--show-private" option does not exist. debug:container [--show-arguments] [--show-hidden] [--tag TAG] [--tags] [--parameter PARAMETER] [--parameters] [--types] [--env-var ENV-VAR] [--env-vars] [--format FORMAT] [--raw] [--deprecations] [--] [<name>]

symfony version: 6.0.2
cli version: 5.2.2
operating system: linux(arch)
code version: 1.62.0

In your Extension directory find "thenouillet.symfony-vscode-1.0.2\out\symfony\provider\ConsoleContainerProvider.js" on row 26 replace --show-private to --show-hidden. Then restart VSC. Or leave it empty - ""

i can verify that this have fixed the issue

@rogervila
Copy link

It also happens on Symfony 6.1 with package version 1.0.2

@ili101
Copy link

ili101 commented Aug 2, 2023

This version worked for me https://github.com/QISCT/symfony-vscode/releases/tag/v1.0.3
@QISCT do you guys maybe up to publishing the version to the VS Code Extension Marketplace? (if/until there will be a release here)

@nacesprin
Copy link

Will this be fixed?

@nacesprin
Copy link

Will be fixed on Oct 24?

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

No branches or pull requests

9 participants