Skip to content

Commit

Permalink
updated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe committed Oct 22, 2024
1 parent 1834428 commit ca8d6f1
Showing 1 changed file with 51 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,57 @@ import tokentree.TokenTreeBuilder;

class OrganizeImportsFeature {
static final stdLibPackages:Array<String> = [
"cpp", "cs", "eval", "flash", "haxe", "hl", "java", "js", "lua", "neko", "php", "python", "sys", "Any", "Array", "ArrayAccess", "Bool", "Class",
"Date", "DateTools", "Dynamic", "EReg", "Enum", "EnumValue", "Float", "Int", "IntIterator", "Iterable", "Iterator", "KeyValueIterable",
"KeyValueIterator", "Lambda", "List", "Map", "Math", "Null", "Reflect", "Single", "Std", "String", "StringBuf", "StringTools", "Sys", "SysError",
"Type", "UInt", "UnicodeString", "ValueType", "Void", "Xml", "XmlType"
"cpp",
"cs",
"eval",
"flash",
"haxe",
"hl",
"java",
"js",
"lua",
"neko",
"php",
"python",
"sys",
"Any",
"Array",
"ArrayAccess",
"Bool",
"Class",
"Date",
"DateTools",
"Dynamic",
"EReg",
"Enum",
"EnumValue",
"Float",
"Int",
"IntIterator",
"Iterable",
"Iterator",
"KeyValueIterable",
"KeyValueIterator",
"Lambda",
"List",
"Map",
"Math",
"Null",
"Reflect",
"Single",
"Std",
"String",
"StringBuf",
"StringTools",
"Sys",
"SysError",
"Type",
"UInt",
"UnicodeString",
"ValueType",
"Void",
"Xml",
"XmlType"
];

public static function organizeImports(doc:HaxeDocument, context:Context, unusedRanges:Array<Range>):Array<TextEdit> {
Expand Down

0 comments on commit ca8d6f1

Please sign in to comment.