GNU bug report logs - #70023
[PATCH] Add typescript-ts-mode indentation for interface bodies

Previous Next

Package: emacs;

Reported by: Noah Peart <noah.v.peart <at> gmail.com>

Date: Wed, 27 Mar 2024 06:21:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.3

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #21 received at 70023-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Theodor Thornhill <theo <at> thornhill.no>
Cc: Noah Peart <noah.v.peart <at> gmail.com>, 70023-done <at> debbugs.gnu.org
Subject: Re: bug#70023: [PATCH] Add typescript-ts-mode indentation for
 interface bodies
Date: Sat, 29 Jun 2024 22:55:42 -0700
Theodor Thornhill <theo <at> thornhill.no> writes:

> Noah Peart <noah.v.peart <at> gmail.com> writes:
>
>> Tags: patch
>>
>> Adds missing indentation for typescript interfaces.
>>
>> Currently, there is no indentation for property signatures in typescript
>> interfaces.
>>
>> To reproduce, call `M-x (my-test-typescript-indent)`
>>
>>     (defun my-test-typescript-indent ()
>>       (interactive)
>>       (typescript-ts-mode)
>>       (setq-local typescript-ts-mode-indent-offset 4)
>>       (indent-region (point-min) (point-max)))
>>
>
> [...]
>
> Pushed in bcf6dd6e266222a293e359430afdf3a2dc18369c. I also added a test
> confirming the behavior.
>
> As a small aside, this node type was added very recently. Until now we
> had a rule for it in 'object'

I'm therefore closing this bug report.




This bug report was last modified 1 year and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.