Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | flush writes on force quit (#4397) | Skyler Hawthorne | 2022-10-21 |
| | | | | | | When force quitting, we need to block on the pending writes to ensure that write commands succeed before exiting, and also to avoid a crash when all the views are gone before the auto format call returns from the LS. | ||
* | Autosave all when the terminal loses focus (#3178) | Charlie Groves | 2022-10-21 |
| | | | | | | | | | | | * Autosave all when the terminal loses focus * Correct comment on focus config Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Need a block_try_flush_writes in all quit_all paths Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> | ||
* | Sort by fixed diagnostics/is_preffered within codeaction categories | Pascal Kuthe | 2022-10-21 |
| | |||
* | never sort menu items when no fuzzy matching is possible | Pascal Kuthe | 2022-10-21 |
| | |||
* | use permalink to vscode repo | Pascal Kuthe | 2022-10-21 |
| | |||
* | use stable sort instead of allocating new vectors | Pascal Kuthe | 2022-10-21 |
| | |||
* | sort autocompletins by fuzzy match | Pascal Kuthe | 2022-10-21 |
| | |||
* | sort codeaction by their kind instead of alphabetically | Pascal Kuthe | 2022-10-21 |
| | |||
* | chore(view): remove indent_unit helper fn (#4389) | Matouš Dzivjak | 2022-10-20 |
| | |||
* | fix(commands): no last picker error (#4387) | Matouš Dzivjak | 2022-10-20 |
| | |||
* | Merge pull request #2267 from dead10ck/fix-write-fail | Blaž Hrastnik | 2022-10-20 |
|\ | | | | | Write path fixes | ||
| * | fix tree_sitter_scopes | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Editor::flush_writes returns an error | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Use flush_writes in application.close() | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Seems like this flush is unnecessary | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Deduplicate flush_writes | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Use a single save_queue on the editor | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | improve app close failure display | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | review comments | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | document should save even if formatter fails | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | remove Callback::Compositor variant | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | To reduce likelihood of accidental discarding of important callbacks | ||
| * | move language server refresh to document saved event handler | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix write scratch buffer to file | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Save text in document saved events, use in status message | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Rename doc save event names to past tense | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | various fixes in write-all path | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | reset idle timer for all events | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix panic when view of pending write is closed | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | factor editor event handling into function | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix write-quit with auto format | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | write-quit will now save all files successfully even when there is auto formatting | ||
| * | fix modified status with auto format | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | improve reliability of shutdown | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | add conditional noop render back | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | It makes it much slower without stubbing this out | ||
| * | update write-quit to wait for saves | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix buffer-close | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix(write): do not set new path on document until write succeeds | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | | | If a document is written with a new path, currently, in the event that the write fails, the document still gets its path changed. This fixes it so that the path is not updated unless the write succeeds. | ||
| * | fix: buffer-close ensuring writes | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | Make sure buffer-close waits for the document to finish its writes. | ||
| * | chore(write): serialize write operations within a Document | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The way that document writes are handled are by submitting them to the async job pool, which are all executed opportunistically out of order. It was discovered that this can lead to write inconsistencies when there are multiple writes to the same file in quick succession. This seeks to fix this problem by removing document writes from the general pool of jobs and into its own specialized event. Now when a user submits a write with one of the write commands, a request is simply queued up in a new mpsc channel that each Document makes to handle its own writes. This way, if multiple writes are submitted on the same document, they are executed in order, while still allowing concurrent writes for different documents. | ||
* | | Pretty print `tree-sitter-subtree` expression (#4295) | Fisher Darling | 2022-10-19 |
|/ | |||
* | Fix deleting word from end of buffer (#4328) | Jonathan LEI | 2022-10-19 |
| | |||
* | display tree sitter scopes in a popup (#4337) | Roberto Vidal | 2022-10-18 |
| | |||
* | Use the same `WalkBuilder` configuration for the global search file picker ↵ | Philipp Mildenberger | 2022-10-18 |
| | | | | | as the default file picker (#4334) Skip searching .git in global search, similar to how file picker skips listing files in .git. | ||
* | Replace `in_bounds` with calculation of end_indent | A-Walrus | 2022-10-17 |
| | | | | | | Instead of repeatedly checking if it is in_bounds, calculate the max_indent beforehand and just loop. I added a debug_assert to "prove" that it never tries drawing out of bounds. | ||
* | Only draw indent guides within bounds | A-Walrus | 2022-10-17 |
| | | | | | | Better performance, and otherwise very long lines with lots of tabs will wrap around the u16 and come back on the other side, messing up the beginning skip_levels. | ||
* | Make skip_levels a u8 | A-Walrus | 2022-10-17 |
| | |||
* | Fix rendering of lines longer than 2^16 | A-Walrus | 2022-10-17 |
| | | | | | Before things would be cast to u16 earlier than needed, which would cause problems for insanely long lines (longer than 2^16 ~ 65 thousand) | ||
* | Change diagnostic picker keybind to <space>d (#4229) | Gokul Soumya | 2022-10-17 |
| | | | | | | | Also changes workspace diagnostic picker bindings to <space>D and changes the debug menu keybind to <space>g, the previous diagnostic picker keybind. This brings the diagnostic picker bindings more in line with the jump to next/previous diagnostic bindings which are currently on ]d and [d. | ||
* | Fix debug assertion for diagnostic sort order (#4319) | Michael Davis | 2022-10-16 |
| | | | | | | | The debug assertion that document diagnostics are sorted incorrectly panics for cases like `[161..164, 162..162]`. The merging behavior in the following lines that relies on the assertion only needs the input ranges to be sorted by `range.start`, so this change simplifies the assertion to only catch violations of that assumption. | ||
* | fix `:insert-output` doc: inserting output **before** each selection (#4286) | ZJPzjp | 2022-10-15 |
| | |||
* | nit: remove a String allocation that is immediately used as an &str (#4277) | Poliorcetics | 2022-10-14 |
| |