Hello,
CoffeeScript bundle has broken syntax highlighting when using division operator ("/") - badly interprets it as start of regexp (screen - http://i.imgur.com/MKDnLiT.png).
Also, will it be possible to compile only selected part of a CoffeeScript code?
Ps. I'm not sure if the list is proper for bundle related issues.
On 18 Mar 2013, at 16:54, Bartłomiej Kubiak wrote:
Also, will it be possible to compile only selected part of a CoffeeScript code?
I added a command so that ⌘B will compiling and display selection (if any).
Ps. I'm not sure if the list is proper for bundle related issues.
For the syntax highlight problem you may have more luck reporting the issue with the original bundle: https://github.com/jashkenas/coffee-script-tmbundle/
The bundle included with TextMate is however a fork, so we’ll have to merge any potential fix. Our fork only exist because I made some improvements that require 2.0 and they don’t want to merge them upstream, but I don’t use CoffeeScript, so I am not suitable for maintaining a fork, i.e. we’ll just have to regularly rebase our improvements with the upstream bundle, but don’t plan to do anything more with it.
Thank you for answering.
On Tue, Mar 19, 2013 at 3:42 PM, Allan Odgaard mailinglist@textmate.org wrote:
On 18 Mar 2013, at 16:54, Bartłomiej Kubiak wrote:
Also, will it be possible to compile only selected part of a CoffeeScript code?
I added a command so that ⌘B will compiling and display selection (if any).
I'm aware of this command. It works perfectly in TM1 but I can't get it work in TM2. When I select part of CoffeeScript code and push cmd+B whole file gets compiled.
Ps. I'm not sure if the list is proper for bundle related issues.
For the syntax highlight problem you may have more luck reporting the issue with the original bundle: https://github.com/jashkenas/coffee-script-tmbundle/
The bundle included with TextMate is however a fork, so we’ll have to merge any potential fix. Our fork only exist because I made some improvements that require 2.0 and they don’t want to merge them upstream, but I don’t use CoffeeScript, so I am not suitable for maintaining a fork, i.e. we’ll just have to regularly rebase our improvements with the upstream bundle, but don’t plan to do anything more with it.
Steven Luscher opened issue in original bundle repository and pointed out possible culprit (more info: https://github.com/jashkenas/coffee-script-tmbundle/issues/127).
-- Regards, Bartek Kubiak
On 20 Mar 2013, at 20:14, Bartłomiej Kubiak wrote:
I added a command so that ⌘B will compiling and display selection (if any).
I'm aware of this command. It works perfectly in TM1 but I can't get it work in TM2. When I select part of CoffeeScript code and push cmd+B whole file gets compiled.
This was added very recently. Check About → Bundles and see if you have this line:
CoffeeScript: ⌘B will now compile and display selection (if any)
On Thu, Mar 21, 2013 at 8:39 AM, Allan Odgaard mailinglist@textmate.org wrote:
On 20 Mar 2013, at 20:14, Bartłomiej Kubiak wrote:
I added a command so that ⌘B will compiling and display selection (if any).
I'm aware of this command. It works perfectly in TM1 but I can't get it work in TM2. When I select part of CoffeeScript code and push cmd+B whole file gets compiled.
This was added very recently. Check About → Bundles and see if you have this line:
CoffeeScript: ⌘B will now compile and display selection (if any)
OK, I just opened TM2, saw the line in About - Bundles and successfully compiled some selection of CoffeeScript code. Thank you!
-- Regards, Bartek Kubiak