Samuel
@samuel.fm
Zed people (Zedders?) how can I make it so `#/components/Typography` is always the first option, `react-native` is the second, and never suggest reanimated internals
6 1 34
Bas
powered by vtsls/tsserver right? Should be possible to manually define the priority for different patterns using github.com/tidalhq/ts-p... It's a little unintuitive but it does work in my experience (though its been a while since I've used it)
GitHub - tidalhq/ts-plugin-sort-import-suggestions: Customize the priority of auto-import suggestions from TypeScript Language Server
Customize the priority of auto-import suggestions from TypeScript Language Server - tidalhq/ts-plugin-sort-import-suggestions
github.com
1 1 11
Bas
o yea don't think I've tried it with things that overlap before. Does adding Text\b before TextEncoder in moveUpPatterns not work?
1 2
Bas
Or maybe the other way around, looking at the code it seems like whatever comes later actually ends up higher
1 2
Nanniii
like twitter i'd love a subscribe/watch to a thread like on github issues ahah
6
Luna
Zed import suggestions always have been pretty awful for me - never got it to be useful sadly
4
Matija Marohnić
That was a problem for me in VS Code, but I don’t think Zed yet has a mechanism for defining hierarchy either. Good opportunity to suggest a feature, perhaps? Although, I would prefer if I didn’t have to do anything extra in Zed to get this behavior.
2