yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeLanguage server: sort completion candidate by relevance. (#7626)3865a6596

master
260 B16 linesraw
1//TEST:LANG_SERVER(filecheck=CHECK):
2
3// Test that completion candidates are sorted according to context.
4
5int myHelper() { return 0; }
6
7
8void test(int p)
9{
10//COMPLETE:11,13
11    int x = 
12
13}
14
15// CHECK: p:{{.*}}sort(1:p)
16// CHECK: myHelper:{{.*}}sort(1:myHelper)