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

[Feature Request] Decompilation setting in vscode's settings.json #4616

Closed
lonix1 opened this issue Jun 15, 2021 · 6 comments
Closed

[Feature Request] Decompilation setting in vscode's settings.json #4616

lonix1 opened this issue Jun 15, 2021 · 6 comments

Comments

@lonix1
Copy link

lonix1 commented Jun 15, 2021

Decompilation support is available via omnisharp.json:

{
  "RoslynExtensionsOptions": {
    "enableDecompilationSupport": true,
  }
}

It was mentioned in various places this will be exposed by vscode's settings.json at some point. That would be much better.

As mentioned here:

This is currently the only way of enabling decompilation – in the future, the C# Extension for VS Code will also get its own extension-level setting, that you could just add into the VS Code settings directly without having to deal with omnisharp.json.

Apparently there is a blocking issue.

I couldn't find an issue tracking this feature, so I created this one. Hope that's okay.

@JoeRobich
Copy link
Member

@Ionix1 You can set "omnisharp.enableDecompilationSupport" to true in your VS Code preferences.

@filipw
Copy link
Contributor

filipw commented Jun 15, 2021

the setting was added after I wrote the post 😇

@lonix1
Copy link
Author

lonix1 commented Jun 16, 2021

In the JSON settings editor, when the "Workspace" (rather than "User") settings are open, that option isn't visible. So I missed it... 😄

Thanks guys!

@lonix1 lonix1 closed this as completed Jun 16, 2021
@lonix1
Copy link
Author

lonix1 commented Jun 16, 2021

BTW, it's one of the best features in the extension, in a long time. Well done, and thanks!

@lonix1
Copy link
Author

lonix1 commented Jun 18, 2021

Quick follow-up - I did something really dumb... 😆 🤡

I opened another workspace, saw the licence popup and accidentally clicked "No" instead of "Yes".

Is there a way to make that popup appear again so I can accept the licence?

@JoeRobich
Copy link
Member

From the command palette you can show the terms agreement again
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants