[TxMt] Re: Code Formatting for keywords

riki riki80 at rediffmail.com
Fri Dec 7 13:42:56 UTC 2012


Dear Elia,

Thank you very much for your kind response.

BTW I am not expert in TextMate grammar.  So could you please elaborate your suggestions? 

Kind Regards,
Riki


On Fri, 07 Dec 2012 15:04:26 +0530  wrote
>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 at schito.me

☎ (+39) 348/9051393



On Thu, Nov 29, 2012 at 1:37 PM, riki  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 at lists.macromates.com

http://lists.macromates.com/listinfo/textmate




_______________________________________________

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/7e138c9c/attachment.html>


More information about the textmate mailing list