scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
231 stars 21 forks source link

Deleting a file in the package explorer doesn't close the file in the editor #393

Closed scabug closed 13 years ago

scabug commented 16 years ago

Deleting a file in the package explorer doesn't close the file in the editor if the file has been modified (has an asterisk in the filename). I create a Scala package and a class or application in it. If the class or application is aved before I delete the class or application in the package explorer, the file is deleted and the editor tab with that class or appliation is closed. But if I modify the file in the editor without saving it, the file is deleted in the package explorer but stays open in the editor. I am using Eclipse 3.3 europa and plugin core 2.4.3 on Windows.

org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.httpclient.wire.header=off org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=off org.eclipse.equinox.launcher.splash.handle=852354 org.eclipse.equinox.launcher.splash.location=C:\Eclipse-3.3\plugins\org.eclipse.platform_3.3.0.v20070613\splash.bmp org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5 org.osgi.framework.language=en org.osgi.framework.os.name=Windows2003 org.osgi.framework.os.version=5.2 org.osgi.framework.processor=x86 org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers org.osgi.framework.vendor=Eclipse org.osgi.framework.version=1.4.0 org.osgi.supports.framework.extension=true org.osgi.supports.framework.fragment=true org.osgi.supports.framework.requirebundle=true os.arch=x86 os.name=Windows 2003 os.version=5.2 osgi.arch=x86 osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start osgi.bundlestore=C:\Eclipse-3.3\configuration\org.eclipse.osgi\bundles osgi.compatibility.bootdelegation=true osgi.configuration.area=file:/C:/Eclipse-3.3/configuration/ osgi.framework=file:/c:/Eclipse-3.3/plugins/org.eclipse.osgi_3.3.0.v20070530.jar osgi.framework.beginningstartlevel=1 osgi.framework.shape=jar osgi.framework.version=3.3.0.v20070530 osgi.install.area=file:/C:/Eclipse-3.3/ osgi.instance.area=file:/C:/Eclipse-3.3/workspace/ osgi.instance.area.default=file:/C:/Documents and Settings/Administrator/workspace/ osgi.logfile=C:\Eclipse-3.3\workspace.metadata.log osgi.manifest.cache=C:\Eclipse-3.3\configuration\org.eclipse.osgi\manifests osgi.nl=en_US osgi.os=win32 osgi.splashLocation=C:\Eclipse-3.3\plugins\org.eclipse.platform_3.3.0.v20070613\splash.bmp osgi.splashPath=platform:/base/plugins/org.eclipse.platform osgi.syspath=c:\Eclipse-3.3\plugins osgi.ws=win32 path.separator=; sun.arch.data.model=32 sun.boot.class.path=C:\Program Files\Java\jre1.5.0_11\lib\rt.jar;C:\Program Files\Java\jre1.5.0_11\lib\i18n.jar;C:\Program Files\Java\jre1.5.0_11\lib\sunrsasign.jar;C:\Program Files\Java\jre1.5.0_11\lib\jsse.jar;C:\Program Files\Java\jre1.5.0_11\lib\jce.jar;C:\Program Files\Java\jre1.5.0_11\lib\charsets.jar;C:\Program Files\Java\jre1.5.0_11\classes sun.boot.library.path=C:\Program Files\Java\jre1.5.0_11\bin sun.cpu.endian=little sun.cpu.isalist= sun.desktop=windows sun.io.unicode.encoding=UnicodeLittle sun.jnu.encoding=Cp1252 sun.management.compiler=HotSpot Client Compiler sun.os.patch.level= user.country=US user.dir=C:\Eclipse-3.3 user.home=C:\Documents and Settings\Administrator user.language=en user.name=Administrator user.timezone=Asia/Tokyo user.variant=

scabug commented 16 years ago

Imported From: https://issues.scala-lang.org/browse/SI-393?orig=1 Reporter: Fred Janon (fjanon) Assignee: @mcdirmid

scabug commented 16 years ago

@milessabin said: I can't reproduce this. I suspect fixed incidentally some time ago.

scabug commented 15 years ago

@odersky said: Milestone next_bugfix deleted