Touch Develop retirement postponed until June 22, 2019. Sign-in and access to cloud assets to be removed on May 23, 2018.Learn More..


how to search

TouchDevelop allows you to search for all published scripts, users, comments or other assets in the bazaar. When editing a script, you can also search for actions, data, etc. defined in that script, and you can search for additional items to insert.

where to find what

search for anything

Go to the hub, locate the learn section, and tap on Search. The search will look through scripts that you have installed on your device, and then it will perform a search for scripts, users, comments, art, and everything else in the cloud.

search for scripts

Go to the hub, locate the my scripts section, and tap on See More. The search will look through scripts that you have installed on your device, and then it will perform a search for scripts in the cloud.

script filters

The script search also supports the following filters to select and delete scripts in bulk:
  • me:yes/no, filter by author
  • pub:yes/no, filter published or not published
  • older:days, newer:days, filter by last use time
  • shorter:lines, filter by script size
Any of these filters can be combined. For example, to select all published script not created by you: pub:yes me:no.

search for users

Go to the hub, locate the social section, and tap on Users. The search will only return users.

search for art

Go to the hub, locate the my art section, and tap on See More. The search will only return art (pictures and sounds).

search for something in a particular script

Start editing a script, and tap on the Search code... text box. The search will return any matching declaration or statement in your code.

search for something to insert as part of a command in a script

Start editing a script, and tap on a particular line in the script. Then tap on the Search... text box.
This is a very powerful text box. Your query will be used to find matches as follows:
  • Looking through built-in APIs, and actions exposed by libraries your script references.
  • Looking for art resources (pictures, sounds) available in the cloud
  • Synthesizing valid code fragments that make use of all terms in your search query.
Try typing some of the following in the Search... text box:
  • monster, or cat, or puppy, or space background (will bring up pictures)
  • laser (will bring up sounds)
  • send sms (will bring up matching API)
  • send sms "1234567890" "TouchDevelop is cool" (will synthesize a particular usage of an API, dealing will details like parenthesis and commas)

search query syntax

When searching for assets that have been published in the cloud (scripts, comments, art, users, etc), you can use the following syntax to narrow down the results.
All aspects of a search query are case insensitive.

users

Restrict search to a particular user (or a set of users if multiple are given).
  • @[user nick name without spaces, or user id]
For example, searching for @touchdevelopsamples or @pboj will only return things published by the TouchDevelop Samples user.
To exclude based on a user, add a ~ in front of the query:
  • ~@[user nickname without spaces or user id]

hashtags

Performs full word matching on hashtags in script descriptions, art descriptions, comment texts.
  • #[hashtag]
For example, searching for #OAuthv2 will bring up all scripts with that hashtag, which should have something to do with OAuth version 2.
To exclude based on a hashtag, add a ~ in front of the query:
  • ~#[hashtag]

features

Restricts search to include only scripts that have all the mentioned feature names.
Every type has a feature name (spaces removed), every API has a feature name (the singleton/type it's defined in, concatenated with the property name, and all spaces removed), all other language features have a feature name (action, parameter, if, for, var, assigment, etc.).
If a script is tagged to be a library, then it has the library feature. If a script is exportable by other users, then it has the exportable feature.
Use the following syntax:
  • *[feature name, all spaces removed]
To exclude based on a feature, add a ~ in front of the query:
  • ~*[feature name]
For example, searching for *exportable will bring up all exportable scripts. Facebook *library will bring up all scripts that are libraries and mention Facebook. *mathrandom will bring up all scripts that use Math→random. *bluetoothdevice will bring up all scripts that use the Bluetooth Device type.

script management