Interface: Issue
Defined in: cspell-types/dist/index.d.mts:129
Extends
Omit<TextDocumentOffset,"doc">
Properties
col
col:
number
Defined in: cspell-types/dist/index.d.mts:110
Inherited from
context?
optionalcontext:TextOffset
Defined in: cspell-types/dist/index.d.mts:133
The text surrounding the issue text. It is only included if the reporter cannot generated it automatically.
hasPreferredSuggestions?
optionalhasPreferredSuggestions:boolean
Defined in: cspell-types/dist/index.d.mts:168
This setting is used for common typo detection.
true- if it has been determined if preferred suggestions are available.false- if preferred suggestions are NOT available.undefined- if it has not been determined.
Since
9.1.0
hasSimpleSuggestions?
optionalhasSimpleSuggestions:boolean
Defined in: cspell-types/dist/index.d.mts:160
true - if it has been determined if simple suggestions are available.
false - if simple suggestions are NOT available.
undefined - if it has not been determined.
Since
9.1.0
isFlagged?
optionalisFlagged:boolean
Defined in: cspell-types/dist/index.d.mts:137
true if the issue has been flagged as a forbidden word.
issueType?
optionalissueType:IssueType
Defined in: cspell-types/dist/index.d.mts:149
Issues are spelling issues unless otherwise specified.
length?
optionallength:number
Defined in: cspell-types/dist/index.d.mts:104
Assumed to match text.length if the text has not been transformed.
Inherited from
line
line:
TextOffset
Defined in: cspell-types/dist/index.d.mts:111
Inherited from
message?
optionalmessage:string
Defined in: cspell-types/dist/index.d.mts:153
Optional message to show.
offset
offset:
number
Defined in: cspell-types/dist/index.d.mts:100
The offset into the document.
Inherited from
row
row:
number
Defined in: cspell-types/dist/index.d.mts:109
Inherited from
suggestions?
optionalsuggestions:string[]
Defined in: cspell-types/dist/index.d.mts:141
An optional array of replacement strings.
suggestionsEx?
optionalsuggestionsEx:Suggestion[]
Defined in: cspell-types/dist/index.d.mts:145
An optional array of suggestions.
text
text:
string
Defined in: cspell-types/dist/index.d.mts:96
The text found at the offset. If the text has been transformed, then the length might not match length.
Example: Original: cafe\u0301, text: café
Inherited from
uri?
optionaluri:string
Defined in: cspell-types/dist/index.d.mts:107