Commit Graph
31406 Commits
Author SHA1 Message Date
Antonio Scandurra ed109c7dfa Don't borrow window state mutably until we need to invoke resize callback 2022-07-13 10:38:34 +02:00
Antonio Scandurra 3b66c45a34 Ensure no borrows are held when activating window or creating prompts 2022-07-13 10:37:55 +02:00
Antonio Scandurra f2f12c2b11 Drop window borrow before calling makeKeyAndOrderFront
We're seeing some stack traces where calling `makeKeyAndOrderFront`
could invoke `setFrameSize`, which is causing a double borrow.
2022-07-13 10:19:46 +02:00
Isaac Clayton 39356dac2b Add note about WebAssembly Interface Types. 2022-07-13 09:43:12 +02:00
Isaac Clayton 3a40ca68ba Fix #1335, rerun plugin build step only if non-volatile directories in plugin change 2022-07-13 09:04:48 +02:00
Max Brunsfeld e3c43632e8 Ensure settings global is initialized immediately 2022-07-12 18:43:00 -07:00
Max Brunsfeld 3a7157e5de Merge pull request #1336 from zed-industries/cancel-rename-restore-highlights
Restore document highlights when canceling a rename
2022-07-12 18:35:29 -07:00
Mikayla Maki 18e06b1365 Merge pull request #1338 from zed-industries/terminal-launch-bug
Terminal launch bug
2022-07-12 18:06:18 -07:00
Mikayla Maki 4c90e194f5 Added a bit of documentation for the working directory calculation 2022-07-12 17:49:14 -07:00
Mikayla Maki 6cc3e868ba Fixes terminal launch issues and adds tests for queries 2022-07-12 17:45:11 -07:00
Max Brunsfeld 4b232f8217 Simplify setting merging, fix ignored hard_tabs setting 2022-07-12 17:43:00 -07:00
Max Brunsfeld 7aeefd0b9d Restore document highlights when canceling a rename 2022-07-12 17:01:18 -07:00
Max Brunsfeld fad4365565 Fix association of 'json' lsp language id with JSON language 2022-07-12 15:43:59 -07:00
Max Brunsfeld 958d930141 Pre-populate settings.json when initializing it from Zed 2022-07-12 14:19:36 -07:00
Max Brunsfeld d5ac9744c6 Add application menu item to open the default settings 2022-07-12 13:38:24 -07:00
Max Brunsfeld 0cefc70f70 Adjust settings schema generation to reflect rename
Also, simplify that code.
2022-07-12 12:19:01 -07:00
Max Brunsfeld aee4f25a7a Rename LanguageSettings -> EditorSettings 2022-07-12 11:42:43 -07:00
Max Brunsfeld 7248048413 Move all default settings from source code into the JSON file 2022-07-12 11:35:19 -07:00
Max BrunsfeldandAntonio Scandurra 88bd8a3dde Start moving default settings into a JSON file
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2022-07-12 11:00:02 -07:00
Isaac Clayton 01598d6a6d Implement periodic yielding using epoch_deadline_async_yield_and_update 2022-07-12 17:07:33 +02:00
Isaac Clayton 5da4ee7599 Fix typo 2022-07-12 16:39:04 +02:00
Isaac Clayton 8d27d87f8a Start working on plugin epoch async yield 2022-07-12 16:32:41 +02:00
Isaac Clayton 4ddb405c82 Fix more typos 2022-07-12 13:51:13 +02:00
Isaac Clayton a82974894d Fix typo 2022-07-12 13:48:36 +02:00
Isaac Clayton 5d99623fdf Write about how plugins work and how to use them 2022-07-12 13:45:22 +02:00
Antonio Scandurra 810a5d5318 Merge pull request #1252 from zed-industries/plugin
Language Server WebAssembly Plugin Integration (Part 2)
2022-07-12 11:04:20 +02:00
Isaac ClaytonandAntonio Scandurra 2312266afa Rewrite test_managing_language_servers to add languages after buffers are open
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2022-07-12 10:25:11 +02:00
Isaac Clayton 99f67fde8c Rename LspAdapterTrait to LspAdapter and LspAdapter to CachedLspAdapter 2022-07-12 09:29:38 +02:00
Antonio Scandurra 985d005da4 Don't prompt guest to save when closing window after disconnection 2022-07-12 09:05:39 +02:00
Max Brunsfeld 8d8c37f95c In Help menu, replace 'zed.dev' item with 'Documentation' 2022-07-11 13:00:37 -07:00
Isaac Clayton be1a38249d Make plugin build profile contingent on host build profile 2022-07-11 21:13:52 +02:00
Isaac Clayton b19e930154 Remove spurious warnings 2022-07-11 18:36:33 +02:00
Isaac Clayton 02f225d251 Add wasm32-wasi to CI workflow 2022-07-11 18:29:27 +02:00
Isaac Clayton ea673aad1a Add comment linking engine creating code together 2022-07-11 18:20:50 +02:00
Isaac Clayton 403b00633e Remove stale label_for_completion impl from JSON plugin 2022-07-11 18:01:12 +02:00
Isaac Clayton ea9b20f31d Convert rust lsp tests from sync #[test] to async #[gpui::test] 2022-07-11 16:55:08 +02:00
Isaac Clayton cf377d57e7 Remove stale commented code 2022-07-11 16:50:49 +02:00
Isaac Clayton 6c3fedbdcf Convert go lsp tests from sync #[test] to async #[gpui::test] 2022-07-11 16:47:21 +02:00
Isaac Clayton e069fa60ad Remove json host-side implementation, rely on plugin implementation 2022-07-11 16:41:30 +02:00
Isaac Clayton 617068fe7c Fix minor issues in plugin and project raised during review 2022-07-11 16:40:12 +02:00
Isaac Clayton 030587e61b Restore main version of Project::symbols and convert to async 2022-07-11 16:22:58 +02:00
Isaac Clayton faacf63f39 Restore main version of Project::completions and convert to async 2022-07-11 15:55:07 +02:00
Isaac Clayton 6a1f649d6a Fix minor issues pointed out in the review 2022-07-11 15:54:03 +02:00
Isaac Clayton aa6fc12980 Remove the blocking call and inline on_lsp_diagnostics_published 2022-07-11 12:11:00 +02:00
Isaac Clayton b1bb61a83f More cleanup during review 2022-07-11 10:56:21 +02:00
Isaac Clayton bcac06aa90 Remove unused struct fields 2022-07-11 10:39:14 +02:00
Isaac Clayton 49adbc124e Minor fixes found during review 2022-07-11 10:37:51 +02:00
Keith Simmons cfd463fde0 Merge pull request #1315 from zed-industries/fix-terminal-modal-panic
Fix Terminal Panic
2022-07-08 17:26:56 -07:00
Max Brunsfeld a71a78fc7f Merge pull request #1314 from zed-industries/code-action-with-edit-and-command
Run code action's commands if their edits are empty
2022-07-08 16:58:12 -07:00
Keith Simmons f6fe8523a0 Merge pull request #1311 from zed-industries/fix-visual-paste
Fix visual paste
2022-07-08 16:54:10 -07:00