LucaMs Expert Licensed User Longtime User Jan 12, 2022 #1 I was about to write a bug report; "luckily" I did other tests first F7 Rename had not worked well for me; some constants had not been renamed. I found this to happen in lines in conditional compilation blocks. Then, however, I tried and the renaming also happens in those blocks, when they are "active", that is, I set the configuration with the "right" compilation symbol. I wonder if it is good for this to happen or not ?
I was about to write a bug report; "luckily" I did other tests first F7 Rename had not worked well for me; some constants had not been renamed. I found this to happen in lines in conditional compilation blocks. Then, however, I tried and the renaming also happens in those blocks, when they are "active", that is, I set the configuration with the "right" compilation symbol. I wonder if it is good for this to happen or not ?
Erel B4X founder Staff member Licensed User Longtime User Jan 12, 2022 #2 Renaming cannot work in excluded code. The renaming feature relies on the compiler outputs and the excluded code is ignored by the compiler (it must be). Upvote 0
Renaming cannot work in excluded code. The renaming feature relies on the compiler outputs and the excluded code is ignored by the compiler (it must be).
LucaMs Expert Licensed User Longtime User Jan 12, 2022 #3 Erel said: Renaming cannot work in excluded code. The renaming feature relies on the compiler outputs and the excluded code is ignored by the compiler (it must be). Click to expand... Yes, I understand this, technically; but what happened to me will probably happen often, I was calm that I had renamed some constants everywhere in the project. Anyway, even if with some difficulty, I was able to correct my "bug", since the compilation clearly highlighted the problem. Upvote 0
Erel said: Renaming cannot work in excluded code. The renaming feature relies on the compiler outputs and the excluded code is ignored by the compiler (it must be). Click to expand... Yes, I understand this, technically; but what happened to me will probably happen often, I was calm that I had renamed some constants everywhere in the project. Anyway, even if with some difficulty, I was able to correct my "bug", since the compilation clearly highlighted the problem.