no not abandoning Debian 😀 (which is the BASIS for Ubuntu and imho)

about: eclipse: is a “MOTHERSHIP” of an IDE software.

it seems to grow every year, making this already very complex java IBM based software EVEN BIGGER.

(which is against UNIX KISS!)

never the less it has some great functionalities:

  • supports basically every language on this planet
  • mostly Open Source (?)
  • merging files with ease:
    • select two files -R-Click-> team -> compare THE BEST file compare function ever seen
  • genius shortcuts-hotkeys: (scroll down fore more info)

so let’s go

plz donate to: https://www.pydev.org/ as this developer develops and provides eclipse’s python plugin:  https://www.pydev.org/updates

100x hello world loop

for x in range(0, 100):
    print("HELLO WORLD%d" % (x))

ps: python hates brackets (for whatever reason, imho brackets are a good way to mark start and stop of a code-block, a lot of editors even highlighting the other end when one end is selected but well)

indention vs brackets if that is good or bad is an ongoing debate https://duckduckgo.com/?q=python+indention+vs+brackets+&t=ffab&ia=web

indention vs brackets if that is good or bad is an ongoing debate

Styles? Changing colors?

here the problems starts X-D

selecting the eclipse dark theme… is doable

but changing the background color within 3h timeframe with those ZIG BILLIONS OF OPTIONS? ALMOST IMPOSSIBLE X-D (ignorance of UNIX KISS ANNOYING ALL USERS!)

BETTER DON’T MESS WITH THE COLOR SETTINGS!!! X-D

if the developer needs to reset the color scheme go like this:

then the developer needs to restart eclipse

and go back to the Dark theme

restart eclipse again

genius shortcuts hotkeys but: Ctrl+Shift+B toggle breakpoints needs to be enabled manually

  • Ctrl+Alt+Cursor Up or Down = COPIES the current line 😀
  • Alt+Cursor Up or Down = move the line 😀
  • Ctrl+Backspace = delete current word
  • Ctrl+D = delete current line
  • Ctrl+Z = brink back that just deleted line (UNDO)
  • Shift+Ctrl+Z = REDO
  • not genius but good to know:
    • Ctrl+F11 = run python file (just F6 WOULD HAVE BEEN TOO EASY)
    • F11 = run python file debug session (SET A BREAKPOINT BEFORE! OR IT WON’T STOP)
      • F6 = step over
      • F8 = continue (quit step debugging)
      • Ctrl+F2 = abort debug session
    • Ctrl+F6 = switch files (Ctrl+Tab WOULD HAVE BEEN TOO EASY)
    • F12 = set cursor focus to (back to) Editor
    • how to fix Ctrl+Shift+B = TOGGLE BREAKPOINT scroll way down sweet chariot…

Ctrl+Shift+B = TOGGLE BREAKPOINT (THIS ONLY WORKS AFTER THIS FIX:

anything else (R-Click -> add BreakPoint to this line = INEFFICIENT!)

so how to setup:

 

PyCharm?

has also it’s charm in the FREE COMMUNITY edition (SCROLL DOWN)

just make sure to run it virtualized and remove the virtual network cable so it can not “phone home”

Links:

great howto: https://www.vogella.com/tutorials/Python/article.html#debugging

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin