#980 TextMate Bundle

msl Sun 14 Feb 2010

Is anyone actively maintaining the TextMate Fan bundle? If so I have some updates for you... If not, I have some updates for everyone else :)

brian Sun 14 Feb 2010

the existing textmate was provided by @liamstask

if you have updates, please feel to email them me and I will add them to the distribution

msl Mon 15 Feb 2010

Will do that tonight once I have proper web access...

In the mean time, does anyone have any requests? (does anyone else even use it??)

Changes so far:

  • Cleaned up syntax to not treat # as a comment
  • Updated keyword definitions (for highlighting)
  • Updated sys type definitions (for highlighting)
  • Updated class snippet definition to include a license header if defined (as a bundle preference)
  • Created mixin snippet definition which includes license header if defined (as a bundle preference)
  • Created enum snippet definition which includes license header if defined (as a bundle preference)
  • Updated tab-order of meth snippet to be in declaration order (personal preference)
  • Created prop snippet definition for simple properties
  • Created propgs snippet for definition of properties with get / set clauses
  • Created debug snippet
  • Updated for snippet to be in declaration order (personal preference)
  • Updated ifelse snippet to allow tabbing through both branches and to be in declaration order (personal preference)
  • Created ifelseif snippet to create a multi-branch if / else if / else statement
  • Updated try snippet to allow fuller customisation of try / catch
  • Updated tcf snippet to allow fuller customisation of try / catch / finally
  • Created switch snippet

Martin

liamstask Mon 15 Feb 2010

Yeah - I think the one in hg is basically my first (kinda) working version. I've made a few mods locally but there's definitely lots of scope for improvement :)

Things I've added:

* doc snippet that simply looks like

**
** $0
**

* test snippet that looks like

**
**  $1
**
class ${1:TestName} : Test
{
  override Void setup()
  {

  }

  override Void teardown()
  {

  }

  $0
}

Please include those, if you like, and submit a patch...looking forward to pulling it.

msl Mon 15 Feb 2010

Done!

msl Mon 15 Feb 2010

Rightio... My current bundle configuration can be found at http://github.com/martinlau/fantom-textmate-bundle.

Interested to hear anyone's thoughts, suggestions and abuse!

Martin

liamstask Tue 16 Feb 2010

Looks pretty good to me. I haven't actively coded much with it, but having loaded it up and done a quick browse, nothing seemed out of place. The expanded snippets look nice - thanks!

BTW, for whatever reason, my laptop didn't want to untar the archive in your git repo...had to clone, and then it was fine. Might consider making a proper download bundle once you're ready to distribute.

msl Fri 19 Feb 2010

Downloads are up on github now. A few minor changes to what went up the other day have been pushed as well.

Still have a few things I want to put in (specifically a preference for where you like your curly brackets: tight } else {; loose }\nelse {; or sparse }\nelse\n{ but as before - still open for other requests.

andy Wed 20 Oct 2010

Due to size and maintenance, we removed the bundle from Fantom directly. A link got added to docTools::IDE, to @msl github page with the latest version. So check there for the latest and greatest in TextMate Fantom goodness.

Link to github: http://github.com/martinlau/fantom-textmate-bundle

Login or Signup to reply.