[wingide-users] Re: close-tag in HTML

Mitchell L Model MLMConsulting at Comcast.net
Wed Mar 10 07:48:10 MST 2010


On Mar 9, 2010, at 5:26 PM, Wing IDE Support wrote:

> On 3/9/10 3:23 PM, Mitchell L Model wrote:
>> It's cool that Wing can handle HTML and so many other non-Python
>> languages/formats. Any chance we could get a close-tag for editing  
>> HTML
>> files (or, I suppose, any SGML-based format) like the one in Emacs  
>> 22's
>> html-mode?
>
> Does it fill in the close tag when </ is entered?  If it's more  
> complicated than that, I can try the emacs mode.

No, </ doesn't do anything. The emacs html-mode has a command that  
figures out the closing tag and inserts it.

>
>> Also, how can I change the number of characters indented for each  
>> level
>> of tag, and is there a way to make return automatically indent a  
>> level
>> where appropriate as is done in Python code? (Save having to type a  
>> tab
>> to indent the new line.)
>
> The indents are set as multiples of the first indent in the file or  
> the preference value for a new file.  Adding an option to auto- 
> indent the next line is a good idea and we'll try to add it.
>

Great, thanks.


More information about the wingide-users mailing list