-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Improve symbol provider #622
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
Improve symbol provider #622
Conversation
patrys
commented
Jan 5, 2017
•
edited
Loading
edited
- Ignore symbols from external files (this confuses other extensions)
- Provide parent scope name where available
- Provide correct ranges for symbols (including entire scopes for classes, methods and functions - this makes the GitLens extension work much better)
} | ||
|
||
public startExistingKernel(language: string, connection, connectionFile): Promise<Kernel> { | ||
throw new Error('Start Existing Kernel not implemented'); | ||
} | ||
|
||
public startKernel(kernelSpec: KernelspecMetadata, language: string): Promise<Kernel> { | ||
public async startKernel(kernelSpec: KernelspecMetadata, language: string): Promise<Kernel> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry still away on holidays. I can see that you have also attempted to clean up some of the code by replacing promises with async, in totally unrelated code. Wouldn't it be better to introduce such clean up in a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would! The thing is I started with changes to symbol provider but soon discovered that the test suite no longer passes even on master. I'll try to split my changes into two PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I need to fix some test issues, looks like the factoring isn't working anymore. Similar issues have Been reported by users too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.