Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SourceMap#query_symbols use fuzzy matching. #132

Merged
merged 1 commit into from
Jan 9, 2019
Merged

Make SourceMap#query_symbols use fuzzy matching. #132

merged 1 commit into from
Jan 9, 2019

Conversation

gmcabrita
Copy link
Contributor

Fixes #44.

I made it fuzzy match either on the path or the name, since trying to fuzzy match a method name on a long path will typically fail.

@castwide
Copy link
Owner

castwide commented Jan 3, 2019

Awesome, thanks! This looks like a good addition for v0.31.

@castwide castwide changed the base branch from master to v0.31.0 January 9, 2019 05:51
@castwide castwide merged commit ec093f1 into castwide:v0.31.0 Jan 9, 2019
@castwide castwide mentioned this pull request Jan 13, 2019
castwide added a commit that referenced this pull request Jan 13, 2019
* Deprecated Library methods.

* RuboCopHelpers drive letter specs.

* Foldable comment block specs.

* Tweaking foldable comment ranges.

* Host::Dispatch module and specs.

* Host::Dispatch documentation.

* Missing parameter in TypeNotDefined spec.

* First implementation of core generation methods.

* CoreGen error checking.

* CoreGen bug fixes.

* Environment info includes core cache directory.

* CoreDoc and CoreGen refactoring.

* CoreDocs specs.

* More comments.

* yard_stdlib_file -> yardoc_stdlib_file

* Workspace documentation and minor refactoring.

* Minor Host::Dispatch tweaks.

* Transport adapter avoids running multiple timers.

* yard-coregen plugin

* Fixed CoreGen path handling.

* Host#change pings cataloger.

* Cataloger and Diagnoser specs and refactoring.

* Change Host#start to Host#receive.

* Host requires explicit start for asynchronous processing.

* More language server specs.

* Deprecated Host#catalog.

* Erroneous clip definitions.

* Domain directive uses type syntax.

* Make SourceMap#query_symbols use fuzzy matching. (#132)

* Disabled bundler cache in Travis.

* Removed bundler install from Travis.

* Bundler selection script for Travis.

* Asynchronous Library#catalog.

* Redundant Adapter#process definition.

* Param names.

* Threaded ApiMap cataloging.

* Library allows looser synchronization instead of starting catalog threads.

* Host diagnosis requires cataloging.

* Message logging.

* Hosts are observable to notify adapters of queued messages.

* Library double receives catalog in host spec.

* Invalid offset handling.

* Deprecated suggest command.

* Minor refactoring.

* ApiMap merge spec.

* Stale code.

* CoreDocs specs.

* Position offset fencepost error.

* Lazy method alias resolution.

* Documentation.

* Benchmarks indicate that threaded source mapping is ineffective.

* Moving STDERR output to logger.

* Suppress logger output in specs.

* Library#references_from returns unique locations.

* Notify adapter when host stops.

* Logging info reports cataloged pin count.

* Initialize message logs time.

* Solargraph.log method.

* Adapter speed (WIP)

* Stoppable interval server replaces observer.

* Faster source combination (WIP)

* Asynchronous source parsing.

* Reduced sources notifications.

* SourceChainer checks synchronization.

* Additional SourceChainer sync exception.

* SourceMap::Mapper processes macro directives more efficiently.

* Protocol spec waits for the Host::Sources thread.

* Typo

* Library#references_from spec.

* textDocument/rename spec

* Refactored source synchronization.

* Documentation.

* Source#comments_for includes blank lines.

* Specs for unsynchronized sources.

* Documentation and minor refactoring.

* Documentation and minor refactoring.

* RequireNotFound checks source status and uses existing maps.

* Source needs to be synchronized to calculate foldable comments.

* Host only diagnoses synchronized sources.
castwide added a commit that referenced this pull request Jan 15, 2019
Removed deprecated Library methods
Tweaked foldable comment ranges
Host::Dispatch module for managing open sources and libraries
YardMap::CoreGen module for generating documentation from Ruby source
Improved communication between hosts and adapters
Refactored Host methods
`@!domain` directive uses [type] syntax
Make SourceMap#query_symbols use fuzzy matching. (#132)
Threaded ApiMap cataloging
Fixed fencepost error in Position.from_offset
Lazy method alias resolution
Library#references_from returns unique locations
Additional info logs
Asynchronous source parsing
Unsychronized source support for faster completion requests (castwide/vscode-solargraph#95)
Faster source comment parsing
Host only diagnoses synchronized sources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants