You are not logged in.
Pages: 1
i'm going to give another whack at trying to learn how to programme, and i figure python is the way to go. this time around i know enough to get the tools in place first. to that end i want to rig up my gedit as my ide, but i've been a little overwhelmed with the sheer number of pluggins.
Nik_Doof suggests folder view, python console, python run. anyone else have any to recommend? and is ipython console better than regular python console?
Last edited by monty_cantsing (2011-01-23 11:05:43)
Offline
I recommend using geany instead of gedit. It is a simply IDE with many intuitive features. I completely ignore gedit and do all the text work in geany.
I'm so meta, even this acronym
Offline
thanks Awebb! I tried geany at one stage and didn't like it. can't remember why, but will give it another go on your recommendation.
anybody else got a gedit rig set up just so for python coding?
Last edited by monty_cantsing (2011-01-23 10:57:45)
Offline
Gedit zealot here 
I use gedit for python programming and I love it.
Since you're using it for python programing too, I strongly recommend you to try out this plugin called 'python shell'. It allows you to run your program simply by pressing F5. A python shell will pop up and your current script will run. From there you can do things like inspect your runtime objects with dir().
Other plugins I can't live without, though they're not python specific:
* quick open - quickest way to open your files, ever
* sidepane
* control your tabs
* snippets
once you get used to them you'll wonder how you managed before you use them.
Offline
I mostly use Komodo Edit now, but when I use gedit, it's setup like this: http://www.micahcarrick.com/gedit-html-editor.html
oh yeah? well, your momma dresses you funny and you need a mouse to delete files
Offline
thanks pico and pitje, great stuff!
@pico: i'm confused by the blurb on snippets. is it like auto-complete?
@pitje: cool article, can't wait to really give that a thorough read. just curious, but what are the up-sides of komodo? I haven't heard of that one before.
Offline
thanks pico and pitje, great stuff!
@pico: i'm confused by the blurb on snippets. is it like auto-complete?
Prety much, yes, but a bit more limited. Autocomplete often refers to a feature that is able to pick class members, variable names, etc.
Snippets don't do as much., but are still very useful. I even use them as memory aids 
So, to cut to th chase: a snipet is basically a chunk of pre-written code with placeholders inside. Each snippet has a trigger word. Type that word and press TAB, the snipet skeleton will be pasted into the editor, fill in the first black and press TAB again to move to the next one.
I'm not so good at explaining, maybe here:
https://webstats.gnome.org/Gedit/Plugins/Snippets
Offline
pico, I checked out snippets, it looks really cool. I'm still figuring out the more advanced syntax, but the basics are simple enough and what a timesaver!
I can't find the plugin called "Python Shell". there's one called Better Python Console that runs the code by pressing F5. is that what you meant?
also, wondering about the plugin called Class Browser. it says it's based on Ctags. the wikipedia entry for Ctags wasn't very helpful (or maybe too helpful, but said in tech beyond my comprehension at this stage
). is this a useful tool for a beginning programmer?
Offline
[*snip*]
@pitje: cool article, can't wait to really give that a thorough read. just curious, but what are the up-sides of komodo? I haven't heard of that one before.
There's Komodo IDE (which is, (wait for it....) an IDE), and there's Komodo Edit which is just the editor.
It has a few useful things like codecompletion, it's context-aware (when you have a project open and use a function that is defined in that project, it's added to the codecompletion-stuff), and many more.
I started using it because a collegue of mine recommended it, and so far I like it. (Although I must admit that at home I use a mix of gedit, geany and Komodo Edit.)
I used to use Kate, but that's too much KDE dependencies now 
My overall conclusion is that there are many, many editors, and a lot of them have really cool and useful features. But there's no one single app that has all my preferred features.
In that way I think gedit is the best because (if I had the time, knowledge, and if I really wanted to) I could make plugins for missing features.
oh yeah? well, your momma dresses you funny and you need a mouse to delete files
Offline
The basic ones, if you're new to programming:
Auto tab / Smart spaces
Quick open
Bracket Completion
As you get better and better at programming, you'll surely enjoy these:
Multi-Edit
Word Completion, so you don't have to keep typing out your variables.
Smart Spaces.
Preferences:
Display line numbers
Highlight current line
Highlight matching bracket
Enable automatic indentation
I never liked Geany either.
Komodo is great, but really overkill for my little programming experience.
Offline
I used notepad++ a lot, especially for the feature to record an action and repeat it over and over (when you have lots of lines you want to edit on 1 specific piece).
gedit-macro-plugin
began searching for plugins, now I have TabSwitch too (Ctrl + Tab and Ctrl + Shft + Tab), see more here
Last edited by Andreas (2011-01-29 09:08:47)
Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart
Offline
How about Emacs?
Offline
How about Emacs?
'Nice OS, lacks a decent editor'
I know how to do the things I want in vi, but never quite got the hang of emacs.
For me, a cli editor is too hard-core. Tried it, and didn't like it.
oh yeah? well, your momma dresses you funny and you need a mouse to delete files
Offline
install gmate for gedit
https://github.com/gmate/gmate
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.