You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Fail compilation if there is any problem with strong skipping mode
47
+
strongSkippingFailFastEnabled =false// false by default
41
48
}
49
+
}
42
50
43
-
recompose {
44
-
isHighlighterEnabled =true
45
-
isLoggerEnabled =true
46
-
// or
47
-
logger {
48
-
logModifierChanges =true// true by default since 0.5
49
-
logFunctionChanges =true// true by default since 0.5. log when function arguments (like lambdas or function references) of composable function are changed
50
-
}
51
+
recompose {
52
+
isHighlighterEnabled =true
53
+
isLoggerEnabled =true
54
+
// or
55
+
logger {
56
+
// true by default since 0.5
57
+
// log modifier arguments changes
58
+
logModifierChanges =true
59
+
// true by default since 0.5
60
+
// log when function arguments (like lambdas or function references) of composable function are changed
61
+
logFunctionChanges =true
51
62
}
63
+
}
52
64
53
-
testTag {
54
-
isApplierEnabled =true
55
-
isDrawerEnabled =false
56
-
isCleanerEnabled =false
57
-
}
65
+
testTag {
66
+
isApplierEnabled =true
67
+
isDrawerEnabled =false
68
+
isCleanerEnabled =false
69
+
}
58
70
59
-
sourceInformationClean =true
71
+
sourceInformationClean =true
60
72
}
61
73
```
62
74
3. Enable some plugins in your application code
@@ -127,8 +139,10 @@ And check logs with tag "RecomposeLogger". This already looks like the [Rebugger
127
139
128
140
### IDEA Plugin
129
141
The IDEA plugin currently offers two features:
130
-
- Error for unskippable functions and unstable parameters
# It's usually the same thing as NonSkippableComposable, but the name is more correct for strong skip mode
172
+
ParamsComparedByRef:
173
+
active: true
174
+
ignoredClasses: [ 'kotlin.*', 'my.clazz.Data' ]
155
175
```
156
176
177
+
### Notes
178
+
#### Strong skipping problems suppression since 0.6
179
+
In the compiler plugin, detector rules and plugin functions, ideas can be suppressed by either of the suppressions: NonSkippableComposable or ParamsComparedByRef.
180
+
The NonSkippableComposable suppression will be removed in the future. For now, if strong skip is enabled, the idea plugin will mark NonSkippableComposable as unused and you can easily switch to ParamsComparedByRef
181
+
157
182
### Known issues
158
183
- Idea plugin cannot draw a test tag marker for functions from other libraries if they have a default Modifier value and Modifier is not explicitly passes as an argument. For more see [KTIJ-27688](https://youtrack.jetbrains.com/issue/KTIJ-27688/Quick-documentation-shows-COMPILEDCODE-instead-of-the-real-default-value-for-compiled-code-with-sources)
0 commit comments