SKCodeCompletionSessionOptions
public struct SKCodeCompletionSessionOptions : Codable
The default values reflect those defined in SourceKit
-
This property has a default value of
nil.Declaration
Swift
public var filterText: String? -
The result offset.
This property has a default value of
nil.Declaration
Swift
public var requestStart: Int? -
The maximum number of results to return.
This property has a default value of
nil.Declaration
Swift
public var requestLimit: Int? -
This property has a default value of
false.Declaration
Swift
public var sortByName: Bool -
This property has a default value of
true.Declaration
Swift
public var useImportDepth: Bool -
This property has a default value of
false.Declaration
Swift
public var groupOverloads: Bool -
This property has a default value of
false.Declaration
Swift
public var groupStems: Bool -
Greater than one to
reallyHideAllUnderscores.This property has a default value of
1.Note
Not sure whatreallyHideAllUnderscoresmeans; found in the open-source Swift project.Declaration
Swift
public var hideUnderscores: Int -
This property has a default value of
true.Declaration
Swift
public var hideLowPriority: Bool -
This property has a default value of
true.Declaration
Swift
public var hideByName: Bool -
This property has a default value of
true.Declaration
Swift
public var includeExactMatch: Bool -
This property has a default value of
false.Declaration
Swift
public var addInnerResults: Bool -
This property has a default value of
true.Declaration
Swift
public var addInnerOperators: Bool -
This property has a default value of
false.Declaration
Swift
public var addInitsToTopLevel: Bool -
This property has a default value of
true.Declaration
Swift
public var callPatternHeuristics: Bool -
This property has a default value of
true.Declaration
Swift
public var fuzzyMatching: Bool -
This property has a default value of
3.Declaration
Swift
public var showTopNonLiteralResults: Int -
Options for combining priorities.
This property has a default value of
15.Declaration
Swift
public var semanticContextWeight: Int -
This property has a default value of
10.Declaration
Swift
public var fuzzyMatchWeight: Int -
This property has a default value of
2.Declaration
Swift
public var popularityBonus: Int
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public var sourcekitdObject: sourcekitd_object_t? { get }
SKCodeCompletionSessionOptions Structure Reference