cursorless/queries
James Stout 3199af61d5
Add support for Kotlin. (#2432)
## What

Adds support for the `kotlin` programming language

## Checklist

- [x] Recorded tests for the new language
- [x] Used `"change"` / `"clear"` instead of` "take"` for selection
tests to make recorded tests easier to read
- [x] Added a few specific tests that use `"chuck"` instead of
`"change"` to test removal behaviour when it's interesting, especially:
  - [x] `"chuck arg"` with single argument in list
  - [x] `"chuck arg"` with multiple arguments in list
  - [x] `"chuck item"` with single argument in list
  - [x] `"chuck item"` with multiple arguments in list
- [x] Added `@textFragment` captures. Usually you want to put these on
comment and string nodes. This enables `"take round"` to work within
comments and strings.
- [x] Added a test for `"change round"` inside a string, eg `"hello
(there)"`
- [ ] Supported` "type"` both for type annotations (eg `foo: string`)
and declarations (eg `interface Foo {}`) (and added tests for this
behaviour 😊)
- [x] Supported` "item"` both for map pairs and list entries (with tests
of course)
2024-08-04 16:12:02 +00:00
..
c.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
clojure.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
cpp.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
csharp.scm Migrate csharp scopes (#2469) 2024-07-29 15:24:02 +00:00
css.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
go.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
html.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
java.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
javascript.core.scm Added name/value for object assignment pattern in javascript (#2539) 2024-07-28 16:02:39 +00:00
javascript.fieldAccess.scm Validate query capture names (#2147) 2024-02-10 04:32:51 +00:00
javascript.function.scm Support funk name scope in map (#2541) 2024-07-28 16:19:39 +00:00
javascript.jsx.scm Changes for tree-sitter 0.21 (#2409) 2024-06-14 09:52:22 +00:00
javascript.scm Added constructor facets (#2380) 2024-06-14 15:26:00 +00:00
javascriptreact.scm Support jsx tag scopes using tree-sitter queries (#1508) 2023-06-06 12:12:18 +00:00
json.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
jsonc.scm Add proper jsonc comment support (#2145) 2023-12-15 15:02:15 +00:00
jsonl.scm Migrate json scopes (#2042) 2023-11-25 13:00:09 +00:00
kotlin.scm Add support for Kotlin. (#2432) 2024-08-04 16:12:02 +00:00
latex.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
lua.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
markdown.scm Migrating markdown scopes (#2489) 2024-07-28 16:32:14 +00:00
php.scm Migrate php argument scope (#2492) 2024-07-28 20:40:33 +00:00
python.fieldAccess.scm Validate query capture names (#2147) 2024-02-10 04:32:51 +00:00
python.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
ruby.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
rust.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
scala.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
scm.collections.scm Add Cursorless support for tree-sitter query .scm files (#1448) 2023-08-22 12:46:29 +00:00
scm.name.scm Validate query capture names (#2147) 2024-02-10 04:32:51 +00:00
scm.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
scss.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
talon.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
typescript.core.scm Fix removal range with type (#2460) 2024-07-02 14:43:52 +00:00
typescript.scm Migrate typescript scopes (#2040) 2023-11-25 13:24:17 +00:00
typescriptreact.scm Migrate Typescript "type" to next-gen; fix value removal (#1925) 2023-10-03 13:58:05 +00:00
xml.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00
yaml.scm Migrated surrounding pair scope handler (#2457) 2024-07-28 08:53:22 +00:00