Steps to recreate:
-
Create a new npl file
-
Add code that uses one or more of the standard library extra functions and make sure you have an import statement for each function you use e.g.
use stdlib.v1.text.matchesPattern
use stdlib.v1.text.startsWith
use stdlib.v1.text.replaceAllfunction validateRegex(text: Text, regex: Text) returns Boolean → text.matchesPattern(regex);
function removeSpaces(text: Text) returns Text → text.replaceAll(" ", “”, ignoreCase = true)
function startsWith(prefix: Text, text: Text) returns Boolean → text.startsWith(prefix, true)
-
Organise imports - CTRL + OPTION + O (on mac)
Actual result:
all stdlib imports disappear
Expected result:
imports should just be sorted