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
packagecases;
classIssue7069extendsDisplayTestCase {
/** class Main { var field:Int; static function main(argument:Int) { var local:Int; { var blockLocal:Int; for (i in 0...10) { {-1-} } } } } **/functiontest() {
varresults=toplevel(pos(1));
eq("i", results[0].name);
eq("blockLocal", results[1].name);
eq("local", results[2].name);
eq("argument", results[3].name);
eq("field", results[4].name);
}
}
The reason why this would be helpful is fairly obvious: within that for, you're most likely to need i, then blockLocal, etc...
The text was updated successfully, but these errors were encountered:
IntelliJ sorts the five closest (or most likely by type) first and alphabetizes the rest. However, receiving them in "closest" order, and then re-sorting them, if necessary, is quite acceptable.
(if there's no expected type)
The reason why this would be helpful is fairly obvious: within that
for
, you're most likely to needi
, thenblockLocal
, etc...The text was updated successfully, but these errors were encountered: