flutter-code-editor icon indicating copy to clipboard operation
flutter-code-editor copied to clipboard

Handle Scala multiline imports

Open Malarg opened this issue 2 years ago • 0 comments

Fix the block creation algorithm so that it can handle multiline scala imports. Example:

import users.User  // import the class User
import users.{ 
  User, 
  UserPreferences
}  // Only imports selected members''';

This code should return:

[FB(startLine: 0, endLine: 4, type: FBT.imports)]

Malarg avatar Oct 04 '22 15:10 Malarg