Vscode-project-manager: "projectManager.treeview.visible" setting no longer works

Created on 3 Apr 2019  路  11Comments  路  Source: alefragnani/vscode-project-manager

With the latest release, I have the project manager icon showing in the side bar despite having "projectManager.treeview.visible": false in my settings.json. The setting still seems to exist however, there's no "unknown setting" warning.

A possible workaround is to uncheck "Project Manager" in the context menu.

bug side bar

All 11 comments

Sorry about that. 馃槥 馃槥

I really forgot to test that scenario. I hope to find a way which doesn鈥檛 undo #264 .

Stay tuned

Disabling it from the context menu seems to serve more or less the same purpose, so maybe it would be fine to just remove the setting? Perhaps I'm missing a use case though.

If I remember correctly, removing from the context menu doesn鈥檛 work between sessions. Every time you restart VS Code will bring back the icon. Unless, this has been fixed in recent releases.

Doesn't seem to be an issue for me.

The only potential issue I can think of is if you use the VSCode settings sync extension to sync across multiple computers. Then you'd probably have to disable the view once on each, instead of that being covered by the setting.

Btw, in case you do decide to remove setting, you can attach a deprecation warning to it along the lines of "disable in context menu instead".

I just confirmed that disabling/hiding the icon from the Activity Bar does work between sessions 馃帀. I'm really happy to see this has been fixed.

So, I'm following your suggestion,. removing the projectManager.treeview.visible setting, and adding a _deprecation warning_.

Thank you

Hm.. actually, the project manager side bar item just reappeared for me again out of nowhere. Not sure what triggered it, perhaps the new VSCode update? :)

I just found the issue that _fixed_ the behavior that I commented (https://github.com/Microsoft/vscode/issues/60097)

I installed both updates (stable and insiders) and the side bar icon didn't show up. Using Win10 BTW.

Maybe you are experiencing a regression in https://github.com/Microsoft/vscode/issues/60097?

I don't think so, it doesn't reappear after a reload, or even a complete restart of VSCode (all instances closed). Like I said, no idea what triggered it. :(

Oh, by "add a deprecation warning", I meant using the official mechanism for that. ;)

"properties": {
    "projectManager.treeview.visible": {
        "type": "boolean",
        "deprecationMessage": "If you don't want to see the Project Manager icon in the Activity Bar, right-click and uncheck it from the context menu."
    }
}

There is an _official mechanism_? 馃槷

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gama11 picture Gama11  路  6Comments

dobbbri picture dobbbri  路  5Comments

Idealien picture Idealien  路  4Comments

theAkito picture theAkito  路  3Comments

jrial picture jrial  路  4Comments