Add abstract classes to typescript outline query (#20377)
Closes #4553 Release Notes: - Fixed a bug where abstract classes weren't shown correctly in the outline view when editing Typescript code.
This commit is contained in:
parent
999853fee0
commit
f6385221c5
2 changed files with 10 additions and 0 deletions
|
@ -38,6 +38,11 @@
|
||||||
"class" @context
|
"class" @context
|
||||||
name: (_) @name) @item
|
name: (_) @name) @item
|
||||||
|
|
||||||
|
(abstract_class_declaration
|
||||||
|
"abstract" @context
|
||||||
|
"class" @context
|
||||||
|
name: (_) @name) @item
|
||||||
|
|
||||||
(method_definition
|
(method_definition
|
||||||
[
|
[
|
||||||
"get"
|
"get"
|
||||||
|
|
|
@ -38,6 +38,11 @@
|
||||||
"class" @context
|
"class" @context
|
||||||
name: (_) @name) @item
|
name: (_) @name) @item
|
||||||
|
|
||||||
|
(abstract_class_declaration
|
||||||
|
"abstract" @context
|
||||||
|
"class" @context
|
||||||
|
name: (_) @name) @item
|
||||||
|
|
||||||
(method_definition
|
(method_definition
|
||||||
[
|
[
|
||||||
"get"
|
"get"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue