Django in Eclipse

985 views

Published on

Presentation for http://www.meetup.com/Bangalore-Django-User-Group/events/140173042/

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
985
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Django in Eclipse

  1. 1. Django in Eclipse Sep 19, 2013 @arulmrr Arulmurugan - Developer
  2. 2. What do you need? ● Basic knowledge on django ● Eclipse ● An internet connection ● Of course, some interest to learn
  3. 3. What we will learn? ● Eclipse configuration ● Django commands as menu ● Django debugging ● Git support ● Shortcuts
  4. 4. PyDev ● Python IDE for Eclipse ● Python, Jython and IronPython ● http://pydev.org/updates
  5. 5. Django Commands as Menu ● startproject ● startapp ● syncdb ● shell ● custom commands
  6. 6. Django Debugging ● Add breakpoints Key Description F5 Goes to the next step in your program. If the next step is a method / function this command will jump into the associated code. F6 F6 will step over the call, e.g. it will call a method / function without entering the associated code. F7 F7 will go to the caller of the method/ function. So this will leave the current code and go to the calling code. F8 Use F8 to go to the next breakpoint. If no further breakpoint is encountered then the program will normally run.
  7. 7. Git Support ● EGit ● http://download.eclipse.org/egit/updates ● Create, Commit, Push, Pull
  8. 8. Keyboard Shortcuts Key Binding Description Ctrl + 3 Opens Quick Access search box Ctrl + E Navigate through currently open editors Ctrl + F8 Switching Perspectives Ctrl + PageUp Switch to previous opened editor Ctrl + PageDown Switch to next opened editor Ctrl + Shift + F Format source code
  9. 9. Key Binding Description Ctrl + or Scroll up or down in a editor Alt + Up Move current line one line up Alt + Down Move current line one line down Ctrl + D Delete current line Ctrl + Del Delete next element Ctrl + Backspace Delete previous element Keyboard Shortcuts
  10. 10. Key Binding Description Shift + Enter Adds a blank line below the current line and moves the cursor to the new line, independent of the position of the cursor. Ctrl+Shift+Enter Same as Shift + Enter but above Ctrl + Space Content assist / code completion Ctrl + Shift + X Change selected text to Uppercase Ctrl + Shift + Y Change selected text to Lowercase Ctrl + Shift + R Open Resource Dialog Keyboard Shortcuts
  11. 11. Thank you arul@arulmr.com slideshare.net/arulmr github.com/arulmr
  12. 12. Meetup Links ● Session Video Link http://www.youtube.com/watch?v=XxhnVgVxjIY ● Presentation Link http://www.slideshare.net/arulmr/django-in-eclipse

×