Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #22577
| From | Jim Janney <jjanney@shell.xmission.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Enum in Eclipse Scrapbook |
| Date | 2013-02-27 09:53 -0700 |
| Organization | decimal loadlifters |
| Message-ID | <ydn38whzoj4.fsf@shell.xmission.com> (permalink) |
| References | <515de149-3ee1-482d-a090-82ce264ed142@googlegroups.com> <kgk8pt$ih$1@dont-email.me> <4e2d049c-9a8b-420c-8dfd-293402e7bf95@googlegroups.com> <47939433-d698-4df5-8789-09c4d841fa88@googlegroups.com> <kgl9da$1tt$1@dont-email.me> |
markspace <markspace@nospam.nospam> writes: > On 2/26/2013 11:17 PM, Robert Mark Bram wrote: >> On Wednesday, 27 February 2013 18:04:20 UTC+11, Robert Mark Bram >> wrote: >>> It is an Eclipse Scrapbook page - a jpage file. There is no class >>> as such. >> >> Which most likely means that Eclipse shoves the code into a main >> method I guess.. which may simply mean I cannot declare an enum in a >> Scrapbook. >> > > No se hablo Eclipse Scapbook -- is that a plugin? Like some sort of > bean shell or copy-paste tool? > > I'm used to class names matching file names; when they don't you get > errors like missing top-level classes and whatnot. That's why I > focused in on the file name. I assumed you might have copied the code > to a new file but forgotten to change the file name. > > It does sound like a bug in whatever is doing the parsing here, or at > least a missing feature. The scrapbook is a special Eclipse buffer that lets you enter little code snippets and evaluate them. Since Java is not by nature a dynamic language, it's not surprising that this doesn't always work perfectly. -- Jim Janney
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 21:52 -0800
Re: Enum in Eclipse Scrapbook markspace <markspace@nospam.nospam> - 2013-02-26 22:25 -0800
Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 23:04 -0800
Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 23:17 -0800
Re: Enum in Eclipse Scrapbook markspace <markspace@nospam.nospam> - 2013-02-27 07:41 -0800
Re: Enum in Eclipse Scrapbook Jim Janney <jjanney@shell.xmission.com> - 2013-02-27 09:53 -0700
Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-27 12:12 -0800
Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-02-27 12:25 -0800
Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-28 09:02 +0000
Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-02-28 08:28 -0500
Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-28 15:24 +0000
Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-02-28 16:48 -0500
Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-02-28 14:09 -0800
Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-03-03 21:24 -0500
Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-03-04 11:36 -0800
Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-03-07 14:19 -0500
Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-03-07 13:34 -0800
Re: Enum in Eclipse Scrapbook Lew <lewbloch@gmail.com> - 2013-02-27 12:24 -0800
Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-26 23:28 -0800
Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-27 09:50 +0000
Re: Enum in Eclipse Scrapbook Robert Mark Bram <robertmarkbram@gmail.com> - 2013-02-27 03:43 -0800
Re: Enum in Eclipse Scrapbook lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-27 12:02 +0000
Re: Enum in Eclipse Scrapbook Roedy Green <see_website@mindprod.com.invalid> - 2013-02-28 07:43 -0800
Re: Enum in Eclipse Scrapbook Arne Vajhøj <arne@vajhoej.dk> - 2013-02-28 16:57 -0500
csiph-web