-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(intellij): exclude .nx folder from js/ts service (#1976)
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
apps/intellij/src/main/kotlin/dev/nx/console/ide/DotNxFolderExcludeContributor.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package dev.nx.console.ide | ||
|
||
import com.intellij.javascript.library.exclude.JsExcludeContributor | ||
|
||
class DotNxFolderExcludeContributor : JsExcludeContributor() { | ||
override val excludeFileOrDirName: String | ||
get() = ".nx" | ||
|
||
override val isDirectory: Boolean | ||
get() = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters