meijieru
0a5611d29a
fix(python): jump for return
2021-12-08 01:01:10 -05:00
Daniel Mathiot
95d2368ccc
(python, js, c) Add support for multiple cursor
2021-08-27 22:21:43 +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
77515a574d
Refactor to a simpler tree parsing
...
You can now parse the syntax tree more efficiently with the new
utilities functions.
For examples, please check out the lua and python configurations
2021-08-24 09:41:15 +02:00
Daniel Mathiot
790c98edf1
Removed return if body is not found (python)
2021-08-23 20:03:14 +02:00
Daniel Mathiot
ee1e1a491c
Add support for numpydoc
2021-08-23 19:11:44 +02:00
Daniel Mathiot
88c4d40078
Support for optional params in python
2021-08-23 18:31:22 +02:00
Daniel Mathiot
969c0342af
Add typed parameters support in python
2021-08-23 18:19:24 +02:00
Daniel Mathiot
82b943ccdf
Add return statement for python function
2021-08-23 17:54:01 +02:00
Daniel Mathiot
3272811aa7
Add support for attributes in python class
2021-08-23 17:30:19 +02:00
Daniel Mathiot
52128c1bd5
Add utilities
...
After a refactoring of utilities, I added a function to get the first
child node that matches the node name.
Documentation is provided in neogen.utilities.nodes
2021-08-23 16:00:43 +02:00
Daniel Mathiot
6b08b2297c
Delete unused FIXME
2021-08-23 15:24:48 +02:00
Daniel Mathiot
46febe447c
Use child name to append text after parent
...
Instead of providing the number of childs to append after the parent, it
will append the comment just after the first child encountered with
child_name
2021-08-23 15:23:27 +02:00
Daniel Mathiot
03781f23d6
Make comment in after position more resilient
2021-08-23 15:08:41 +02:00
Daniel Mathiot
40616b25d7
Add python support
...
At the moment, only supports params for function definitions.
I added more options to configure the default generator (please see the
templates field in configuration/python.lua)
2021-08-23 12:53:27 +02:00