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
We need to be able to write to cutomized files when a QuickFix is performed.
For that reason we did a fork and added a parameter named "String? customPath" to the "addGenericFileEdit" from abstract class "ChangeBuilder".
The implementation of the method "addGenericFileEdit" looks like this: @override void addGenericFileEdit( void Function(analyzer_plugin.FileEditBuilder builder) buildFileEdit, { String? customPath, }) { _operations.add( _innerChangeBuilder.addGenericFileEdit(customPath ?? path, buildFileEdit), ); }
Would it be possible to generally allow writing to customized files.
The text was updated successfully, but these errors were encountered:
We have a rule that is searching for StringLiterals used e.g. in Text widget and a DartFix which replaces them with our own translation implementation and for this translation implementation we need to write data to a properties file.
For that reason I already tried what I proposed in the previous note and this is working perfectly fine.
If you want I can do a pull request with my proposal.
We need to be able to write to cutomized files when a QuickFix is performed.
For that reason we did a fork and added a parameter named "String? customPath" to the "addGenericFileEdit" from abstract class "ChangeBuilder".
The implementation of the method "addGenericFileEdit" looks like this:
@override void addGenericFileEdit( void Function(analyzer_plugin.FileEditBuilder builder) buildFileEdit, { String? customPath, }) { _operations.add( _innerChangeBuilder.addGenericFileEdit(customPath ?? path, buildFileEdit), ); }
Would it be possible to generally allow writing to customized files.
The text was updated successfully, but these errors were encountered: