microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
226 stars 11 forks source link

[SUGGESTION] Add a way to bypass login #877

Open iTrooz opened 8 months ago

iTrooz commented 8 months ago

Describe the feature you'd like

I've been doing Unity development with VSCode, so I installed the Unity extension, which depends on this extension. code-editing features seem to work well (e.g. intellisense, hovering on elements..), but this extension keeps prompting me to log-in a Microsoft account. I'd like a way to bypass that, to be able to use the extension without logging-in

Alternatives considered

No response

Environment Information

OS: Linux vscode version: 1.85.2 Extension version: v1.2.7

timheuer commented 8 months ago

Hi @iTrooz you can use the extension without logging in today. It does not block any functionality. It should only prompt once (notification window), but you would likely see the "(1)" in the Account section in the activity bar.

iTrooz commented 8 months ago

Hello ! Sorry to not have specified earlier, but that (1) notification in the Account section is precisely what bothers me.

I understand if this is not a priority since it's a pretty minor detail, but I'd like to clarify that this is what my issue is about

seantleonard commented 8 months ago

I noticed this too. It's an issue for me because the phrasing on the notification: "Sign in with Microsoft to use C# Dev Kit (1)" does not imply "It does not block any functionality.". It indicates that the extension is unusable unless I sign in.

Is the intent of the Microsoft sign in to "Register/activate your C# Dev Kit extension subscription benefit" ?

timheuer commented 8 months ago

Is the intent of the Microsoft sign in to "Register/activate your C# Dev Kit extension subscription benefit" ?

Yes, it's to issue/validate the license that you have (yes there is a free license).

iTrooz commented 8 months ago

I'm not sure I understand the purpose of the notification

Since the extension already fully works out of the box, I am assuming that we are implicitly granted the "free" licence here (on the marketplace page of the extension) (please correct me if wrong ?)

In that case, I don't think it should be a problem to add a way to remove the notification.

I propose, if possible, to add a setting for it, or to add a popup (the ones that show in the lower right corner) when installing the extension that say "Do not prompt for login again"

What do you think ?