You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-11
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,7 @@ Working on your first Pull Request? You can learn how from this *free* series, [
16
16
17
17
## Submitting code
18
18
19
-
Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. If necessary, the description should also contain screenshots showing up the new behaviour.
20
-
21
-
You can notice that in the main folder of the plugin there is a file named something like `_generated_2018_01_28_at_03_01_29.py`. This file is compiled executing `python3 make/setup.py` and it contains the whole plugin code. So, if you want to make changes/updates to this plugin, don't change this file. Instead change the other files that you can find in the `src` folder. The `src/_init.py` file contains the main code to boot up the plugin, with various constants.
22
-
23
-
Syntax accepted by `make/setup.py`:
24
-
*`${include ./folder/file.py}`: with `./` at the beginning of the path, you are pointing to the root path of the plugin folder, like an "absolute path"
25
-
*`${include folder/file.py}`: in this case this is a relative path to the current folder
26
-
27
-
With this, you can separate your code in different files that will be added to the final compiled code.
28
-
29
-
To test the plugin changes/updates quickly, you can execute `python3 make/watch.py`. So, for every changes that you make in the code, it will call automatically `make/setup.py`. If you add new files while you are using `python3 make/watch.py`, it may require restart the command in order to allow the change/update recognition of these new files.
19
+
Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. If necessary, the description should also contain screenshots showing up the new behaviour. The pull request should also contain tests.
{ "caption": "JavaScript Enhancements Bookmarks: Toggle on Current View", "command": "toggle_project_bookmarks"},
3
-
{ "caption": "JavaScript Enhancements Bookmarks: Show All on Current Project", "command": "show_project_bookmarks", "args": {"type": "global_project"} },
4
-
{ "caption": "JavaScript Enhancements Bookmarks: Show on Current View Project", "command": "show_project_bookmarks", "args": {"type": "view_project"} },
5
-
{ "caption": "JavaScript Enhancements Bookmarks: Delete All on Current Project", "command": "delete_project_bookmarks", "args": {"type": "global_project"} },
6
-
{ "caption": "JavaScript Enhancements Bookmarks: Delete All on Current View Project", "command": "delete_project_bookmarks", "args": {"type": "view_project"} },
7
-
{ "caption": "JavaScript Enhancements Bookmarks: Delete one on Current View Project", "command": "delete_project_bookmarks", "args": {"type": "single_view_project"} },
{ "caption": "JavaScript Enhancements Bookmarks: Toggle on Current View", "command": "javascript_enhancements_toggle_project_bookmarks"},
3
+
{ "caption": "JavaScript Enhancements Bookmarks: Show All on Current Project", "command": "javascript_enhancements_show_project_bookmarks", "args": {"type": "global_project"} },
4
+
{ "caption": "JavaScript Enhancements Bookmarks: Show on Current View Project", "command": "javascript_enhancements_show_project_bookmarks", "args": {"type": "view_project"} },
5
+
{ "caption": "JavaScript Enhancements Bookmarks: Delete All on Current Project", "command": "javascript_enhancements_delete_project_bookmarks", "args": {"type": "global_project"} },
6
+
{ "caption": "JavaScript Enhancements Bookmarks: Delete All on Current View Project", "command": "javascript_enhancements_delete_project_bookmarks", "args": {"type": "view_project"} },
7
+
{ "caption": "JavaScript Enhancements Bookmarks: Delete one on Current View Project", "command": "javascript_enhancements_delete_project_bookmarks", "args": {"type": "single_view_project"} },
0 commit comments