Colin Kennedy
63f994fc79
fix(python): Bare-returns are filtered from docstring output ( #145 )
...
* Python docstrings - bare-returns are filtered from docstring output
* Stylua
* doc: Version
---------
Co-authored-by: danymat <d.danymat@gmail.com >
2.14.1
2023-05-31 13:21:30 +02:00
github-actions
9fa736a227
[docgen] Update doc/neogen.txt
...
skip-checks: true
2023-05-31 11:04:13 +00:00
Colin Kennedy
a113ca9a54
feat(python): Add Raises: block for google_docstrings ( #143 )
...
* Added Google docstring Raises: block
* Added Google docstring change to the Changelog
* Fixed duplicate "Raises:" block, for Python google-style docstrings
* doc: Version
---------
Co-authored-by: danymat <d.danymat@gmail.com >
2.14.0
2023-05-31 13:03:58 +02:00
Colin Kennedy
e449d5b7ff
fix(python) Do not duplicate "Throw" annotations ( #142 )
...
* Fixed Python docstring duplicate throw parsing error
* ref(python): remove unecessary recursive
* Stylua
---------
Co-authored-by: danymat <d.danymat@gmail.com >
2023-05-31 12:50:53 +02:00
danymat
de603d2f83
fix(php): Do not duplicate returns ( #138 )
2023-05-22 13:07:41 +02:00
github-actions
d789a5a2e0
[docgen] Update doc/neogen.txt
...
skip-checks: true
2023-05-22 11:06:29 +00:00
danymat
84e6f5b714
fix: stylua
2023-05-12 17:31:04 +02:00
repo-visualizer
c0fd3dc9e7
Repo visualizer: updated diagram
2023-05-03 23:15:21 +00:00
danymat
abfd0ebfe6
Update visualizer.yml
2023-05-04 01:15:08 +02:00
repo-visualizer
38b1ba4b7e
Repo visualizer: updated diagram
2023-05-03 23:13:12 +00:00
danymat
eceed1ed2c
Update README.md
2023-05-04 01:13:00 +02:00
repo-visualizer
737d0187b6
Repo visualizer: updated diagram
2023-05-03 23:08:36 +00:00
danymat
297f6a9b8e
Create visualizer.yml
2023-05-04 01:08:22 +02:00
Walid Chtioui
9c17225aac
fix: Rename csharp -> cs ( #134 )
2023-03-27 20:46:25 +02:00
github-actions
cebe581536
[docgen] Update doc/neogen.txt
...
skip-checks: true
2023-03-27 18:42:40 +00:00
Yuta Katayama
353c5ef8e5
fix: Use vim.treesitter.get_node_text() to avoid deprecation warning ( #135 )
...
* fix: Use vim.treesitter.get_node_text() to avoid deprecation warning
* ref: Bump neogen version
---------
Co-authored-by: danymat <d.danymat@gmail.com >
2.13.2
2023-03-27 20:42:17 +02:00
github-actions
93d997dbdd
[docgen] Update doc/neogen.txt
...
skip-checks: true
2023-02-21 10:01:41 +00:00
Daniel
349121d869
Merge pull request #129 from yutkat/main
...
fix: Rename ts_utils.get_node_range -> vim.treesitter.get_node_range
2.13.1
2023-02-21 11:01:25 +01:00
danymat
b460ab70df
ref: Bump neogen version
2023-02-21 11:00:35 +01:00
Yuta Katayama
297795f3cd
fix: Rename ts_utils.get_node_range -> vim.treesitter.get_node_range
2023-02-12 23:36:51 +09:00
Daniel
465af9d6c6
Merge pull request #125 from itepechi/main
...
JSDoc and TSDoc should always start with two asterisks
2023-01-16 10:32:03 +01:00
itepechi
9a781be7f6
fix(js/ts): {JS,TS}Doc should always start with two asterisks
2023-01-15 18:51:36 +09:00
github-actions
0958aeffcd
[docgen] Update doc/neogen.txt
...
skip-checks: true
2023-01-12 21:38:31 +00:00
Daniel
fbc3952024
Merge pull request #124 from cdbrendel/fix-python-args
...
Fix parameters in python docstrings
2.13.0
2023-01-12 22:38:13 +01:00
danymat
5a9ac284d4
ref: Versioning
2023-01-12 22:37:18 +01:00
danymat
ffefbd27ba
ref: Use typed parameters
2023-01-12 22:30:28 +01:00
Chris Brendel
6514bb1b50
removed type from docstring when type hint is given
2023-01-12 15:29:09 -05:00
Chris Brendel
56620c0191
restored behavior removing self/cls argument for func in class
2023-01-12 15:27:55 -05:00
Chris Brendel
41fe4ba304
allow instantiated exceptions to be extracted
2023-01-12 15:23:55 -05:00
Daniel
be28d2a4f6
doc: Mention how to quickly add filetypes support
...
See also: #122
2023-01-12 00:08:05 +01:00
github-actions
2961b48f72
[docgen] Update doc/neogen.txt
...
skip-checks: true
2023-01-06 10:50:58 +00:00
Daniel
87c09a4f81
Merge pull request #121 from yorik1984/main
...
Add self(singleton_method) for ruby
2.12.0
2023-01-06 11:50:39 +01:00
danymat
eb2841043a
ref: Versioning
2023-01-06 11:49:19 +01:00
yorik1984
83f9c12453
Update ruby.lua
2023-01-06 04:02:41 +02:00
github-actions
71f16ffb48
[docgen] Update doc/neogen.txt
...
skip-checks: true
2023-01-03 00:36:38 +00:00
Daniel
9a2ada8aea
Merge pull request #116 from ssiyad/autodetect_type
...
Calling `:Neogen` will try to find the best type used to generate annotations (#116 )
It'll recursively go up the syntax tree from the cursor position.
For example, if a function is defined inside class and the cursor is inside the function,
the annotation will be generated for the function.
2.11.0
2023-01-03 01:36:22 +01:00
danymat
d7891401e0
Merge remote-tracking branch 'origin/main' into autodetect_type
2023-01-03 01:09:41 +01:00
danymat
ed6ce9998c
ref: versioning
2023-01-03 01:08:06 +01:00
Sabu Siyad
676e6a9a42
fix: change error when no annotation convention is found
...
Signed-off-by: Sabu Siyad <hello@ssiyad.com >
2023-01-03 00:52:30 +05:30
Sabu Siyad
aae0d3062b
doc: generate function: add any to opts
...
Signed-off-by: Sabu Siyad <hello@ssiyad.com >
2023-01-03 00:21:47 +05:30
Sabu Siyad
a7f0e7051e
doc: annotate populate_filetype function
...
Signed-off-by: Sabu Siyad <hello@ssiyad.com >
2023-01-03 00:16:59 +05:30
Sabu Siyad
62ce187699
fix(generator): replace "any" -> ANY_TYPE
...
Signed-off-by: Sabu Siyad <hello@ssiyad.com >
2022-12-29 00:39:54 +05:30
github-actions
96e5d013bf
[docgen] Update doc/neogen.txt
...
skip-checks: true
2022-12-28 10:43:56 +00:00
Daniel
254301a044
Fix python docstrings ( #120 )
...
* fix(py): Return "Args:" if parameters
* fix(py): catch typed default parameters
2.10.4
2022-12-28 11:43:40 +01:00
danymat
05e7ca83bb
doc: Update README
2022-12-25 15:44:43 +00:00
danymat
711f8b9541
doc: Add installation options with lazy.nvim
2022-12-25 15:42:22 +00:00
Barak Michener
2c454f7e68
Add annotation type autodetection
...
Creates a new generate() type, `any`, which contextually adds an
annotation by whichever matching type is first found in the tree around
the cursor.
So, if your cursor is in a function, it will annotate the function, if
in a class or struct definition, it'll annotate that, etc.
Co-authored-by: Sabu Siyad <hello@ssiyad.com >
Signed-off-by: Sabu Siyad <hello@ssiyad.com >
2022-11-14 17:31:08 +05:30
Sabu Siyad
91b093f11f
doc: readme: use import for cmp example ( #115 )
2022-11-11 18:57:50 +01:00
github-actions
bc48a0627c
[docgen] Update doc/neogen.txt
...
skip-checks: true
2022-11-10 19:06:35 +00:00
danymat
4246ca824b
fix(ts): Do not relative position for fallback ( #113 )
2.10.3
2022-11-10 20:06:10 +01:00