FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 543 : rename sketch to the same name as an already existing .java tab
Last modified: 2008-10-21 11:57
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
fjen
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2007-04-10 23:40
if you rename a sketch to the same name as an already existing .java-tab in that sketch the
contents of the main tab will be replaced with the contents of the .java-tab.
- create a new sketch, write something in it
- create a new tab, name it "something.java", write something into it
- rename main tab (sketch) to "something" (without ".java")
this leaves something.pde and something.java in the sketch-folder, both having the same
contents (from something.java)
Additional Comment
#1 From fjen 2007-04-10 23:45
a little correction: actually the contents in the files are not the same, but the main-tab is
showing the contents of the .java tab, so if you press save you will overwrite your original code
from the main-tab. jumping between the two tabs will bring back the original code in the main
tab.
Additional Comment
#2 From fry 2007-04-12 15:17
ouch, okee dokee.. will fix for 0125.
Additional Comment
#3 From fry 2008-10-21 11:19
fixed for release 0154, which isn't 0125, but um, yeah.