pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • Examples
  • Community
  • Blog
  • More
Privacy
Cookies
Publish
Get Updates
Follow Us
Subscribe to the Newsletter

New CloudPebble Code Completion

  • 09 October 2014
  • Katharine Berry
  • Freshly Baked, CloudPebble
  • Comments

CloudPebble today gains significantly enhanced support for code completion, as well as inline syntax checking and the ability to "go to definition".

Check it out!

In particular, the new code completion now features:

  • Fuzzy matching! You can now enter abbrevations (e.g. tlst for text_layer_set_text) and CloudPebble will know what you mean
  • Complete your own symbols! The code completion is now aware of your own symbols and will include them in its suggestions
  • Struct members and unions are now suggested as appropriate, instead of suggesting members that do not exist.

Real-time sanity checking of your code means we will highlight errors and warnings in red and yellow, respectively; you can hover over the icon on the left to see the complaint.

Note: if you are suddenly seeing red all over a header file it's probably missing a #include or some type definitions.

Finally, you can now ⌘-click (Mac) or ctrl-click (Windows, Linux) on symbol names to jump to their definitions in your code - for instance, on a #define to see its value, or on a struct to see its definition.

We appreciate your feedback! Please let us know by commenting here or emailing us at cloudpebble@getpebble.com.


You need JavaScript enabled to read and post comments.
Get Updates
Follow Us
Subscribe to the Newsletter

Categories

  • All Posts
  • #makeawesomehappen
  • At the Pub
  • Beautiful Code
  • CloudPebble
  • Down the Rabbit Hole
  • Freshly Baked
  • Timeline

Authors

  • Thomas Sarlandie
  • Niharika Bedekar
  • Jon Barlow
  • Katharine Berry
  • Cherie Williams
  • Chris Lewis
  • Team Pebble
  • Cat Haines
  • Katherine McAuliffe
  • Alex Lin
  • Alexey Komissarouk
  • Brad Murray
  • Kirby Kohlmorgen
  • Ryan Case
  • Ryan Perry-Nguyen
  • Tom Maremaa
  • Meiguro
  • Keegan Lillo
  • Łukasz Zalewski

Subscribe to the Pebble Developers Newsletter