danymat
f3e5ce4ec7
(c/cpp) Add return field for non primitive types ( #22 )
2021-11-13 14:03:29 +01:00
danymat
c75b9bad1e
(c/cpp) do not show void return type
2021-11-11 10:34:40 +01:00
danymat
35d36abb8c
(java) Add constructor annotation
2021-11-10 22:58:28 +01:00
danymat
857355992e
(java) Add template support for no params
2021-11-10 22:57:59 +01:00
danymat
7c8169608e
(java) Add support for java functions
2021-11-10 22:45:37 +01:00
danymat
d035281978
chore: stylua
2021-11-10 11:41:10 +01:00
danymat
2cc90eb8d5
(c/cpp) Add return when void ( #22 )
2021-11-10 11:39:39 +01:00
Thomas Fehér
7d9572c05f
Write annotation before template declarations
...
Prior to this fix the annotation was written after the template
declaration in case the cursor did not happen to be on the same line as
the template declaration.
2021-11-10 11:24:24 +01:00
Hennadii Chernyshchyk
50d21d6733
C++: Fix generation for fields
2021-11-09 00:39:35 +02:00
danymat
96a597b7c0
(c/cpp) Use return instead of returns ( #22 )
2021-11-08 22:53:04 +01:00
danymat
73b18d266b
(c/cpp) References #21
2021-11-08 21:25:31 +01:00
danymat
fa472f6f29
(cpp) Add template generation, add optional params
2021-11-08 21:15:21 +01:00
danymat
e87b4a20f3
(c) Use @brief when no results from TS
2021-11-08 20:53:10 +01:00
danymat
d04b657c88
(c) Remove [in] for params in doxygen
...
See #19 for more details
2021-11-08 20:16:59 +01:00
danymat
e4e09d6113
(cpp) Add support for cpp (based on c)
2021-11-08 19:59:13 +01:00
danymat
5a1fc5e483
(java) Add support for java classes
2021-11-03 10:53:04 +01:00
Daniel Mathiot
832398cd53
(js/ts) Add support for lexical declarations
...
References #16
2021-10-05 19:51:05 +02:00
Daniel Mathiot
f1f28f1afa
Merge pull request #14 from davidgranstrom/topic/c-headers
2021-10-01 16:40:54 +02:00
David Granström
c0cd1bc91f
Add test for pointer return value
2021-10-01 13:30:40 +02:00
Daniel Mathiot
71ca53bad2
(ts) Add basic support for type hints
2021-09-29 15:44:57 +02:00
Daniel Mathiot
91c10304d4
(typescript) Add support for typescript
2021-09-29 15:02:15 +02:00
Daniel Mathiot
19d5cd8c01
Add global recursive option for nodes
2021-09-29 15:02:15 +02:00
David Granström
7320b90119
Move comments to align with stylua formatting
2021-09-28 19:23:04 +02:00
David Granström
b48752476c
Format with stylua
2021-09-28 19:18:13 +02:00
David Granström
b92bb47dd8
Insert "return" based on function return type
2021-09-28 18:56:26 +02:00
David Granström
6fdd841593
Be able to annotate function prototypes in header files
2021-09-28 17:48:33 +02:00
Daniel Mathiot
ba98b965e6
(go) Add support for godoc
2021-09-12 19:42:29 +02:00
Daniel Mathiot
7b8631697d
(lua) Fix nested functions sometimes not being found
2021-09-12 17:45:36 +02:00
Daniel Mathiot
9dd01fbab8
(lua) Recursive find of function instead of fixed
2021-08-31 12:11:04 +02:00
Daniel Mathiot
518515be3e
(lua) Add ldoc annotation convention
2021-08-29 18:43:11 +02:00
Daniel Mathiot
460d022cc1
(c) Add support for functions that return pointers
2021-08-28 15:28:14 +02:00
Daniel Mathiot
c9ea7ee461
(c) Support for params with unlimited amount of pointers
...
I created a new option in tree called : 'first_recursive' that will find
the first node matching the node_type recursively.
Closes #10
2021-08-28 13:39:27 +02:00
Daniel Mathiot
e22c69a265
(c) Fix cursor in c configuration
2021-08-28 01:44:54 +02:00
Daniel Mathiot
95d2368ccc
(python, js, c) Add support for multiple cursor
2021-08-27 22:21:43 +02:00
Daniel Mathiot
1d97f1415e
Add default value for template
2021-08-27 21:19:19 +02:00
Daniel Mathiot
2c9936781f
Add multiple cursor positioning to template
2021-08-27 20:23:48 +02:00
Daniel Mathiot
b525173cd7
Fix behavior when calling different types
...
This Closes #5 and exposes something that I was not aware of:
lua seems to perform shallow copies when doing table assignments
2021-08-27 13:17:27 +02:00
Daniel Mathiot
4cebcbcfdf
(c) Fix return_statement in tree
...
As the return statement in inside the body (aka compound_statement in TS), it was not being recognized.
I added it and return_statement is now being retrieved.
2021-08-27 12:09:35 +02:00
Andreas Schneider
29679840d6
Add support for C-doxygen
2021-08-27 12:00:07 +02:00
Daniel Mathiot
fddd50553e
(lua) types are now guessed for type annotations
...
This made me to do small adjustments to the tree extractor, and it now
can retrieve fixed positions from the tree. If no node_type name is
specified, it will put all nodes fetched from fixed positions to ["_"]
= values
2021-08-26 12:28:46 +02:00
Daniel Mathiot
48f8f4dd65
(lua) Full specs for type annotations
2021-08-26 11:03:41 +02:00
Daniel Mathiot
93797725e6
(js) Add support for class
2021-08-25 15:49:26 +02:00
Daniel Mathiot
a8954178da
(lua) add type annotation for variables
2021-08-25 14:13:32 +02:00
Daniel Mathiot
1002ae5948
Add support for multiple types, see Readme:Usage
2021-08-25 13:39:55 +02:00
Daniel Mathiot
ce765cc43c
(lua) Add support for returns in local_functions
...
The extractor function being the same, I refactored the lua config file
a little bit
2021-08-25 12:22:36 +02:00
Daniel Mathiot
b58292f71f
Add default comments when no results (python, lua)
2021-08-24 17:06:32 +02:00
Daniel Mathiot
bf66cb12b5
(js) Add support for functions in var_declarations
2021-08-24 12:52:16 +02:00
Daniel Mathiot
14424a0887
(js) Add support for functions in statements
2021-08-24 12:44:33 +02:00
Daniel Mathiot
3a40a1d111
Add support for empty jsdoc comment
2021-08-24 12:09:43 +02:00
Daniel Mathiot
98329fcf77
Add basic support for javascript
...
At the moment, it recognizes simple functions, their params and their
direct return statements.
2021-08-24 11:43:45 +02:00