Interface: Issue
Defined in: cspell-types/dist/index.d.mts:66
Extends
Omit
<TextDocumentOffset
,"doc"
>
Properties
col
col:
number
Defined in: cspell-types/dist/index.d.mts:48
Inherited from
Omit.col
context?
optional
context:TextOffset
Defined in: cspell-types/dist/index.d.mts:70
The text surrounding the issue text. It is only included if the reporter cannot generated it automatically.
hasPreferredSuggestions?
optional
hasPreferredSuggestions:boolean
Defined in: cspell-types/dist/index.d.mts:105
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?
optional
hasSimpleSuggestions:boolean
Defined in: cspell-types/dist/index.d.mts:97
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?
optional
isFlagged:boolean
Defined in: cspell-types/dist/index.d.mts:74
true if the issue has been flagged as a forbidden word.
issueType?
optional
issueType:IssueType
Defined in: cspell-types/dist/index.d.mts:86
Issues are spelling issues unless otherwise specified.
length?
optional
length:number
Defined in: cspell-types/dist/index.d.mts:42
Assumed to match text.length
if the text has not been transformed.
Inherited from
Omit.length
line
line:
TextOffset
Defined in: cspell-types/dist/index.d.mts:49
Inherited from
Omit.line
message?
optional
message:string
Defined in: cspell-types/dist/index.d.mts:90
Optional message to show.
offset
offset:
number
Defined in: cspell-types/dist/index.d.mts:38
The offset into the document.
Inherited from
Omit.offset
row
row:
number
Defined in: cspell-types/dist/index.d.mts:47
Inherited from
Omit.row
suggestions?
optional
suggestions:string
[]
Defined in: cspell-types/dist/index.d.mts:78
An optional array of replacement strings.
suggestionsEx?
optional
suggestionsEx:Suggestion
[]
Defined in: cspell-types/dist/index.d.mts:82
An optional array of suggestions.
text
text:
string
Defined in: cspell-types/dist/index.d.mts:34
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
Omit.text
uri?
optional
uri:string
Defined in: cspell-types/dist/index.d.mts:45
Inherited from
Omit.uri