Skip to content

Commit fe01710

Browse files
Merge pull request #3 from abhishek72850/abhishek72850-patch-1
Update README.md
2 parents a2cdb75 + 817d4aa commit fe01710

File tree

1 file changed

+58
-5
lines changed

1 file changed

+58
-5
lines changed

README.md

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,65 @@
1-
# pyrock
2-
Sublime plugin to auto-import python objects
1+
PyRock
2+
================
3+
[![Build][build-shield]][build-url]
4+
[![Code Coverage][code-coverage-shield]][code-coverage-url]
5+
[![Contributors][contributors-shield]][contributors-url]
6+
[![Forks][forks-shield]][forks-url]
7+
[![Stargazers][stars-shield]][stars-url]
8+
[![Issues][issues-shield]][issues-url]
39

4-
### Features
5-
- Generate Import statement
10+
-----------------------------
611

12+
Sublime plugin to generate import statement for python
713

8-
### Upcoming Features
14+
Features
15+
--------
16+
- Generate's Import statement
17+
- Supports virtual enviroment
18+
19+
Upcoming Features
20+
-----------------
921
- AI autocomplete
1022
- Copy python import statement (module, class, method)
1123
- Copy python path (module)
1224
- Copy unittest path (module, class, method)
25+
26+
Installation
27+
------------
28+
- From sublime package control install package enter name `pyrock`
29+
- OR
30+
- Download the `.sublime-package` from git repo and put it in your sublime packages folder
31+
32+
Usage
33+
-----
34+
- Upon installation it automatically reads the settings and scans your python environment for packages and index them.
35+
You will see progress of indexing in status bar, like this:
36+
<br><img width="399" alt="Indexing progress" src="https://github.com/abhishek72850/pyrock/assets/18554923/35315978-ddf1-46e5-a44e-57f437ac1dea">
37+
38+
- For some reason if indexing didn't happened or you want to re-index after you have removed/installed packages in your python environment, you can do so by calling `Re-Index Imports` from command pallate or just right-click to open menu and under `PyRock` you will see `Re-Index Imports`
39+
<br><img width="760" alt="Re-index" src="https://github.com/abhishek72850/pyrock/assets/18554923/f0de1a36-1233-476e-8ad6-1c9fada109f2">
40+
41+
- To generate python import, select the text (min 2 characters) then right click and under `PyRock` click `Import Symbol`, it will show you the suggestion out which you select any and it will add that import statement into your python script.
42+
<img width="589" alt="Import symbol" src="https://github.com/abhishek72850/pyrock/assets/18554923/eb1421ff-4304-40f5-aca8-eaea84c96145">
43+
<img width="584" alt="import suggestions" src="https://github.com/abhishek72850/pyrock/assets/18554923/a64fadef-9554-4840-929b-72a93f27c799">
44+
45+
Compatibility
46+
-------------
47+
- Require Sublime Text version > 3
48+
- Works for `Python Imports` only
49+
50+
Open Source
51+
-----------
52+
- If this projects gains popularity, i will open source the whole code 😉
53+
54+
[build-shield]: https://img.shields.io/travis/abhishek72850/pyrock.svg?style=for-the-badge
55+
[build-url]: https://travis-ci.org/abhishek72850/pyrock
56+
[code-coverage-shield]: https://img.shields.io/codecov/c/github/abhishek72850/pyrock/master?style=for-the-badge
57+
[code-coverage-url]: https://codecov.io/gh/abhishek72850/pyrock
58+
[contributors-shield]: https://img.shields.io/github/contributors/abhishek72850/pyrock.svg?style=for-the-badge
59+
[contributors-url]: https://github.com/abhishek72850/pyrock/graphs/contributors
60+
[forks-shield]: https://img.shields.io/github/forks/abhishek72850/pyrock.svg?style=for-the-badge
61+
[forks-url]: https://github.com/abhishek72850/pyrock/network/members
62+
[stars-shield]: https://img.shields.io/github/stars/abhishek72850/pyrock.svg?style=for-the-badge
63+
[stars-url]: https://github.com/abhishek72850/pyrock/stargazers
64+
[issues-shield]: https://img.shields.io/github/issues/abhishek72850/pyrock.svg?style=for-the-badge
65+
[issues-url]: https://github.com/abhishek72850/pyrock/issues

0 commit comments

Comments
 (0)