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 saving)

Elia

@elia elia@schito.me
(+39) 348/9051393



On Thu, Nov 29, 2012 at 1:37 PM, riki <riki80@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

Catch India as it happens with the Rediff News App. To download it for FREE, click here


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate