Skip to content

Add outlining spans for call expression or arrow body #39109

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

Merged
merged 3 commits into from
Jun 30, 2020

Conversation

Kingwl
Copy link
Contributor

@Kingwl Kingwl commented Jun 17, 2020

Fixes #38597

@Kingwl
Copy link
Contributor Author

Kingwl commented Jun 17, 2020

@typescript-bot pack this.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 17, 2020

Heya @Kingwl, I've started to run the tarball bundle task on this PR at 3b8ad5c. You can monitor the build here.

@Kingwl
Copy link
Contributor Author

Kingwl commented Jun 17, 2020

@typescript-bot pack this.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 17, 2020

Heya @Kingwl, I've started to run the tarball bundle task on this PR at 98a74dd. You can monitor the build here.

Copy link
Member

@DanielRosenwasser DanielRosenwasser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do constructs "play together" in this case? @jessetrinity

For example, what if you have a multi-line call in a multi-line arrow function? Does Roslyn have to do anything special here @CyrusNajmabadi?

@Kingwl
Copy link
Contributor Author

Kingwl commented Jun 23, 2020

The play together problem also existed in not only call but also another syntax. For example, multi-line tagged template in a multi-line arrow function. And I don't think we have something to handle them.

@CyrusNajmabadi
Copy link
Contributor

Nested outlining spans are the normal case (think about a call, inside a method, inside a class, inside a namespace). So it just falls out naturally.

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

Successfully merging this pull request may close these issues.

Support fold regions for lambda without block
4 participants