Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hessesian/kmp-lsp
/ functions
Functions
3,021 in github.com/Hessesian/kmp-lsp
⨍
Functions
3,021
◇
Types & classes
179
↓ 1 callers
Function
is_owner_type_symbol
(kind: SymbolKind)
src/semantic_tokens/resolve.rs:369
↓ 1 callers
Function
is_pure_annotation_line
(trimmed: &str)
src/indexer/infer/sig.rs:390
↓ 1 callers
Function
is_qualifier_char
Returns `true` if `c` is a valid identifier or qualifier-chain character. Used when walking backward over text to extract the dot-qualified chain pre
src/rg.rs:812
↓ 1 callers
Method
is_ready
`true` once the workspace has completed its first scan and is ready to serve feature queries.
src/workspace/handle.rs:43
↓ 1 callers
Method
is_ready
Returns `true` when the workspace has been initialised **and** no background scan is currently in flight.
src/workspace/actor.rs:113
↓ 1 callers
Method
is_scanning
Returns `true` while a background index scan is in flight.
src/workspace/scan_handler.rs:42
↓ 1 callers
Method
is_scope_receiver
True if the given receiver expression is a lambda scope reference (`it`, `this`, or `this@label`).
src/features/completion_context.rs:178
↓ 1 callers
Function
is_sealed
(symbol: &crate::types::SymbolEntry)
src/features/fill_when.rs:605
↓ 1 callers
Function
is_top_level_call_name
(node: Node<'_>)
src/semantic_tokens/helpers.rs:341
↓ 1 callers
Function
is_type_reference
(node: Node<'_>)
src/semantic_tokens/helpers.rs:331
↓ 1 callers
Function
is_when_subject
Check if line is `when (var_name)` or `when (val x = var_name)` etc.
src/resolver/infer_lines.rs:761
↓ 1 callers
Method
jar_phase
(&self)
src/indexer/resolution.rs:729
↓ 1 callers
Function
jar_uri
(path: &str)
src/indexer/jar_tests.rs:18
↓ 1 callers
Function
java_params_and_counts
Extract `(params_text, (required, total))` from the `formal_parameters` child of a Java method or constructor declaration node.
src/parser.rs:2422
↓ 1 callers
Function
killCopilotServer
* Kill only the kmp-lsp process(es) managed by Copilot CLI. * 1. Reads the PID from status.json and sends SIGKILL. * 2. Also kills any remaining kmp
contrib/copilot-extension/extension.mjs:123
↓ 1 callers
Function
kind_str_to_lsp
(kind: &str)
src/indexer/jar.rs:788
↓ 1 callers
Function
kotlin_class_param_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:245
↓ 1 callers
Function
kotlin_class_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:114
↓ 1 callers
Function
kotlin_companion_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:152
↓ 1 callers
Function
kotlin_def_query
()
src/parser.rs:48
↓ 1 callers
Function
kotlin_fun_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:163
↓ 1 callers
Function
kotlin_object_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:136
↓ 1 callers
Function
kotlin_prop_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:189
↓ 1 callers
Function
kotlin_type_param_token
(node: Node<'_>, src: &Source<'_>, out: &mut Vec<RawToken>)
src/semantic_tokens/kotlin.rs:230
↓ 1 callers
Function
lambda_cursor_point
(line_text: &str, cursor_line: usize, cursor_col: usize)
src/indexer/scope.rs:577
↓ 1 callers
Function
lambda_label
(before_brace: &str)
src/features/completion_context.rs:341
↓ 1 callers
Method
lambda_param_position
(self, param_name: &str, bytes: &[u8])
src/indexer/node_ext.rs:269
↓ 1 callers
Method
lambda_param_scan_lines
(&self, uri: &Url)
src/indexer/scope.rs:337
↓ 1 callers
Function
lambda_type_receiver
Given a Kotlin function/lambda type, extracts the receiver type if it is a **receiver lambda** (`T.() -> R` or `T.(Params) -> R`). Returns `None` for
src/indexer/infer/lambda.rs:107
↓ 1 callers
Method
language_id
LSP language identifier; delegates to the language's provider.
src/types.rs:43
↓ 1 callers
Function
last_value_param_is_function_type
Returns `true` when the last value parameter of the function at `range` has a function type, indicating the function supports trailing-lambda call syn
src/parser.rs:1293
↓ 1 callers
Function
launch_sidecar
()
src/sidecar_ipc_tests.rs:39
↓ 1 callers
Function
leading_whitespace
(s: &str)
src/features/on_type_formatting.rs:181
↓ 1 callers
Function
legend
()
src/semantic_tokens/mod.rs:82
↓ 1 callers
Function
line_before_cursor
( line: &str, line_index: usize, cursor_line: usize, cursor_col: usize, )
src/indexer/scope.rs:620
↓ 1 callers
Function
line_before_cursor
( line: &str, line_index: usize, cursor_line: usize, cursor_col: usize, )
src/features/completion_context.rs:350
↓ 1 callers
Function
line_for_position
Returns the text of line `line_idx` for `uri`, preferring live lines.
src/features/completion.rs:301
↓ 1 callers
Function
line_is_declaration
Whether a trimmed line is itself a full declaration rather than a bare annotation. Used to stop the upward `@Deprecated` scan at a previous single-lin
src/parser.rs:1822
↓ 1 callers
Function
line_prefix_before_cursor
(lines: &[String], pos: CursorPos)
src/indexer/infer/args.rs:62
↓ 1 callers
Method
list_files
(mut self)
src/rg.rs:440
↓ 1 callers
Function
live_template_groups
()
src/stdlib.rs:676
↓ 1 callers
Function
live_templates
Kotlin live templates — common code patterns as snippet completions. Modelled on IntelliJ's built-in Kotlin live templates. Each item has a short tri
src/stdlib.rs:668
↓ 1 callers
Function
load_jar_cache
Load the global JAR symbol cache. Returns an empty map on any error.
src/indexer/jar_cache.rs:57
↓ 1 callers
Function
locate_symbol
Locate first definition of a symbol using import-aware resolution.
src/indexer/resolution.rs:344
↓ 1 callers
Function
location
(path: &str, line: u32)
src/indexer/workspace_read_tests.rs:58
↓ 1 callers
Method
log_summary
(&self, total: usize)
src/indexer/scan.rs:239
↓ 1 callers
Function
main
()
contrib/extract-sources.py:160
↓ 1 callers
Function
main
()
contrib/kotlin-cli.py:1177
↓ 1 callers
Function
make_cache_entry
Build a new cache entry for a JAR from its sidecar symbols.
src/indexer/jar_cache.rs:130
↓ 1 callers
Function
make_dummy_entry
(_path: &std::path::Path)
src/indexer/cache_tests.rs:286
↓ 1 callers
Function
make_handler
(indexer: Arc<Indexer>)
src/workspace/scan_handler_tests.rs:11
↓ 1 callers
Function
make_import_edit
Build a TextEdit that inserts `import {fqn}\n` at the correct position.
src/resolver/import_edit.rs:54
↓ 1 callers
Function
match_type_args_recursive
Recursively match declared and concrete type structures to extract generic parameter → concrete type mappings.
src/indexer/infer/type_subst.rs:125
↓ 1 callers
Function
matches
(jar: Path)
contrib/extract-sources.py:215
↓ 1 callers
Function
matches_receiver_type
(extension_receiver: &str, receiver_type: &str)
src/semantic_tokens/resolve.rs:431
↓ 1 callers
Method
mem_lines_for
Returns lines for `uri` from the in-memory caches only (no disk I/O). Prefers live (unsaved) lines; falls back to the last indexed snapshot. Use this
src/indexer.rs:681
↓ 1 callers
Function
member_token_type_for_receiver
( indexer: &Indexer, receiver_type: &str, member_name: &str, )
src/semantic_tokens/resolve.rs:486
↓ 1 callers
Function
merge_named_params
( lambda_scopes: &mut Vec<LambdaScope>, param_names: Vec<String>, index: &Indexer, uri: &Url,
src/features/completion_context.rs:250
↓ 1 callers
Function
method_chain_lambda_type
( receiver_var: &str, method: &str, deps: &impl InferDeps, uri: &Url, )
src/indexer/infer/receiver.rs:139
↓ 1 callers
Function
method_lambda_input_type_aware
Receiver-aware trailing lambda type: look up `method` on receiver's type, find its last param, extract lambda input type.
src/indexer/infer/receiver.rs:265
↓ 1 callers
Function
method_overrides_in
Collect `override fun method_name` (Kotlin) or same-named method (Java) locations within `data` for a confirmed subtype. For Kotlin, `detail` must co
src/features/implementation.rs:134
↓ 1 callers
Method
named_param_type
(&self, name: &str)
src/features/completion_context.rs:165
↓ 1 callers
Function
nav_expr_receiver_field
For a `navigation_expression` (plain field access, no call), return `(receiver_name, field_name)`. Returns `None` for chained access (`a.b.c`), `this
src/parser.rs:1976
↓ 1 callers
Function
navigation_expression_type
( node: Node<'_>, doc: &LiveDoc, starts: &[usize], indexer: &Indexer, uri: &Url, )
src/semantic_tokens/resolve.rs:307
↓ 1 callers
Method
navigation_parts
(self, bytes: &[u8])
src/indexer/node_ext.rs:323
↓ 1 callers
Method
needs_semicolons
(self)
src/types.rs:51
↓ 1 callers
Function
nested_receiver_lambda_type
( receiver_expr: &str, method: &str, deps: &impl InferDeps, uri: &Url, )
src/indexer/infer/receiver.rs:112
↓ 1 callers
Function
new_file_data
(content: &str)
src/parser.rs:119
↓ 1 callers
Function
normalized_lambda_callee
(before_brace: &str)
src/indexer/infer/receiver.rs:55
↓ 1 callers
Method
on_became_ready
Called exactly once each time the workspace transitions from a non-quiescent state into the quiescent ready state.
src/workspace/actor.rs:125
↓ 1 callers
Function
on_newline
( lines: &[String], position: Position, options: &FormattingOptions, )
src/features/on_type_formatting.rs:15
↓ 1 callers
Method
outer_call_info_at
( &self, pos: tower_lsp::lsp_types::Position, uri: &Url, )
src/features/traits_impl.rs:182
↓ 1 callers
Function
outer_class_for_decl_site
For a lowercase method at its declaration site, returns the outer-outer class if the method is inside a doubly-nested class (e.g. `create` inside `Fac
src/features/references.rs:236
↓ 1 callers
Function
owner_member_token_type
( indexer: &Indexer, receiver_type: &str, member_name: &str, )
src/semantic_tokens/resolve.rs:436
↓ 1 callers
Function
owner_scoped_reference_locations
Find references to a lowercase method declared inside a doubly-nested class (e.g. `create` inside `Factory` inside `RegularReducer`). Callers use var
src/rg.rs:1078
↓ 1 callers
Function
package_scoped_reference_locations
( request: &RgSearchRequest<'_>, patterns: &[String], matcher: Option<&IgnoreMatcher>, )
src/rg.rs:1016
↓ 1 callers
Function
package_stmt
Format the package statement for the given language. Java requires a trailing semicolon; Kotlin does not.
src/features/code_actions.rs:124
↓ 1 callers
Function
param_has_default
Check whether a parameter node has a default value. The grammar places `=` in two locations depending on parameter kind: - `class_parameter`: `=` is
src/parser.rs:1400
↓ 1 callers
Function
param_type_at
(raw: &str, idx: usize)
src/features/completion_context.rs:97
↓ 1 callers
Function
parent_scoped_reference_locations
( request: &RgSearchRequest<'_>, patterns: &[String], matcher: Option<&IgnoreMatcher>, )
src/rg.rs:921
↓ 1 callers
Function
parse_cli_flags
(args: &mut lexopt::Parser)
src/cli/args.rs:167
↓ 1 callers
Function
parse_doc_tags
(text: &str)
src/indexer/doc.rs:179
↓ 1 callers
Function
parse_file_line_col
( positionals: Vec<String>, name: &'static str, )
src/cli/args.rs:347
↓ 1 callers
Function
parse_first_argument
(args: &mut lexopt::Parser)
src/cli/args.rs:139
↓ 1 callers
Function
parse_import_header
(header: &tree_sitter::Node, bytes: &[u8], data: &mut FileData)
src/parser.rs:1600
↓ 1 callers
Function
parse_imports_from_lines
Lightweight import scanner for live (unsaved) buffer lines. Handles: `import pkg.Name`, `import pkg.Name as Alias`, `import pkg.*` Used by completion
src/parser.rs:1646
↓ 1 callers
Function
parse_missed_sources_jars
Extract + parse each missed JAR and insert its refreshed cache entry. Per-JAR processing keeps the result→JAR association structural (no URI-string re
src/indexer/jar.rs:238
↓ 1 callers
Function
parse_named_params
( after_brace: &str, index: &Indexer, uri: &Url, position: Position, )
src/features/completion_context.rs:307
↓ 1 callers
Function
parse_rg_line
Parse one line of `rg --no-heading --with-filename --line-number --column` output and return a [`Location`]. Expects the format `/abs/path/to/File.kt
src/rg.rs:1524
↓ 1 callers
Function
parse_rg_line_with_content_rooted
(line: &str, root: &Path)
src/rg.rs:1648
↓ 1 callers
Function
parse_subcommand_name
(first: std::ffi::OsString)
src/cli/args.rs:158
↓ 1 callers
Function
parse_uri
(uri_str: &str)
src/features/workspace_symbols.rs:175
↓ 1 callers
Function
parse_work_item
( idx: Arc<Indexer>, item: ParseWorkItem, sem: Arc<tokio::sync::Semaphore>, counters: ParseCou
src/indexer/scan.rs:588
↓ 1 callers
Function
parsed_file_entry
Parse a tiny Kotlin snippet to get a realistic FileData for fixtures.
src/indexer/sources_jar_cache_tests.rs:11
↓ 1 callers
Function
partition_cache_hits
( paths: &[PathBuf], cache: &Option<super::cache::IndexCache>, session: &ScanSession, )
src/indexer/scan.rs:340
↓ 1 callers
Function
partition_sources_jars
Split sources JARs into cache hits (returning ready-to-apply contributions built from the cached `Arc<FileData>` — zero deep clones) and misses (JAR p
src/indexer/jar.rs:186
↓ 1 callers
Function
plain_trailing_lambda_type
( before_brace: &str, callee: &str, deps: &impl InferDeps, uri: &Url, )
src/indexer/infer/receiver.rs:304
↓ 1 callers
Function
prepare_rename_impl
( indexer: &Indexer, uri: &Url, pos: Position, )
src/features/rename.rs:424
↓ 1 callers
Method
prepare_rename_impl
( &self, params: TextDocumentPositionParams, )
src/backend/rename.rs:13
↓ 1 callers
Function
prepare_scan
(indexer: &Arc<Indexer>, root: &Path, max: usize)
src/indexer/scan.rs:276
← previous
next →
1,101–1,200 of 3,021, ranked by callers