Lets you cmd+click
or ctrl+click
on a line and see it in PyCharm.
Browser extension is located in extension
folder.
Firefox web instructions
- Enter
about:debugging
in the URL bar. - Click "Load Temporary Add-on".
- In the popped-up file browser, select either the manifest or js file of this extension.
Chrome web instructions
- Visit
chrome://extensions
in your browser. - Ensure that the Developer mode checkbox in the top right-hand corner is checked.
- Click Load unpacked extension… to pop up a file-selection dialog.
- Navigate to the directory in which your extension files live, and select it.
Alternatively, you can drag and drop the directory where your extension files live onto chrome://extensions in your browser to load it.
-
Ensure you have Python 3 and Flask (
pip install flask
orpip3
depending on your setup) installed. -
Navigate to the package
github2pycharm
(direct parent ofserver.py
). -
Run
export FLASK_APP=server.py python3 -m flask run -p 50007
(on Windows substitute
set
forexport
)
Just copy the settings.py.sample
as settings.py
, set path to PyCharm executable and map Github repository names with repository paths on your machine.
The port number is hardcoded in the extension
todo - create setup.py
, but what about the configuration files?