lexical-lsp / lexical

Lexical is a next-generation elixir language server
779 stars 77 forks source link

Added boost for matches directly following the last period #708

Closed scohen closed 2 months ago

scohen commented 2 months ago

If something matches starting after the last period (of a likely module) it is boosted. This makes a match for MyModule.Structs.User take precedence over MyModule.User.Something while querying for User

scohen commented 2 months ago

@scottming i made some changes to the scoring that should improve the situations you've mentioned.