Commit Graph

6423 Commits (f18a2d7c5aceab89d8df21e1e0922cb48b9a07f0)

Author SHA1 Message Date
Nikita Revenco f18a2d7c5a refactor: do not use pointless assertion 2025-03-25 14:41:27 +00:00
Nikita Revenco c3829c3d91 fix: call geter instead of trying to access private field 2025-03-25 14:41:27 +00:00
Nikita Revenco a07819b497 refactor: remove `pub`, use a getter instead 2025-03-25 14:41:27 +00:00
Nikita Revenco ec94fbdf3b refactor: collapse 2 `map` intoa a single `map` 2025-03-25 14:41:27 +00:00
Nikita Revenco 18aaf93da0 chore: remove Clone derive from Syntax 2025-03-25 14:41:27 +00:00
Nikita Revenco 4c5ceb5bed test: add test for continuing comment in injection layers 2025-03-25 14:41:27 +00:00
Nikita Revenco c72755437a feat: continue comment uses injected comment tokens 2025-03-25 14:41:27 +00:00
Nikita Revenco 5b30bfe36e fix: YAML formatting issues with injections 2025-03-25 14:41:27 +00:00
Nikita Revenco 4bb33459fa feat: improve presentation of tree-sitter-injections 2025-03-25 14:41:27 +00:00
Nikita Revenco 37f8cbed3c feat: upgrade `tree-sitter-injection` to show injections for entire file 2025-03-25 14:41:27 +00:00
Nikita Revenco 92469b431a docs: add information on `tree-sitter-injection` 2025-03-25 14:41:27 +00:00
Nikita Revenco 56dedd10a7 fix: add `regex` to ignored layer configs 2025-03-25 14:41:27 +00:00
Nikita Revenco d451077978 feat: add typable command to get injection layer for current range 2025-03-25 14:41:27 +00:00
Nikita Revenco 99d16170dc fix: commenting full lines 2025-03-25 14:41:27 +00:00
Nikita Revenco 7d53290dd2 fix: panic 2025-03-25 14:41:27 +00:00
Nikita Revenco e9683381b6 refactor: extract a separate toggle_comment_impl function 2025-03-25 14:41:27 +00:00
Nikita Revenco 093805b62c perf: get rid of a `.clone()` 2025-03-25 14:41:27 +00:00
Nikita Revenco 63fb49c1b4 chore: clean up code
chore: remove comment
2025-03-25 14:41:27 +00:00
Nikita Revenco 6e451fe201 chore: remove useless file 2025-03-25 14:41:27 +00:00
Nikita Revenco 3714fc0cee chore: remove unused imports 2025-03-25 14:41:27 +00:00
Nikita Revenco c22eba38d5 chore: move all comment integration tests into a separate module 2025-03-25 14:41:27 +00:00
Nikita Revenco ad3f9ececb chore: remove unneeded files 2025-03-25 14:41:27 +00:00
Nikita Revenco 570911e589 fix: many single width selections panic 2025-03-25 14:41:27 +00:00
Nikita Revenco ee0f22471e chore: add brainstorm thoughts 2025-03-25 14:41:27 +00:00
Nikita Revenco 13b52e9d97 refactor: rename variables ,use iterator methods, separate vars for added and removed chars 2025-03-25 14:41:27 +00:00
Nikita Revenco 7a39fb8164 refactor: rename variable 2025-03-25 14:41:27 +00:00
Nikita Revenco bbd7cb7bfb fix: incorrect order of index additions 2025-03-25 14:41:27 +00:00
Nikita Revenco 76b3e6778d chore: remove log statement 2025-03-25 14:41:27 +00:00
Nikita Revenco 31e2f739ee fix: panic as no ranges were inserted 2025-03-25 14:41:27 +00:00
Nikita Revenco 5562e7ae8e chore: add announcement file for PR 2025-03-25 14:41:27 +00:00
Nikita Revenco b94d3a70e7 fix: multiple selections having incorrect range and not properly accounting for comment tokens 2025-03-25 14:41:27 +00:00
Nikita Revenco 621dec74be test: write more tests for toggle comment, and add tests for toggle block comment 2025-03-25 14:41:27 +00:00
Nikita Revenco 7c24110061 feat: add integration tests for commenting through injection layers 2025-03-25 14:41:27 +00:00
Nikita Revenco 0a882107ed fix: restore selections when created comment 2025-03-25 14:41:27 +00:00
Nikita Revenco de7884c7dd test: uncomment previosly skipped tests 2025-03-25 14:41:27 +00:00
Nikita Revenco 371dec3774 feat: block comment toggle and single line comment toggle 2025-03-25 14:41:27 +00:00
Nikita Revenco 544e460ac4 feat: implement toggle comment funcitonality for multiple comment tokens 2025-03-25 14:41:27 +00:00
Nikita Revenco 29e0a00eb0 feat: implement toggle comment for the simplest case 2025-03-25 14:41:27 +00:00
Nikita Revenco d719f1572b feat: gain access to injection-specific line and block comment tokens 2025-03-25 14:41:27 +00:00
Nikita Revenco b10fc21169 chore: clean up code 2025-03-25 14:41:27 +00:00
Nikita Revenco 8fe3f90cbb feat: use FnMut 2025-03-25 14:41:27 +00:00
Nikita Revenco 38bede20ef feat: add new params 2025-03-25 14:41:27 +00:00
Nikita Revenco 70f27b390d feat: add function to get LanguageConfiguration from a LayerId
Co-authored-by: the-mikedavis <mcarsondavis@gmail.com>
2025-03-25 14:41:27 +00:00
Nikita Revenco 48dec3ee8f chore: add testing files 2025-02-28 14:53:15 +00:00
Michael Davis 0efa8207d8
Rewrite command line parsing, add flags and expansions (#12527)
Co-authored-by: Pascal Kuthe <pascalkuthe@pm.me>
2025-02-26 19:50:15 -06:00
may e1c7a1ed77
remove unnecessary allocations in switch_case (#12786) 2025-02-26 19:03:29 -06:00
Michael Davis 7bebe0a70e
Highlight file picker directories with 'ui.text.directory'
This applies the same styling as the parent commit to the file pickers.
2025-02-26 19:19:37 -05:00
Nik Revenco 682967d328
feat: Improve look of Global Search Picker (#12855)
Co-authored-by: Poliorcetics <poliorcetics@users.noreply.github.com>
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-02-26 18:09:57 -06:00
Mykyta 1e8774a030
Added missing CSS highlight Tree Sitter Scopes (#12497) 2025-02-26 17:51:36 -06:00
Daniel Fichtinger c36408457a
feat(kdl): add `kdlfmt` as formatter for kdl (#12967) 2025-02-26 17:50:36 -06:00