Showing posts with label pydev. Show all posts
Showing posts with label pydev. Show all posts

Friday, September 5, 2014

Pydev project and git repo - ignoring local configurations

The local configuration settings for a pydev project are stored in a hidden file .pydevproject. If we push this file to the repository then every other other remote repository that pulls the repo will get the version of this file that is specific for a particular local machine. In order to avoid this, it is a good idea to add this file to the .gitignore file in the root folder of the git repo.

Typically, here is a list of standard files to add to .gitignore.

 .pydevproject  
 .pyc  

Code formattd using - Code Formatter

Eclipse Pydev Shortcuts


Command Description Source
Cmd + Shift + GFind references.
Ctrl + HFind files or text in files
Ctrl+Alt+EnterTo bring up options for interactive mode. Choose console for currently active editor.Link