Changes between Version 3 and Version 4 of ReleaseNotes_0.9.5
- Timestamp:
- 12/07/13 19:42:43 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReleaseNotes_0.9.5
v3 v4 15 15 == IDE == 16 16 17 One of the most notable recent developments for Cobra is actually outside the compiler. The Cobra add-in for MonoDevelop / XamarinStudio offers syntax highlighting, background compilation, member completion suggestions, parameter completion, mouseover tooltips and go to declaration. 17 One of the most notable recent developments for Cobra is actually outside the compiler. The Cobra add-in for MonoDevelop / XamarinStudio offers 18 * syntax highlighting 19 * background compilation 20 * member completion suggestions 21 * parameter completion 22 * mouseover tooltips 23 * go to declaration 18 24 19 25 20 26 == Language == 27 28 * Support optional and named parameters. For example: 29 {{{ 30 #!cobra 31 class X 32 33 def main 34 .show('foo') 35 .show('bar', 5) 36 .show('baz', count = 3) 37 .show(s='can', count = 2) 38 39 def show(s as String, count as int = 2) 40 for i in count, print s 41 print 42 }}} 21 43 22 44 * Added modifier sections in type declarations. For example: … … 35 57 def baz 36 58 pass 37 }}}38 39 * Support optional and named parameters. For example:40 {{{41 class X42 43 def main44 .show('foo')45 .show('bar', 5)46 .show('baz', count = 3)47 .show(s='can', count = 2)48 49 def show(s as String, count as int = 2)50 for i in count, print s51 print52 59 }}} 53 60