File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/language_server/src/robotcode/language_server/robotframework/parts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1739,7 +1739,7 @@ def complete_import() -> Optional[List[CompletionItem]]:
17391739 )
17401740 ),
17411741 detail = e .kind .value ,
1742- sort_text = f"030_{ e } " ,
1742+ sort_text = f"030_{ e . label } " ,
17431743 insert_text_format = InsertTextFormat .PLAIN_TEXT ,
17441744 text_edit = TextEdit (range = r , new_text = e .label ) if r is not None else None ,
17451745 data = CompletionItemData (
@@ -1936,7 +1936,7 @@ def complete_ResourceImport( # noqa: N802
19361936 )
19371937 ),
19381938 detail = e .kind .value ,
1939- sort_text = f"030_{ e } " ,
1939+ sort_text = f"030_{ e . label } " ,
19401940 insert_text_format = InsertTextFormat .PLAIN_TEXT ,
19411941 text_edit = TextEdit (range = r , new_text = e .label ) if r is not None else None ,
19421942 data = CompletionItemData (
@@ -2060,7 +2060,7 @@ def complete_import() -> Optional[List[CompletionItem]]:
20602060 )
20612061 ),
20622062 detail = e .kind .value ,
2063- sort_text = f"030_{ e } " ,
2063+ sort_text = f"030_{ e . label } " ,
20642064 insert_text_format = InsertTextFormat .PLAIN_TEXT ,
20652065 text_edit = TextEdit (range = r , new_text = e .label ) if r is not None else None ,
20662066 data = CompletionItemData (
You can’t perform that action at this time.
0 commit comments