danymat
84aa3d3cba
doc: Add section :h neogen-template-api
2022-02-01 18:56:51 +01:00
danymat
40bfc7e21a
ref!: Extract template codes into template dir
...
I possibly introduced some bugs in the process, please open an issue if
so.
- This is an attempt to refactor the code and provide re-use of templates
(for example, doxygen or jsdoc)
- I standardized the exposed returned nodes for a template (you can view
it by going to lua/neogen/types/template.lua)
2022-02-01 12:44:36 +01:00
danymat
57e76c6102
ref: Code refactoring
...
- Try to not expose as much commands and code via neogen
- Use minidoc to generate docgen
2022-01-26 11:50:23 +01:00
danymat
b474b694d0
feat(js) Add type annotation
2022-01-10 16:26:57 +01:00
danymat
2380dbe909
feat(js) Add missing annotations
2022-01-09 19:10:09 +01:00
danymat
d8f0d24cc6
feat(ts,js) Add support for file annotations ( #31 )
2022-01-09 14:18:06 +01:00
Daniel Mathiot
832398cd53
(js/ts) Add support for lexical declarations
...
References #16
2021-10-05 19:51:05 +02:00
Daniel Mathiot
95d2368ccc
(python, js, c) Add support for multiple cursor
2021-08-27 22:21:43 +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
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
93797725e6
(js) Add support for class
2021-08-25 15:49:26 +02:00
Daniel Mathiot
1002ae5948
Add support for multiple types, see Readme:Usage
2021-08-25 13:39:55 +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