# leverage file outline and selection as opposed to entire file \(\#3040\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2f368de3978a4eee0f6a63794f80b8316c0386d2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2f368de3978a4eee0f6a63794f80b8316c0386d2

Requested commit: 2f368de3978a4eee0f6a63794f80b8316c0386d2

Commit: 2f368de3978a4eee0f6a63794f80b8316c0386d2

Tree: 409165df607aa7fdf2a1dffc42f31da389a723ad

Author: Kyle Caverly

Committer: GitHub

## Message

```
leverage file outline and selection as opposed to entire file (#3040)

Transition generate prompt for inline assist to leverage outline as
opposed to full file.
This enables, us to leverage the inline assist for large files.

Release Notes:

- Change inline assist to use tree-sitter based outlines for code
generation instead of full files
```

## Parents

- [ecb037fc0e80d1f373e536ed3b49d70c8ff4edf1](https://git.cafe/gitcafe/zed/commit/ecb037fc0e80d1f373e536ed3b49d70c8ff4edf1?format=markdown)

- [650a160f04cabdbb7e21faf047fbe39dd071dd4f](https://git.cafe/gitcafe/zed/commit/650a160f04cabdbb7e21faf047fbe39dd071dd4f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2f368de3978a4eee0f6a63794f80b8316c0386d2?format=markdown)
