Interface: Issue
Defined in: CSpellReporter.ts:19
Extends
Omit<TextDocumentOffset,"doc">
Properties
col
col:
number
Defined in: TextOffset.ts:21
Inherited from
context?
optionalcontext:TextOffset
Defined in: CSpellReporter.ts:23
The text surrounding the issue text. It is only included if the reporter cannot generated it automatically.
hasPreferredSuggestions?
optionalhasPreferredSuggestions:boolean
Defined in: CSpellReporter.ts:60
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: CSpellReporter.ts:51
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: CSpellReporter.ts:27
true if the issue has been flagged as a forbidden word.
issueType?
optionalissueType:IssueType
Defined in: CSpellReporter.ts:39
Issues are spelling issues unless otherwise specified.
length?
optionallength:number
Defined in: TextOffset.ts:14
Assumed to match text.length if the text has not been transformed.
Inherited from
line
line:
TextOffset
Defined in: TextOffset.ts:22
Inherited from
message?
optionalmessage:string
Defined in: CSpellReporter.ts:43
Optional message to show.
offset
offset:
number
Defined in: TextOffset.ts:10
The offset into the document.
Inherited from
row
row:
number
Defined in: TextOffset.ts:20
Inherited from
suggestions?
optionalsuggestions:string[]
Defined in: CSpellReporter.ts:31
An optional array of replacement strings.
suggestionsEx?
optionalsuggestionsEx:Suggestion[]
Defined in: CSpellReporter.ts:35
An optional array of suggestions.
text
text:
string
Defined in: TextOffset.ts:6
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: TextOffset.ts:18