for() in document
harsimranb opened this issue · comments
Harsimran Bath commented
Consider this:
for (var i = 0; i < max; i++) {
var yoyo;
}
we want i to show up in auto completion, if the scope is within for loop.
We do not want i to show up in document outline.
Right now, due to multiple loops, we are getting multiple i vars in both places, causing extreme ugliness.
Harsimran Bath commented
@mhutch I'm not sure if this is an issue. I guess it's fine to show the loop variables in the document outline. What do you think? I'm also looking at the document outline for C#, which doesn't seem to be showing any variables in a method, regardless of loop or not.
Thoughts?