Dehka
Dehka

Reputation: 21

How to add comments in dnSpy?

Is there a way to add comments in the decompiled window of dnSpy ?

For example, a comment before a function as it is possible to do it with '/' in Ida.

I tried to use several shortcuts but none worked.

Upvotes: 1

Views: 615

Answers (1)

user21148656
user21148656

Reputation:

Not the best solution, the only thing that I found excluding recompiling the source code(rmb in the desired line->edit class or function) with your comments and exporting the viewed executable as a project(File->Export to Project) is adding a bookmarks, you can add them with Ctrl+K+K hotkey and view/edit them using Ctrl+W

Upvotes: 0

Related Questions