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
Turn off "restore" notifications? #193
Comments
The debugger shouldn't be downloaded for each project. Are you referring to the popup that asks if you want to add tasks.json and launch.json? |
This is the original bug OmniSharp/omnisharp-roslyn#504 |
Yes, that would be the bug it seems. Sorry, I guess that part was a pre-existing issue. I thought I was just going crazy. |
No worries. It's something I've heard a number of times. I'll look at improving that experience. I think we can do some things in the C# extension for VS Code to make it better, as well as improving the OmniSharp server itself. |
Hi @ciel, is this still an issue for you with the latest C# extension? |
Yes. It is such a huge issue that VSC is completely unusable. On Aug 27, 2016 5:52 AM, "Dustin Campbell" notifications@github.com wrote:
|
[EDIT] @DustinCampbell There is some discussion on Slack about the auto-restore notification again. Everyone there is in agreement that VS Code should have a setting that allows us to turn off the auto-restore notification. I'm surprised this wouldn't be fairly easy to pull off. Isn't it just a workspace setting (bool) and an
So are we talk'in about short-circuiting to avoid the listener here.
|
Where in Slack is this discussion happening? On the official OmniSharp Slack? I'd love to be a part of any discussion, or better yet, have the discussion here in the open. Oh, I agree too. It's just a matter of finding the time to get this feature done at the moment, with other priorities. It's pretty high on my list, but not the highest. I have a couple of thoughts.
I don't think the change you suggest is the right one. We shouldn't be killing the event based on an option, but rather providing smarter behavior when the event fires. |
It was on the aspnetcore Slack, and I mis-described it. It's was more of a "rant" among a couple of devs than a "discussion." I'm sure it will be great when restore is smarter and better. [EDIT] I mis-typed that --- I mean to say auto-restore notification. I just don't want to be told that a restore is needed. I'll know/trigger on my own would be best for me. I use my extension, Status Bar Tasks, and when I want a restore, I trigger it manually with one click in the status bar. I can't think of a single situation where I would want an automatic restore. I prefer to be able to configure Omnisharp with a workspace setting that permanently disables it. On the other hand and as I was saying to @shaunluttin, any of us can just clone the repo and make a version of this that does whatever we like, and I thank you, the Omnisharp team, and MS for making that possible. 👍 Based on your response, it seems like the winds are blowing in the direction of never having a permanent disable option for the notification, so let me ask this in case I decide to clone and hack: Would it be as simple as removing ...
... and the
... from |
Oh, I didn't say that I disagreed with offering a way to disable. I specifically said that I agreed. 😄 On disabling, yes, it's certainly possible to do it in the extension (I'm taking PRs BTW). However, I've been wondering if it's probably better done in OmniSharp itself. After all, why bother registering a bunch of FIleSystemWatchers and firing events that aren't going to get handled. |
@DustinCampbell I am the developer who started the rant about disabling the popup. Here are the things on my wish list:
Right now, the How can we close that without the mouse? How do we prevent it from arising in the first place? |
Sounds good. 😄 |
Regarding the last @DustinCampbell comment. I deleted the comment to which he replied, which asked about why it is called "auto-restore." |
@DustinCampbell Is there an existing keyboard shortcut to close those |
It is actually almost impossible to develop in Visual Studio Code without a mouse unless we restore first. That |
I'm not sure if there's a keyboard shortcut or not. That's just the standard VS Code UI for displaying an information message. |
Sorry guys ... lack of paying attention on my part when discussing: It's not auto-restore ... it's auto-notification that a restore is needed. I just don't need to be told that. Sorry again. |
@DustinCampbell Could you please invite me to the omnisharp-vscode channel on Slack. That way I can rant there instead. |
Link is here: https://goo.gl/Ovnqr1 |
A new (release)[https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.5-beta6] is ready which includes a |
I love the work you guys have done, and I am thankful that the extension tries to restore my dependencies - but is there a way to ask it to ... well, not?
It's a bit obtrusive to have it keep trying that constantly. Sometimes - actually most times - I need to do a restore when I'm ready to. I've had situations where I have stacks of 10 notifications keep pouring over the top of my screen trying to force me to restore my projects when that's just not what I want to do.
The same with the debugger. Can we set it to be downloaded and installed when we ask it to - instead of it always doing it for every project, automatically, the second it is opened? It makes it very hard to rapidly move between things, copy things out of old projects, etc. It's constantly doing things I'm really not asking it to do.
The text was updated successfully, but these errors were encountered: