aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/completion.rs
Commit message (Collapse)AuthorAge
...
* Ensure coords in screen depends on char width (#885)Ivan Tham2021-11-03
| | | | | The issue affected files with lots of tabs at the start as well. Fix #840
* Bump lsp-types to 0.91.0 (#932)Ivan Tham2021-10-29
|
* Clear competion items when start_offset > cursor (#906)CossonLeo2021-10-26
|
* completion: fully revert state before apply & insertText common prefixBlaž Hrastnik2021-10-25
|
* fix: If backspacing past the start offset, cancel completionBlaž Hrastnik2021-10-16
| | | | Refs #822
* Allow trigger_offset to be unused for nowBlaž Hrastnik2021-10-10
|
* Filter the initial completionBlaž Hrastnik2021-10-05
|
* Optimize completion doc position. (#691)CossonLeo2021-09-08
| | | | | | | | | | | | | | | | | | | * optimize completion doc's render * optimize completion doc's render * optimize completion doc position * cargo fmt * fix panic * use saturating_sub * fixs * fix clippy * limit completion doc max width 120
* Extract view.inner_area(), simplify render_focused_view_elementsBlaž Hrastnik2021-08-19
|
* Refactor view.first_line/first_col into view.offset (Position)Blaž Hrastnik2021-08-19
|
* Show file preview in split pane in fuzzy finder (#534)Gokul Soumya2021-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add preview pane for fuzzy finder * Fix picker preview lag by caching * Add picker preview for document symbols * Cache picker preview per document instead of view * Use line instead of range for preview doc * Add picker preview for buffer picker * Fix render bug and refactor picker * Refactor picker preview rendering * Split picker and preview and compose The current selected item is cloned on every event, which is undesirable * Refactor out clones in previewed picker * Retrieve doc from editor if possible in filepicker * Disable syntax highlight for picker preview Files already loaded in memory have syntax highlighting enabled * Ignore directory symlinks in file picker * Cleanup unnecessary pubs and derives * Remove unnecessary highlight from file picker * Reorganize buffer rendering * Use normal picker for code actions * Remove unnecessary generics and trait impls * Remove prepare_for_render and make render mutable * Skip picker preview if screen small, less padding
* ui: completion: Insert suggestions when tabbing over themBlaž Hrastnik2021-08-11
| | | | Fixes #498
* ui: completion: Use sort_text to sort the completionsBlaž Hrastnik2021-08-11
|
* Collect some common patterns into methods on `Range`.Nathan Vegdahl2021-07-26
|
* Fixed primary cursor position calculation to use 1-width semantics.Nathan Vegdahl2021-07-19
| | | | | This had a bunch of knock-on effects that were buggy, such as bracket match highlighting.
* Fix unused variable, parameter, and `mut` warnings in helix-term.Nathan Vegdahl2021-07-02
|
* Remove #[allow(unused)] from helix-term, and fix unused imports.Nathan Vegdahl2021-07-02
| | | | Lots of other warning still left. Will address in subsequent commits.
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com>
* minor: Remove old TODOsBlaž Hrastnik2021-06-22
|
* Add comment, statusline + commandline = 2wojciechkepka2021-06-20
|
* Use full screen sizewojciechkepka2021-06-20
|
* Make completion window move to top when cursor is below halfwojciechkepka2021-06-20
|
* Add ability to change theme on editorwojciechkepka2021-06-19
|
* Replace `Editor::current` by a macroBenoît CORTIER2021-06-18
| | | | | | | | | This is necessary to workaround ownership issues across function calls. The issue notably arised when implementing the registers into `Editor` and I was getting annoyed again when implementing copy/pasting into system clipboard. The problem is addressed by using macro calls instead of function calls. There is no notable side effect.
* completion: Fix unimplemented autocompleteWojciech Kępka2021-06-08
|
* Completion: Format docs tabs & highlight in the doc's native languageBlaž Hrastnik2021-05-30
|
* Completion: Render non-markdown docs tooBlaž Hrastnik2021-05-30
|
* ESC should exit both completion and insert modeBlaž Hrastnik2021-05-29
|
* Update deps, introduce the new tree-sitter lifetimesBlaž Hrastnik2021-05-27
|
* Display more data in completion popups.Blaž Hrastnik2021-05-22
|
* Completion: apply additionalTextEdits.Blaž Hrastnik2021-05-17
| | | | Used for adding imports to the file when completing.
* Drop some useless imports.Blaž Hrastnik2021-05-09
|
* Replace the Clear widget with buffer.clear/clear_with.Blaž Hrastnik2021-05-09
|
* ui: Draft for completion doc preview.Blaž Hrastnik2021-05-03
|
* lsp: support both utf-8 and utf-16 offsets.Blaž Hrastnik2021-04-14
| | | | | Still need to implement the clangd encoding negotiation, but it's a start. Should also manually override to utf8 for pyls.
* Handle c-n, c-p, etc. autocompletion events.Blaž Hrastnik2021-04-06
|
* ui: Improve completion state handling.Blaž Hrastnik2021-04-05
|
* Simplify code by providin cx.current() = (view, doc).Blaž Hrastnik2021-04-01
|
* Weave through view_id references so that views into one file have ↵Blaž Hrastnik2021-03-31
| | | | independent selects.
* Filter the completion menu based on text entered.Blaž Hrastnik2021-03-27