-
Notifications
You must be signed in to change notification settings - Fork 1
Make python snippets able to handle arguments with type annotations. #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make python snippets able to handle arguments with type annotations. #1
Conversation
* Add bibtex-mode snippets * Move yas-indent-line option to .yas-setup.el file
Thanks to galaunay for the idea to use this to "avoid unnecessary keyspace pollution."
* fix indent function * remove extra line
* bazel mode snippets for cc * bazel mode snippets for java. added bazel mode java snippets and added newline at eof * bazel mode snippets for python * bazel mode snippets for shell
* Add sum snippet for LaTeX * Add int snippet for LaTeX * Add prod snippet for LaTeX * Add binom snippet for LaTeX * Add bigcup snippet for LaTeX * Add bigcap snippet for LaTeX * Remove trailing lines * Replace two-word arguments with one word * Actually, remove the words entirely
* Add various snippets for org-mode * Remove readme and sourcecode and fix typos * Remove reveal_all and edit table snippet
Thanks to @AndreaCrotti for the review and suggestion.
The dollar sign was missing which caused a badly generated setter method.
Fix the case of the getter and setter templates. The previous method "capitalize" turned upper case characters to lower case elsewhere in the string.
* Rename files that are prohibited in Debian packages * Add missing keys for all markdown-mode snippets * markdown-mode: Give a couple snippets more meaningful names * markdown-mode/uft8: Modify description to say UTF-8 * Add MELPA stable badge. @AndreaCrotti is now tagging stable releases, so I believe it is appropriate to close AndreaCrotti#242
Concerning af1347d: Oh my, |
That's why some tests would be nice :). Sure, commit where it is the more convenient for you. |
This fixes AndreaCrotti#139. For more details, see <https://github.com/ananthakumaran/typescript.el>.
e7b3f79
to
46d6424
Compare
I assume that this can be closed. |
Oh, yes, probably, because your commits are present (rebased/squashed as discussed) on AndreaCrotti#278. @AndreaCrotti is going to move forward with merging the non-conflicting no elisp dependency snippets, and later it looks like we'll have a round three of merging the problematic ones. I'm starting to suspect it might be faster/easier to just rewrite them with equivalent functionality :-p |
As promised.
(Following discussion in elpy #1343)
I made a some tests, the four snippets concerned by the modifications ('_new', '_init', 'class' and 'super') seem to work fine.
I had to an additional quick fix (line 59) for the 'super' snippet to work.