This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-04-10 15:05:24

DoronRajwan
Scratcher
Registered: 2009-03-24
Posts: 7

Add 'comments' to the code

Like a programming language, sometimes we want to put comment of why we've wrote something in a specific way.

I suggest adding the ability that each block can have a 'comment'.

Doron

Offline

 

#2 2009-04-10 15:08:17

big-bang
Scratcher
Registered: 2008-02-21
Posts: 1000+

Re: Add 'comments' to the code

DoronRajwan wrote:

Like a programming language, sometimes we want to put comment of why we've wrote something in a specific way.

I suggest adding the ability that each block can have a 'comment'.

Doron

There is already a comment feature, just right-click empty space (ctrl-click if you're a Mac user) and select "comment". You can drag them around and I don't think there's a cap for how many characters you can fill them up with. Older versions of Scratch used a comment block that you could insert in your script, but I don't think 1.3[.1] has it.


http://i47.tinypic.com/6edrbm.jpghttp://i45.tinypic.com/dw9hmw.jpghttp://i50.tinypic.com/f28tvn.jpghttp://i45.tinypic.com/ruwaop.jpg

Offline

 

#3 2009-04-10 15:11:54

DoronRajwan
Scratcher
Registered: 2009-03-24
Posts: 7

Re: Add 'comments' to the code

I was unaware of this feature. That's all I needed.

Thanks,
  Doron

Offline

 

#4 2009-04-12 01:56:21

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Re: Add 'comments' to the code

It's not quite the same though, the comments float separate from the code blocks, which is very annoying is you use the "clean up" feature or otherwise move the code blocks around.

I wish they would either bring back the "comment blocks" from the beta version or let you somehow "glue" a comment to a particular script.


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

#5 2009-04-12 03:00:58

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Add 'comments' to the code

ManaUser wrote:

It's not quite the same though, the comments float separate from the code blocks, which is very annoying is you use the "clean up" feature or otherwise move the code blocks around.

I wish they would either bring back the "comment blocks" from the beta version or let you somehow "glue" a comment to a particular script.

This feature will be included in Scratch 1.4 - you'll be able to stick comments to blocks.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#6 2009-04-13 18:56:27

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Re: Add 'comments' to the code

Good to hear.  smile


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

#7 2009-04-14 06:05:11

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Add 'comments' to the code

JSO wrote:

ManaUser wrote:

It's not quite the same though, the comments float separate from the code blocks, which is very annoying is you use the "clean up" feature or otherwise move the code blocks around.

I wish they would either bring back the "comment blocks" from the beta version or let you somehow "glue" a comment to a particular script.

This feature will be included in Scratch 1.4 - you'll be able to stick comments to blocks.

Be careful when talking about features that are in Beta...they don't always make it to the final release.  Remember the Comment Block!  So...it is very likely that this feature will be in 1.4 - but nothing is guaranteed.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer