Dev-Cpp icon indicating copy to clipboard operation
Dev-Cpp copied to clipboard

Code completion suggests out-of-scope variables

Open letangphuquy opened this issue 4 years ago • 2 comments

image

As you can see, y is in bracket closure, an inner scope. If I access y outside of the scope, this should get Compile Error.

letangphuquy avatar Sep 05 '21 04:09 letangphuquy

More example : image It should suggest at this instead : image

letangphuquy avatar Sep 05 '21 04:09 letangphuquy

The code-completion feature has few bugs as I listed above, from the Bloodshed-DevCpp. Hope you devs can fix it soon <3.

letangphuquy avatar Sep 05 '21 04:09 letangphuquy