[TxMt] Re: Code Formatting for keywords

Elia Schito elia at schito.me
Fri Dec 7 09:33:34 UTC 2012

1) yes, you can setup the language grammar to catch and highlight those
keywords in a given scope (e.g. data decl)
2) I don't think you can do that while you type, but probably you can
create a command that does the transformation on demand (or hook it to the


☁ @elia <http://twitter.com/elia> ✎ elia at schito.me
☎ (+39) 348/9051393

On Thu, Nov 29, 2012 at 1:37 PM, riki <riki80 at rediffmail.com> wrote:

> Hi all,
> How to accomplish the following things within TextMate 2 for Fortran
> language:
> 1) Is it possible to appear warning in a tool tip if we type Fortran
> keywords in data declarations? I am asking because if
> somehow or by mistake we are using those ones as variables and we know
> that Fortran does not complain about it.
> 2) The second thing is related to code formatting. Suppose we are writing
> a program in lower case letters and whenever we
> type any Fortran keyword we wish that it always came in upper case
> letters. Is there any way to do it?
> Kind Regards,
> Riki
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
> Catch India as it happens with the *Rediff News App*. To download it for
> FREE, click here<http://track.rediff.com/click?url=___http://www.rediff.com/newsapp___&lnk=signature&newservice=newsapp>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20121207/6777d573/attachment.html>

More information about the textmate mailing list