Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Scrapbook page - Code assist not working...
Scrapbook page - Code assist not working... [message #267732] Thu, 15 January 2009 06:12 Go to next message
Eclipse UserFriend
Originally posted by: zerocode.gmx.com

Question: I'm running 3.4.1 to dev in Java. In a new project I wanted to
create a Scrapbook page to run some tests. I added my project in to test
some code. That is when I noticed code suggestion tool (Ctrl+Space)
after typing "new", "new - create new object" doesn't appear.
Re: Scrapbook page - Code assist not working... [message #267745 is a reply to message #267732] Thu, 15 January 2009 18:16 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
I do not believe scrapbook pages support templates.
The proposal for "new - create new object" is a code assist template

HTH
Darins
http://runnerwhocodes.blogspot.com

"Jimmy Dean" <zerocode@gmx.com> wrote in message
news:gkmk4h$g6t$1@build.eclipse.org...
> Question: I'm running 3.4.1 to dev in Java. In a new project I wanted to
> create a Scrapbook page to run some tests. I added my project in to test
> some code. That is when I noticed code suggestion tool (Ctrl+Space) after
> typing "new", "new - create new object" doesn't appear.
Re: Scrapbook page - Code assist not working... [message #267759 is a reply to message #267745] Fri, 16 January 2009 01:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zerocode.gmx.com

Darin,

Thank you very much for your response. I was following Eclipse and Java
for Total Beginners video's they show using code assist with a
scrapbook. When I hit (CTRL+Space) it shows Java Class Objects.

http://www.eclipse.org/resources/resource.php?id=392

The videos are great. I had done it once but lost my laptop. After a
reinstall and a new HD it did not work. :(

Any ideas?

Darin Swanson wrote:
> I do not believe scrapbook pages support templates.
> The proposal for "new - create new object" is a code assist template
>
> HTH
> Darins
> http://runnerwhocodes.blogspot.com
>
> "Jimmy Dean" <zerocode@gmx.com> wrote in message
> news:gkmk4h$g6t$1@build.eclipse.org...
>> Question: I'm running 3.4.1 to dev in Java. In a new project I wanted to
>> create a Scrapbook page to run some tests. I added my project in to test
>> some code. That is when I noticed code suggestion tool (Ctrl+Space) after
>> typing "new", "new - create new object" doesn't appear.
>
>
Re: Scrapbook page - Code assist not working... [message #267804 is a reply to message #267759] Fri, 16 January 2009 19:38 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Which lesson?

Darins
http://runnerwhocodes.blogspot.com

"Jimmy Dean" <zerocode@gmx.com> wrote in message
news:gkooec$86t$1@build.eclipse.org...
> Darin,
>
> Thank you very much for your response. I was following Eclipse and Java
> for Total Beginners video's they show using code assist with a scrapbook.
> When I hit (CTRL+Space) it shows Java Class Objects.
>
> http://www.eclipse.org/resources/resource.php?id=392
>
> The videos are great. I had done it once but lost my laptop. After a
> reinstall and a new HD it did not work. :(
>
> Any ideas?
>
> Darin Swanson wrote:
>> I do not believe scrapbook pages support templates.
>> The proposal for "new - create new object" is a code assist template
>>
>> HTH
>> Darins
>> http://runnerwhocodes.blogspot.com
>>
>> "Jimmy Dean" <zerocode@gmx.com> wrote in message
>> news:gkmk4h$g6t$1@build.eclipse.org...
>>> Question: I'm running 3.4.1 to dev in Java. In a new project I wanted to
>>> create a Scrapbook page to run some tests. I added my project in to test
>>> some code. That is when I noticed code suggestion tool (Ctrl+Space)
>>> after typing "new", "new - create new object" doesn't appear.
>>
Re: Scrapbook page - Code assist not working... [message #267808 is a reply to message #267804] Sat, 17 January 2009 02:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zerocode.gmx.com

Lession 9 Time: 2min 27Sec

in the scrapbook he types in:

new(Then CTRL+SPACE and his shows new - create new object, NEW -
com.sun.org.acpache Etc)

Darin Swanson wrote:
> Which lesson?
>
> Darins
> http://runnerwhocodes.blogspot.com
>
> "Jimmy Dean" <zerocode@gmx.com> wrote in message
> news:gkooec$86t$1@build.eclipse.org...
>> Darin,
>>
>> Thank you very much for your response. I was following Eclipse and Java
>> for Total Beginners video's they show using code assist with a scrapbook.
>> When I hit (CTRL+Space) it shows Java Class Objects.
>>
>> http://www.eclipse.org/resources/resource.php?id=392
>>
>> The videos are great. I had done it once but lost my laptop. After a
>> reinstall and a new HD it did not work. :(
>>
>> Any ideas?
>>
>> Darin Swanson wrote:
>>> I do not believe scrapbook pages support templates.
>>> The proposal for "new - create new object" is a code assist template
>>>
>>> HTH
>>> Darins
>>> http://runnerwhocodes.blogspot.com
>>>
>>> "Jimmy Dean" <zerocode@gmx.com> wrote in message
>>> news:gkmk4h$g6t$1@build.eclipse.org...
>>>> Question: I'm running 3.4.1 to dev in Java. In a new project I wanted to
>>>> create a Scrapbook page to run some tests. I added my project in to test
>>>> some code. That is when I noticed code suggestion tool (Ctrl+Space)
>>>> after typing "new", "new - create new object" doesn't appear.
>
Re: Scrapbook page - Code assist not working... [message #505459 is a reply to message #267732] Wed, 30 December 2009 23:46 Go to previous messageGo to next message
Geoff Ringent is currently offline Geoff RingentFriend
Messages: 1
Registered: December 2009
Location: Sydney, Australia
Junior Member
Eclipse User wrote on Thu, 15 January 2009 01:12
Originally posted by: zerocode.gmx.com

Question: I'm running 3.4.1 to dev in Java. In a new project I wanted to
create a Scrapbook page to run some tests. I added my project in to test
some code. That is when I noticed code suggestion tool (Ctrl+Space)
after typing "new", "new - create new object" doesn't appear.



Nearly one year later with no solution ????

I have the same issue ... perhaps its a matter of 'preferences'?? ... but i cannot find where it is.

Can somebody please enlighten me ... because i can see 'code assist' templates working in Eclipse Scrapbook in the Video Tutorial @ "Eclipse And Java For Total Beginners" video tutorial >>> http://eclipsetutorial.sourceforge.net/.
Re: Scrapbook page - Code assist not working... [message #506475 is a reply to message #505459] Thu, 07 January 2010 16:27 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Geoff Ringent wrote:
> Eclipse User wrote on Thu, 15 January 2009 01:12
>> Originally posted by: zerocode.gmx.com
>>
>> Question: I'm running 3.4.1 to dev in Java. In a new project I wanted
>> to create a Scrapbook page to run some tests. I added my project in
>> to test some code. That is when I noticed code suggestion tool
>> (Ctrl+Space) after typing "new", "new - create new object" doesn't
>> appear.
>
>
>
> Nearly one year later with no solution ????
You should start by entering a feature request for it (there seems to be
none).

Dani
>
>
> I have the same issue ... perhaps its a matter of 'preferences'?? ...
> but i cannot find where it is.
>
> Can somebody please enlighten me ... because i can see 'code assist'
> templates working in Eclipse Scrapbook in the Video Tutorial @
> "Eclipse And Java For Total Beginners" video tutorial >>>
> http://eclipsetutorial.sourceforge.net/
>
Re: Scrapbook page - Code assist not working... [message #540100 is a reply to message #506475] Mon, 14 June 2010 21:47 Go to previous messageGo to next message
Micheal  is currently offline Micheal Friend
Messages: 3
Registered: June 2010
Junior Member
I'm also having this issue, CTRL-Space will not give me anything about a new object as this tutorial obviously shows.

What am I missing here?
Re: Scrapbook page - Code assist not working... [message #637811 is a reply to message #267732] Mon, 08 November 2010 23:45 Go to previous messageGo to next message
Brian  is currently offline Brian Friend
Messages: 3
Registered: November 2010
Junior Member
I am now doing this tutorial, and experience the same issue. HELP PLEASE!
Re: Scrapbook page - Code assist not working... [message #650646 is a reply to message #637811] Tue, 25 January 2011 19:45 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 1
Registered: January 2011
Junior Member
Under Preferences => Java => Editor => Templates
find the 'new'entry under name, select it, click 'edit..' and change the context from 'java statements' to 'java', click ok.

Code assist in your scrapbook page should display the entry for new object now.
Re: Scrapbook page - Code assist not working... [message #702573 is a reply to message #650646] Tue, 26 July 2011 14:35 Go to previous messageGo to next message
abd.developer is currently offline abd.developerFriend
Messages: 1
Registered: July 2011
Junior Member
Thank you. This info was very helpful.
icon14.gif  Re: Scrapbook page - Code assist not working... [message #759144 is a reply to message #650646] Sat, 26 November 2011 21:39 Go to previous messageGo to next message
Chris is currently offline ChrisFriend
Messages: 1
Registered: November 2011
Junior Member

Thanks Marco! you solved this issue for me and many others
Re: Scrapbook page - Code assist not working... [message #759620 is a reply to message #650646] Tue, 29 November 2011 11:34 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 25.01.2011 20:45, Marco wrote:
> Under Preferences => Java => Editor => Templates
> find the 'new'entry under name, select it, click 'edit..' and change
> the context from 'java statements' to 'java', click ok.
>
> Code assist in your scrapbook page should display the entry for new
> object now.

I've changed the context for that template so that it should work out of
the box in the future.

Dani
Re: Scrapbook page - Code assist not working... [message #780678 is a reply to message #267732] Thu, 19 January 2012 00:09 Go to previous messageGo to next message
Todd S is currently offline Todd SFriend
Messages: 3
Registered: January 2012
Junior Member
On Tue, 29 November 2011 Dani Megert wrote:

>I've changed the context for that template so that it should work out of
>the box in the future.

>Dani

This problem still exists in the latest version (at the time of this writing) of Eclipse IDE for Java Developers
Version: Indigo (v3.7) Service Release 1
Build id: 20110916-0149
downloaded from www.eclipse.org/downloads/

You still have to perform the changes suggested by Marco in message 650646 above namely:

> Under Window => Preferences => Java => Editor => Templates
> find the 'new' entry under name, select it, click 'Edit...' and change
> the Context: from 'Java statements' to 'Java', click OK.
>
> Code assist in your scrapbook page should now display the template for new
> object now.
Re: Scrapbook page - Code assist not working... [message #780679 is a reply to message #267732] Thu, 19 January 2012 00:11 Go to previous messageGo to next message
Todd S is currently offline Todd SFriend
Messages: 3
Registered: January 2012
Junior Member
On Tue, 29 November 2011 Dani Megert wrote:

>I've changed the context for that template so that it should work out of
>the box in the future.

>Dani

This problem still exists in the latest version (at the time of this writing) of Eclipse IDE for Java Developers
Version: Indigo (v3.7) Service Release 1
Build id: 20110916-0149
downloaded from www.eclipse.org/downloads/

You still have to perform the changes suggested by Marco in message 650646 above namely:

> Under Window => Preferences => Java => Editor => Templates
> find the 'new' entry under name, select it, click 'Edit...' and change
> the Context: from 'Java statements' to 'Java', click OK.
>
> Code assist in your scrapbook page should now display the template for new
> object now.
Re: Scrapbook page - Code assist not working... [message #780680 is a reply to message #267732] Thu, 19 January 2012 00:14 Go to previous messageGo to next message
Todd S is currently offline Todd SFriend
Messages: 3
Registered: January 2012
Junior Member
On Tue, 29 November 2011 Dani Megert wrote:

>I've changed the context for that template so that it should work out of
>the box in the future.

>Dani

This problem still exists in the latest version (at the time of this writing) of Eclipse IDE for Java Developers
Version: Indigo (v3.7) Service Release 1
Build id: 20110916-0149
downloaded from www.eclipse.org/downloads/

You still have to perform the changes suggested by Marco in message 650646 above namely:

> Under Window => Preferences => Java => Editor => Templates
> find the 'new' entry under name, select it, click 'Edit...' and change
> the Context: from 'Java statements' to 'Java', click OK.
>
> Code assist in your scrapbook page should now display the template for new
> object now.
Re: Scrapbook page - Code assist not working... [message #782799 is a reply to message #780680] Tue, 24 January 2012 13:26 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 19.01.2012 06:09, Todd S wrote:
> On Tue, 29 November 2011 Dani Megert wrote:
>
>> I've changed the context for that template so that it should work out of
>> the box in the future.
>
>> Dani
>
> This problem still exists in the latest version (at the time of this
> writing) of Eclipse IDE for Java Developers
> Version: Indigo (v3.7) Service Release 1
> Build id: 20110916-0149
Yes of course. My comment was made on November 29, so it's obvious that
the fix isn't in a build from September. Try 3.8/4.2 M4.

Dani

> downloaded from www.eclipse.org/downloads/
>
> You still have to perform the changes suggested by Marco in message
> 650646 above namely:
>
>> Under Window => Preferences => Java => Editor => Templates
>> find the 'new' entry under name, select it, click 'Edit...' and change
>> the Context: from 'Java statements' to 'Java', click OK.
>>
>> Code assist in your scrapbook page should now display the template
>> for new
>> object now.
Re: Scrapbook page - Code assist not working... [message #903887 is a reply to message #782799] Mon, 27 August 2012 07:01 Go to previous messageGo to next message
Joe Rue is currently offline Joe RueFriend
Messages: 1
Registered: August 2012
Junior Member
Problem exists in Eclipse IDE for Java Developers
Version: Helios Service Release 2
Build id: 20110218-0911
Re: Scrapbook page - Code assist not working... [message #904379 is a reply to message #903887] Tue, 28 August 2012 10:50 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 27.08.2012 09:01, Joe Rue wrote:
> Problem exists in Eclipse IDE for Java Developers
> Version: Helios Service Release 2
> Build id: 20110218-0911
Please read my previous comment again ;-)

Dani
Previous Topic:Eclipse custom errors
Next Topic:Eclipse BIRT in spanish?
Goto Forum:
  


Current Time: Fri Apr 19 18:10:53 GMT 2024

Powered by FUDForum. Page generated in 0.09604 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top