Page 1 of 1

A humble VsCode Python Snippets 2.0

Posted: Sun Jan 02, 2022 6:06 pm
by medlexo
Hi guys, I'm a bit new here. To be frank, after I publish the updated extension I do not know how to make it appear in the search section of vscode so I figure I just register a new account here and share it here since this extension is free.
Do help me rate and share if this extension is useful to you. P.s before install disable other similar extensions first.
This is the link [Click This]
Happy New Year everyone, the code is available in github so you can see it yourselves:
Image

Image

And this is the changelog:
  • added with new python function, update legacy code
  • fixes a few unintended typo left by previous developer
  • use `TAB` to rename field in every method / feature
  • added label to method belong to string/list/tuple/set/dict
  • added python `<datatype>` and snippet, try typing `str`
  • added `match` snippet - python 3.10
  • added `np.init` snippet for numpy array [pip3 install numpy]
  • added `import` snippet
  • added `documentation`, `timeit` snippet
  • added `random` snippet
  • added `for`-loop snippet
  • added matplotlib template `plt`
  • added `dp` decimal place, `end`, `env`, `benchmark`, `self`, `sleep`, `swap` snippet
  • new format for easier selection, to see built in example type `apply.` `random.` `class`
  • get example use `<datatype>.` while for available method use `.<datatype>` ex: `.string`
  • welcome to contribute to add more ideas, make it as complete as possible

Re: A humble VsCode Python Snippets 2.0

Posted: Mon Jan 03, 2022 8:48 pm
by medlexo
4 Jan 2021:
I have renamed the extensions and thus required a new update of the link, for those who had installed it please uninstall the old one then use the new link.
Please help to rate the extension in the new link.