Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
a38503dc
Commit
a38503dc
authored
6 years ago
by
Alexander.Kirsanov
Browse files
Options
Download
Email Patches
Plain Diff
Quick fix for pattern validation
parent
8588b68a
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/editorconfig/src/org/editorconfig/language/psi/base/EditorConfigHeaderBase.kt
+1
-0
.../editorconfig/language/psi/base/EditorConfigHeaderBase.kt
with
1 addition
and
0 deletions
+1
-0
plugins/editorconfig/src/org/editorconfig/language/psi/base/EditorConfigHeaderBase.kt
+
1
-
0
View file @
a38503dc
...
...
@@ -11,6 +11,7 @@ import org.editorconfig.language.util.EditorConfigPsiTreeUtil.containsErrors
abstract
class
EditorConfigHeaderBase
(
node
:
ASTNode
)
:
EditorConfigHeaderElementBase
(
node
),
EditorConfigHeader
{
final
override
fun
isValidGlob
():
Boolean
{
if
(
header
.
textMatches
(
"["
))
return
false
if
(
containsErrors
(
header
))
return
false
if
(
EditorConfigEmptyHeaderInspection
.
containsIssue
(
header
))
return
false
if
(
EditorConfigNumerousWildcardsInspection
.
containsIssue
(
header
))
return
false
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help