jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

No check for file name conflicts when renaming main tab. #192

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a sketch S1.
2. Add a tab called file S2.cpp.
3. Rename the main sketch file from S1 to S2.

What is the expected output? What do you see instead?
It should prevent the rename because a main sketch file (.pde) of S2 should 
conflict with S2.cpp.  
Instead, the rename works, but subsequent compilation of the sketch fails 
because S2.cpp 
overwrites the main sketch file.

Original issue reported on code.google.com by dmel...@gmail.com on 28 Jan 2010 at 2:01

GoogleCodeExporter commented 8 years ago

Original comment by dmel...@gmail.com on 29 Jan 2010 at 8:57