# Revert outline summarization \(\#3114\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0e537cced47b1ea83cde856fc6d01137330277b0

Requested commit: 0e537cced47b1ea83cde856fc6d01137330277b0

Commit: 0e537cced47b1ea83cde856fc6d01137330277b0

Tree: cf4f3c0e783a12fc907875e15804d7417e7f46ba

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Revert outline summarization (#3114)

This pull request essentially reverts #3067: we noticed that only using
the function signatures produces far worse results in codegen, and so
that feels like a regression compared to before. We should re-enable
this once we have a smarter approach to fetching context during codegen,
possibly when #3097 lands.

As a drive-by, we also fixed a longstanding bug that caused codegen to
include the final line of a selection even if the selection ended at the
start of the line.

Ideally, I'd like to hot fix this to preview so that it goes to stable
during the weekly release.

/cc: @KCaverly @nathansobo 

Release Notes:

- N/A
```

## Parents

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

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

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