Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Joseph Lyons
d2d96b1ca6 Fix top-level header in discord webhook action 2022-11-16 20:03:01 -05:00
Julia
5bfeff02ea Merge pull request #1875 from zed-industries/fix-code-actions-regression
Use `EMPTY` code action kind to get more RA actions without breaking TS
2022-11-16 14:32:03 -08:00
Max Brunsfeld
88bae0e6d9 v0.64.x stable 2022-11-16 14:22:06 -08:00
Nate Butler
14554c80e7 Merge pull request #1868 from zed-industries/readd-search-match-highlight
Update search match highlight and occurrence style
2022-11-09 17:07:20 -08:00
Max Brunsfeld
f1e2bdfee2 v0.64.x preview 2022-11-09 13:18:12 -08:00
5 changed files with 17 additions and 9 deletions

View file

@ -17,7 +17,7 @@ jobs:
Restart your Zed or head to https://zed.dev/releases to grab it.
```md
### Changelog
# Changelog
${{ github.event.release.body }}
```

View file

@ -3573,7 +3573,13 @@ impl Project {
partial_result_params: Default::default(),
context: lsp::CodeActionContext {
diagnostics: relevant_diagnostics,
only: None,
only: Some(vec![
lsp::CodeActionKind::EMPTY,
lsp::CodeActionKind::QUICKFIX,
lsp::CodeActionKind::REFACTOR,
lsp::CodeActionKind::REFACTOR_EXTRACT,
lsp::CodeActionKind::SOURCE,
]),
},
})
.await?

View file

@ -1 +1 @@
dev
stable

View file

@ -152,10 +152,10 @@ export default function editor(colorScheme: ColorScheme) {
widthEm: 0.16,
cornerRadius: 0.05,
},
documentHighlightReadBackground: colorScheme.ramps
.neutral(0.5)
.alpha(0.2)
.hex(), // TODO: This was blend
/** Highlights matching occurences of what is under the cursor
* as well as matched brackets
*/
documentHighlightReadBackground: withOpacity(foreground(layer, "accent"), 0.1),
documentHighlightWriteBackground: colorScheme.ramps
.neutral(0.5)
.alpha(0.4)

View file

@ -1,5 +1,6 @@
import { ColorScheme } from "../themes/common/colorScheme";
import { background, border, text } from "./components";
import { withOpacity } from "../utils/color";
import { background, border, foreground, text } from "./components";
export default function search(colorScheme: ColorScheme) {
let layer = colorScheme.highest;
@ -26,7 +27,8 @@ export default function search(colorScheme: ColorScheme) {
};
return {
matchBackground: background(layer), // theme.editor.highlight.match,
// TODO: Add an activeMatchBackground on the rust side to differenciate between active and inactive
matchBackground: withOpacity(foreground(layer, "accent"), 0.4),
tabIconSpacing: 8,
tabIconWidth: 14,
optionButton: {