[Techtalk] editing of .asp files

Rudy Zijlstra rudy at grumpydevil.homelinux.org
Fri May 11 10:08:58 UTC 2007


Conor Daly wrote:
> On Fri, May 04, 2007 at 11:27:36AM -0700 or so it is rumoured hereabouts, 
> Cynthia Kiser thought:
>   
>> Quoting Rudy Zijlstra <rudy at grumpydevil.homelinux.org>:
>>     
>>> Hello list,
>>>
>>> Does anyone here know of a good tool to edit web .asp files?
>>>
>>> So far the only tool we have found is "vim" or any other simple text 
>>> editor. Is there something that understands .asp?
>>>       
>> Any basic text editor should work. To get syntax highlighting, you can
>> probably set up your text editor to thinkg .asp files are .html. For
>> example, in emacs, open the file and then type M-x html-mode (you may
>> also need M-x font-lock-mode for syntax highlighting). 
>>     
>
> I don't know the syntax to do it in vim but, if you run gvim, then click
> on
>
> 	Syntax -> 'Show filetypes in menu'
>
> and then click on
>
> 	Syntax -> AB ->
>
> And choose the ASP type, you will get the syntax highlighting.
>
> There are two ASP types listed.  
>
> 	locate asp | grep vim
>
> gives me:
>
> /usr/share/vim/vim70/syntax/aspperl.vim
> /usr/share/vim/vim70/syntax/aspvbs.vim
>
> So, in vim, you do:
>
> 	:set syntax=aspvbs
>
> to use the ASP with VBScript syntax.
>
> Oh look, I _do_ know how to do it in vim!....
>
> Conor
>   
Thanks all,

After the recommendations and a little searching i found [g]vim is also 
running on windows, and i used that. And yes, it now recognizes asp and 
automatically enables syntax highlighting. This was a great help to me

Thanks to all for the suggestions, they helped a lot!

Rudy


More information about the Techtalk mailing list