Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Introduce Intelligent Code Completion #672

Merged
merged 6 commits into from
Dec 9, 2022
Merged

Conversation

karreiro
Copy link
Contributor

@karreiro karreiro commented Dec 2, 2022

karreiro and others added 6 commits October 5, 2022 09:24
…heck (#661)

* Download theme-liquid-docs on package deploy

* Add data fixtures to test downloading theme-liquid-docs
* Add async download in SourceManager#refresh and mechanism to notify SourceIndex liquid schema is out of date

* Tests for SourceIndex state classes and SourceManager#refresh, create helper for shared stubs

* Cleanup -- fix test dir name to source_index, aggr requires

* Remove class method mock (Net::HTTP.any_instance), affects other tests

* Change SourceIndex#local_path to #local_path! to indicate danger, fix syntax of filename const
### WHY are these changes introduced?

Fixes #658

### WHAT is this pull request doing?

1. Adds logic to `FilterCompletionProvider` to…
- determine the type of the variable/literal (string, number, array, …) sitting before the filter separator ("input type")
- suggest filters that match the specific input type, and filters whose input type is _variable_ (i.e. for more than 1 specific type, e.g. ` | default`)

2. Displays deprecated filters too, so that users can still see the filter they wanted to use.
@mgmanzella mgmanzella marked this pull request as ready for review December 9, 2022 15:43
@mgmanzella mgmanzella requested a review from a team December 9, 2022 15:44
@mgmanzella mgmanzella merged commit d2c6464 into main Dec 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants