Jump to page: 1 2
Thread overview
Are people using textmate for D programming?
May 18, 2013
Stephan Schiffels
May 18, 2013
Jacob Carlborg
May 18, 2013
Stephan Schiffels
May 18, 2013
Jacob Carlborg
May 18, 2013
TommiT
May 18, 2013
Stephan Schiffels
May 25, 2013
TommiT
May 25, 2013
Michael
May 25, 2013
Michael
May 25, 2013
TommiT
May 25, 2013
TommiT
May 27, 2013
Jacob Carlborg
May 26, 2013
TommiT
May 26, 2013
Timothee Cour
May 26, 2013
TommiT
May 18, 2013
Hi everyone,

I would like to get an idea how many people are using Textmate as editor in Mac OS X. I am keen to improve the current bundle. Especially the syntax highlighting seems to be stuck somewhere in D1 or so... also, it'd be great to have some command to run unittests and code-coverage...

I can just proceed and suggest improvements (the bundle is on github), but learning about other people using it would increase my motivation :-)

Stephan
May 18, 2013
On 2013-05-18 13:41, Stephan Schiffels wrote:
> Hi everyone,
>
> I would like to get an idea how many people are using Textmate as editor
> in Mac OS X. I am keen to improve the current bundle. Especially the
> syntax highlighting seems to be stuck somewhere in D1 or so... also,
> it'd be great to have some command to run unittests and code-coverage...
>
> I can just proceed and suggest improvements (the bundle is on github),
> but learning about other people using it would increase my motivation :-)
>
> Stephan

I'm using it. I have made some improvements to the bundle as well. I have updated the build and run commands.

The build command will look for a shell script in the project with the name "build.sh".

The run command will do the same but look for "run.sh". If no run.sh file exists it will run RDMD on the current file.

Both commands will properly handle compile errors and runtime exceptions by creating links back to the source code.

Unfortunately I never made the changes under source control. But I put the whole bundle here:

https://dl.dropboxusercontent.com/u/18386187/D.tmbundle.zip

Note, this bundle is for TextMate 1.5, if there's any difference.

-- 
/Jacob Carlborg
May 18, 2013
thanks for sharing. I am using TM2 (https://github.com/textmate), and I think it might make a difference. Anyway, I think I will try to reanimate the github bundle. You could think about committing your changes to it.

Stephan


On Saturday, 18 May 2013 at 13:22:11 UTC, Jacob Carlborg wrote:
> On 2013-05-18 13:41, Stephan Schiffels wrote:
>> Hi everyone,
>>
>> I would like to get an idea how many people are using Textmate as editor
>> in Mac OS X. I am keen to improve the current bundle. Especially the
>> syntax highlighting seems to be stuck somewhere in D1 or so... also,
>> it'd be great to have some command to run unittests and code-coverage...
>>
>> I can just proceed and suggest improvements (the bundle is on github),
>> but learning about other people using it would increase my motivation :-)
>>
>> Stephan
>
> I'm using it. I have made some improvements to the bundle as well. I have updated the build and run commands.
>
> The build command will look for a shell script in the project with the name "build.sh".
>
> The run command will do the same but look for "run.sh". If no run.sh file exists it will run RDMD on the current file.
>
> Both commands will properly handle compile errors and runtime exceptions by creating links back to the source code.
>
> Unfortunately I never made the changes under source control. But I put the whole bundle here:
>
> https://dl.dropboxusercontent.com/u/18386187/D.tmbundle.zip
>
> Note, this bundle is for TextMate 1.5, if there's any difference.
May 18, 2013
On Saturday, 18 May 2013 at 11:41:22 UTC, Stephan Schiffels wrote:
> Hi everyone,
>
> I would like to get an idea how many people are using Textmate as editor in Mac OS X. I am keen to improve the current bundle. Especially the syntax highlighting seems to be stuck somewhere in D1 or so... also, it'd be great to have some command to run unittests and code-coverage...
>
> I can just proceed and suggest improvements (the bundle is on github), but learning about other people using it would increase my motivation :-)
>
> Stephan

I've started using TextMate recently. I added some code snippets, but don't really know anything about the bundle stuff. Fumbling in the dark I managed to change the bundle indentation rules to make switch cases indent to the switch column, and I added some missing keywords for syntax highlighting though. Any improvements to the bundle highly appreciated.
May 18, 2013
On Saturday, 18 May 2013 at 16:16:50 UTC, TommiT wrote:
> On Saturday, 18 May 2013 at 11:41:22 UTC, Stephan Schiffels wrote:
>> Hi everyone,
>>
>> I would like to get an idea how many people are using Textmate as editor in Mac OS X. I am keen to improve the current bundle. Especially the syntax highlighting seems to be stuck somewhere in D1 or so... also, it'd be great to have some command to run unittests and code-coverage...
>>
>> I can just proceed and suggest improvements (the bundle is on github), but learning about other people using it would increase my motivation :-)
>>
>> Stephan
>
> I've started using TextMate recently. I added some code snippets, but don't really know anything about the bundle stuff. Fumbling in the dark I managed to change the bundle indentation rules to make switch cases indent to the switch column, and I added some missing keywords for syntax highlighting though. Any improvements to the bundle highly appreciated.

Ah that's cool. Why don't you fork the repo and send a pull request with these changes? It's pretty much these small changes (keywords, indentation) that I had in mind... they add up over time.

Stephan

May 18, 2013
On 2013-05-18 16:05, Stephan Schiffels wrote:
> thanks for sharing. I am using TM2 (https://github.com/textmate), and I
> think it might make a difference. Anyway, I think I will try to
> reanimate the github bundle. You could think about committing your
> changes to it.

I might do that.

-- 
/Jacob Carlborg
May 25, 2013
I just tried out Sublime Text 2 and found it to be quite similar but somewhat better than TextMate 2. And there's an improved D syntax highlighter for it at: https://github.com/alexrp/st2-d

All the keywords seem to be there, indentation works etc.

Sublime Text does from time to time annoy you about buying the license, but luckily there's google.
May 25, 2013
On 5/25/13 5:08 AM, TommiT wrote:
> I just tried out Sublime Text 2 and found it to be quite similar but
> somewhat better than TextMate 2. And there's an improved D syntax
> highlighter for it at: https://github.com/alexrp/st2-d
>
> All the keywords seem to be there, indentation works etc.
>
> Sublime Text does from time to time annoy you about buying the license,
> but luckily there's google.

OK, you convinced me to try. But my SublimeText OSX installation does not contain the D.tmPackage file described at https://github.com/alexrp/st2-d. Where do I put it?

Thanks,

Andrei
May 25, 2013
> OK, you convinced me to try. But my SublimeText OSX installation does not contain the D.tmPackage file described at https://github.com/alexrp/st2-d. Where do I put it?
>
> Thanks,
>
> Andrei

ST2 and ST3 have built-in D Syntax highlighting.
ST3 now in the beta stage, but have improved mac os x support. ST3 beta for registered users only, but it's worth the money.
May 25, 2013
> Where do I put it?
>
> Thanks,
>
> Andrei

http://docs.sublimetext.info/en/latest/extensibility/syntaxdefs.html

« First   ‹ Prev
1 2