waterbearlang / waterbear

Visual block syntax for programming languages
http://waterbearlang.com/
358 stars 88 forks source link

Keywords for blocks #672

Open whleung opened 10 years ago

whleung commented 10 years ago

These keywords are for the search filter feature. See #340.

dethe commented 10 years ago

We should automatically add "menu" as a keyword when blocks are added, rather than having to tag all the blocks manually.

whleung commented 10 years ago

Do you mean automatically adding the block's category name as a keyword? I think it already does that.

dethe commented 10 years ago

OK, then what remains to be done?

whleung commented 10 years ago

Right now it only adds the block's category name (e.g. Strings, Sound, etc.) as a keyword. It doesn't add the block's label (e.g. "string [] substring at [] of length []", "set sound [] looping to []" etc.) as a keyword because I think the label is more like a phrase than a keyword. The remaining task is to add appropriate keyword for each block. For example, the block "string [] substring at [] of length []" should have "substring" as a keyword.