代码提示改为字典排序
This commit is contained in:
parent
ed5fee1517
commit
c6bbf265de
|
@ -7560,7 +7560,7 @@
|
||||||
list.addArray(keys);
|
list.addArray(keys);
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
list:list.filter(key=>key.startsWith(token.string)),
|
list:list.filter(key=>key.startsWith(token.string)).sort((a,b)=>(a+'').localeCompare(b+'')),
|
||||||
from:CodeMirror.Pos(cur.line,token.start),
|
from:CodeMirror.Pos(cur.line,token.start),
|
||||||
to:CodeMirror.Pos(cur.line,token.end),
|
to:CodeMirror.Pos(cur.line,token.end),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue