[DRAFT] Add Roslyn lookup based on metadata #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is my very first open-source contribution, so I apologise for any mistakes with this PR or my approach to contributing!
This is still in draft (there is a lot of missing parts -- see the Issues todo-list below)
Overview:
This PR should add the generation of temporary files based on metadata. The goal is to have "jump to definition" (ctrl + click) feature not only for in-solution classes/methods (that's already implemented), but also for built-in methods in the framework or language. This adds that.
It is only a concept and a draft. Right now it works kind of correctly. When testing with ASP.Net framework (building APIs), I can jump into generated definition of built-in methods, such as

.MapHub<T>(string route):When

CTRL+clickon.MapHub, it generates a new temporary file and opens it in the editor. Unfortunately, the highlighter breaks right now, and it does not seem to work for built-in classes, such as Exceptions, or Task, etc. The result looks like this.Also, I apologise for the foreign language; the compiler seems to be generating parts of the comments in the system language, I guess?
Issues Todo-list: