Commit Graph
31406 Commits
Author SHA1 Message Date
Antonio ScandurraandNathan Sobo 1be4549c4e Send extension counts when metadata changes
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-06-29 17:58:11 +02:00
Antonio ScandurraandNathan Sobo e70d1e6bdd Skip ignored entries when recording worktree extensions
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-06-29 17:00:16 +02:00
Antonio ScandurraandNathan Sobo 1ada2ebacb Record worktree extensions every 5 minutes
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-06-29 16:58:19 +02:00
Antonio ScandurraandNathan Sobo 723c4f5606 Maintain extension counts on local worktrees
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-06-29 16:38:24 +02:00
Antonio Scandurra 6ea7ada031 Don't share a project unless it's online and we're allowing a request 2022-06-29 15:16:55 +02:00
Antonio Scandurra 2bff764afa Register project activity for offline projects as well 2022-06-29 14:55:04 +02:00
Antonio Scandurra b3e73bb201 Increase coalesce threshold in Db::get_user_activity_timeline 2022-06-29 14:26:02 +02:00
Mikayla Maki b0432bbc63 Removed dead clear code 2022-06-28 18:45:26 -07:00
Mikayla Maki 3cdc64fc6f Fixed focus issues with scrolling and input 2022-06-28 18:28:13 -07:00
Mikayla Maki 23d102c00f Added theme support 2022-06-28 17:07:18 -07:00
Mikayla Maki 9f1399b185 Fixed scrolling and cursor location 2022-06-28 15:45:27 -07:00
Mikayla Maki b0a1555a7d First bits of polish 2022-06-28 15:45:27 -07:00
Mikayla Maki 4c32811f35 Working on selection 2022-06-28 15:45:27 -07:00
Mikayla Maki aa30498bd5 working on selection and scrolling in terminals 2022-06-28 15:45:27 -07:00
Mikayla Maki e575c72699 Removed final stuff from theme.rs 2022-06-28 15:45:27 -07:00
Mikayla Maki 8225416433 Forgot to commit last night 2022-06-28 15:45:27 -07:00
Mikayla Maki d3e6ce77bd Finally on solid conceptual ground, able to move ahead confidently with Alacritty code 2022-06-28 15:45:27 -07:00
Max Brunsfeld 04d2c7f36a Add rest API for user activity timeline 2022-06-28 15:40:48 -07:00
Max Brunsfeld 9d3cddede7 🎨 Tweak some names dealing with user activity
* Rename `project_activity_summary` to `top_users_activity_summary`
to make clearer the distinction between it and the per-user summary.
* Rename `user_activity_summary` to `user_activity_timeline`, since
its output is structured a bit differently than the courser-grained
"summary" returned by the top-user query.
* Rename `ActivityDuration` -> `ActivityPeriod`
2022-06-28 15:37:56 -07:00
Antonio ScandurraandMax Brunsfeld 0f4d80e35a Implement Db::summarize_user_activity
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-06-28 15:11:34 -07:00
Max Brunsfeld 7aaf72b228 0.42.0 2022-06-28 14:33:19 -07:00
Keith Simmons 15dcc4323a Merge pull request #1254 from zed-industries/command-palette-filter
Command palette filter
2022-06-28 14:31:21 -07:00
Max Brunsfeld ebb0b332d2 Merge pull request #1235 from zed-industries/diagnostics-in-hidden-worktrees
Allow diagnostics to be published for hidden worktrees
2022-06-28 14:29:41 -07:00
Max Brunsfeld 3973098faf Exclude hidden worktrees from project's diagnostic summaries 2022-06-28 14:23:24 -07:00
Keith Simmons db77b1e776 add test for filter 2022-06-28 13:45:34 -07:00
Keith Simmons 320cb7d94d Add command palette filter global and update it when vim mode is enabled/disabled 2022-06-28 13:35:43 -07:00
Max Brunsfeld 3f4c0add6a Allow diagnostics to be published for hidden worktrees 2022-06-28 13:31:04 -07:00
Max Brunsfeld d9de9f4afa In most languages, use prev non-empty line as basis for preserving indent 2022-06-28 12:21:54 -07:00
Antonio Scandurra 99ccd62728 v0.41.0 2022-06-28 11:21:06 +02:00
Antonio Scandurra d158356381 Merge pull request #1247 from zed-industries/ignore-non-created-progress-tokens
Ignore tokens that were not created via `WorkDoneProgressCreate`
2022-06-28 10:14:42 +02:00
Antonio Scandurra a6c1e9b9ff Merge pull request #1246 from zed-industries/python-autoindent
Fix Python auto-indent using new auto-indent features
2022-06-28 10:14:22 +02:00
Antonio Scandurra 7787ac3b6c Ignore tokens that were not created via WorkDoneProgressCreate
With the new version of rust-analyzer, we were seeing stray `WorkDoneProgress::End`
messages that create an imbalance in the `pending_diagnostic_updates` that never
resolves. This was causing the diagnostic status bar item to never update because
we wouldn't emit `DiskBasedDiagnosticsStarted` nor `DiskBasedDiagnosticsFinished`.

This commit fixes the above situation by only acknowledging progress report for tokens
that have explicitly been created via the `WorkDoneProgressCreate` request, as stated
by the protocol.

In addition to that, we are replacing the `pending_diagnostic_updates: isize` with
a `has_pending_diagnostic_updates: bool`. We added it at some point to prevent a similar
issue where we would observe begin/end reports in a seemingly random order, which would cause
us to permanently display a `checking...` message in the status bar. I believe this commit
fixes that as well because the `isize` was just a less general solution for the same
underlying issue. As the protocol states: "the token provided in the create request should
only be used once (e.g. only one begin, many report and one end notification should be sent
to it)."
2022-06-28 10:08:43 +02:00
Antonio Scandurra 4a0df2dcae Merge pull request #1241 from zed-industries/reopen-closed-item
Introduce `pane::ReopenClosedItem` bound to `cmd-shift-t`
2022-06-28 08:09:03 +02:00
Antonio Scandurra 03ce0f633f 💄 2022-06-28 08:04:39 +02:00
Max Brunsfeld 7610a6a72d Add new indentation features to support Python 2022-06-27 22:34:14 -07:00
Keith Simmons 38c6b275a8 add hover popover setting 2022-06-27 16:21:22 -07:00
Keith Simmons 72723ce560 Address hover panic and add hint to install go when language server failed to install 2022-06-27 15:48:15 -07:00
Keith Simmons ffb933f79a Merge pull request #1237 from zed-industries/jump-to-definition
Mouse jump to definition
2022-06-27 15:20:07 -07:00
Max Brunsfeld 51a260a7b3 Upgrade Tree-sitter, Tree-sitter-python 2022-06-27 15:12:31 -07:00
Keith Simmons 98c942fa28 bump protocol version and fix panic from storing display points instead of anchors 2022-06-27 15:10:36 -07:00
Keith Simmons 859579f85f Fix usage of existing definitions 2022-06-27 10:07:44 -07:00
Antonio Scandurra 677db5fcd1 Add test for reopening closed items 2022-06-27 17:59:25 +02:00
Antonio Scandurra e8aa673c39 Introduce pane::ReopenClosedItem bound to cmd-shift-t 2022-06-27 17:44:33 +02:00
Antonio Scandurra faf645bbe8 Don't stop scanning directory if reading one of the children errors 2022-06-27 08:40:37 +02:00
Keith Simmons 895c185326 Change mouse cursor when link is visible 2022-06-24 21:55:57 -07:00
Keith Simmons 4839b4aa54 fix rebase merge error 2022-06-24 15:11:57 -07:00
Keith Simmons a76be2126c working jump to definition with tests 2022-06-24 15:09:31 -07:00
Keith Simmons b2c6087d10 Working underline based on symbol origin 2022-06-24 15:05:35 -07:00
Keith Simmons 3586b6459a wip 2022-06-24 15:03:24 -07:00
Keith Simmons 9efa2c61f7 wip 2022-06-24 15:03:24 -07:00