A humble VsCode Python Snippets 2.0

General discussion for off-topic subjects.
User avatar
medlexo
Junior Member
Posts: 2
Joined: Sun Jan 02, 2022 6:01 pm

A humble VsCode Python Snippets 2.0

Postby medlexo » Sun Jan 02, 2022 6:06 pm

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
Last edited by medlexo on Wed Jan 05, 2022 3:13 pm, edited 1 time in total.
User avatar
medlexo
Junior Member
Posts: 2
Joined: Sun Jan 02, 2022 6:01 pm

Re: A humble VsCode Python Snippets 2.0

Postby medlexo » Mon Jan 03, 2022 8:48 pm

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.

Return to “Whatever”

Who is online

Users browsing this forum: No registered users and 14 guests