Re: scratchbox ide
Hi, ext Marius Gedminas wrote: > (vim also has smart autocompletion, called omnicomplete, but I rarely > use that -- Python programs are *very* hard to statically analyze). For Python programs I'd recommend using PyLint: http://pydev.sourceforge.net/pylint.html http://www.logilab.org/card/pylintfeatures (And PyDev is Python extension to Eclipse IDE) - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
On Fri, 23 Jan 2009, ext Frank Banul wrote: > I use vi. I have not had the pleasure of learning Emacs. For my > understanding, is it possible to define a list of files or directories > in a project and then search for instances of used variables and how > they are used? Same question for functions. I did a quick google > search and didn't find either of these capabilities illustrated. For emacs (and, mutatis mutandis, for vim), see: http://emacs-fu.blogspot.com/2009/01/navigating-through-source-code-using.html > I see color syntax support. I know vi has auto indentation and I > assume emacs does as well but can they go as far as selecting blocks > of code and auto indent? Well, if you have to select first it's not really auto-indent -- but yeah, just select and C-M-\ (ie., Control-Alt-backslash). Emacs is a very powerful editor, but it can be a harsh mistress in the beginning. When you put in the effort, most people seem to hang on -- 'Stockholm Syndrome' :-) To bring back the Maemo-angle: with Emacs it's easy (though probably not if you've never used emacs) to integrate with the environment, run compilers, debuggers in scratchbox or even on device. http://www.emacswiki.org/emacs/CompileInsideScratchbox Best wishes, Dirk. -- Dirk-Jan C. Binnema NRC / Helsinki ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
On Fri, Jan 23, 2009 at 12:34:39PM -0600, Frank Banul wrote: > I use vi. I have not had the pleasure of learning Emacs. For my > understanding, is it possible to define a list of files or directories in a > project and then search for instances of used variables and how they are > used? Same question for functions. GNU id-utils is great for that. Run mkid to build a keyword database, use gid/lid on the command line for searching. This integrates with vim's built-in :grep facility, see :help quickfix.txt, section 5.4 "Using :grep with id-utils". ctags is the complement to that: it finds definitions rather than uses. See :help tags. I've been told that cscope can do the same thing (find both definitions and uses), but I'm not personally familiar with it. > I did a quick google search and didn't > find either of these capabilities illustrated. I see color syntax support. I > know vi has auto indentation and I assume emacs does as well but can they go > as far as selecting blocks of code and auto indent? Absolutely. '=' is the vim command for reindentation, and it works in visual mode. I don't know about Emacs ( reindents the current line; I've never figured out how to reindent larger blocks -- I only ever use Emacs when pair-programming with an Emacs user). Another killer feature of both vim/emacs is keyword completion: start typing a name, then hit a key to complete it, from the corpus of all the names used in the current file/included files/the whole project (if you've built a ctags db). Sort of a dumb, but lightning-quick IntelliSense. (vim also has smart autocompletion, called omnicomplete, but I rarely use that -- Python programs are *very* hard to statically analyze). Marius Gedminas -- One picture is worth 128K words. signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
I'm using Monodevelop for Vala development. It has project management, syntax highlighting, code completion, build customization, SVN integration and is lighter than Eclipse. I've set it up on F5 to run WAF build in Scratchbox, transfer with scp and run with ssh directly on the tablet. Easy and simple :) Downside is that you need to use 2.0 alpha 2 to have Vala support and is not easy to get it running if you're not on openSUSE. Regards: Bundyo On Fri, Jan 23, 2009 at 9:32 PM, Ville M. Vainio wrote: > On Fri, Jan 23, 2009 at 8:22 PM, Marius Gedminas wrote: > > > Vim and Emacs are incredibly great, if you're willing to invest the time > > in learning to use them well (a couple of days for basic tasks, weeks > > for real proficiency, and then you'll still be learning new tricks for > > years). It'll pay off in the end, if you do a lot of coding (or other > > kinds of text editing). It's sort of like learning to touch-type. > > This is going *way* off topic for maemo (time for yet another classic > emacs vs. vi bikeshed flamewar, eh? ;-) , but it's questionable > whether using emacs is going to pay up in the long run: > > http://pinard.progiciels-bpi.ca/opinions/editors.html > > One contraindication for using emacs is the very bad intellisense > support. I followed the "semantic bovinator" for a *years*, expecting > it to provide intellisense on par with other closed & open source > offerings, which proved highly disappointing. I don't know where it's > now, but if something takes years to realize, it's probably a futile > effort in the first place. > > I cut my own emacs addiction ~ 3 years ago, and wouldn't require > anyone to acquire the same willingly; you may well end up spending > more time tinkering / customizing than getting actual work done. > > -- > Ville M. Vainio > http://tinyurl.com/vainio > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
On Fri, Jan 23, 2009 at 8:22 PM, Marius Gedminas wrote: > Vim and Emacs are incredibly great, if you're willing to invest the time > in learning to use them well (a couple of days for basic tasks, weeks > for real proficiency, and then you'll still be learning new tricks for > years). It'll pay off in the end, if you do a lot of coding (or other > kinds of text editing). It's sort of like learning to touch-type. This is going *way* off topic for maemo (time for yet another classic emacs vs. vi bikeshed flamewar, eh? ;-) , but it's questionable whether using emacs is going to pay up in the long run: http://pinard.progiciels-bpi.ca/opinions/editors.html One contraindication for using emacs is the very bad intellisense support. I followed the "semantic bovinator" for a *years*, expecting it to provide intellisense on par with other closed & open source offerings, which proved highly disappointing. I don't know where it's now, but if something takes years to realize, it's probably a futile effort in the first place. I cut my own emacs addiction ~ 3 years ago, and wouldn't require anyone to acquire the same willingly; you may well end up spending more time tinkering / customizing than getting actual work done. -- Ville M. Vainio http://tinyurl.com/vainio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
I use vi. I have not had the pleasure of learning Emacs. For my understanding, is it possible to define a list of files or directories in a project and then search for instances of used variables and how they are used? Same question for functions. I did a quick google search and didn't find either of these capabilities illustrated. I see color syntax support. I know vi has auto indentation and I assume emacs does as well but can they go as far as selecting blocks of code and auto indent? thanks, Frank On Fri, Jan 23, 2009 at 12:22 PM, Marius Gedminas wrote: > Vim and Emacs are incredibly great, if you're willing to invest the time > in learning to use them well (a couple of days for basic tasks, weeks > for real proficiency, and then you'll still be learning new tricks for > years). It'll pay off in the end, if you do a lot of coding (or other > kinds of text editing). It's sort of like learning to touch-type. > > Marius Gedminas > > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
On Tue, Jan 20, 2009 at 10:46:23PM +0200, Felipe Contreras wrote: > On Tue, Jan 20, 2009 at 9:41 PM, Neil Jerram > wrote: > > 2009/1/20 Frank Banul : > >> > >> I'm curious what development tools you use? Textedit is nice and all but > >> I'm > >> sure that there are better tools. I would be interested in an editor that > >> supported more code oriented tasks. Any suggestions? > > > > Emacs? I have pretty extensive code-oriented needs, and it meets all > > of those (and more). > > And vim :) Vim and Emacs are incredibly great, if you're willing to invest the time in learning to use them well (a couple of days for basic tasks, weeks for real proficiency, and then you'll still be learning new tricks for years). It'll pay off in the end, if you do a lot of coding (or other kinds of text editing). It's sort of like learning to touch-type. Marius Gedminas -- Those who can't write, write manuals. signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
On Tue, Jan 20, 2009 at 11:26:39AM -0600, Frank Banul wrote: > I've got scratchbox installed on an Ubuntu host for compiling tablet > programs. > > I'm curious what development tools you use? Textedit is nice and all > but I'm sure that there are better tools. I would be interested in > an editor that supported more code oriented tasks. Any suggestions? If you use Emacs you can use it outside scratchbox with all its power but configure it to compile inside Scratchbox: http://djcbflux.blogspot.com/2007/12/maemacs.html -- Alberto García González http://people.igalia.com/berto/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
Frank Banul wrote: > I suppose I should have added that I still compile for OS2006. It > appears that ESbox doesn't support Gregale. Can Eclipse be used just for > source editing? Yes, it is a very good editor for C/C++. I usually edit code on Eclipse and launch a custom Makefile from a console within Scratchbox when I want to compile, run or upload something. Regards, Felipe signature.asc Description: OpenPGP digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
Very nice. I played around with Kscope tonight and it was very much a step in the direction I was looking for. Longterm, I may use Kscope for OS2006 source and ESbox for OS2008 source as breakpoints would be so much better than printf. :) But one step at a time. Thanks very much for the suggestions. Frank On Tue, Jan 20, 2009 at 1:13 PM, Ville M. Vainio wrote: > On Tue, Jan 20, 2009 at 7:26 PM, Frank Banul > wrote: > > > I'm curious what development tools you use? Textedit is nice and all but > I'm > > sure that there are better tools. I would be interested in an editor that > > supported more code oriented tasks. Any suggestions? > > If you want to do just source code editing and navigation, I recommend > kscope, especially if you have/want to browse a large codebase. It > says it's for C, but C++ works just fine as well. You can easily add > tons of source files (e.g. platform sources you acquire via "apt-get > source"). > > KDevelop is good as well, but sort of loses the point when you can't > use it for debug/build. > > -- > Ville M. Vainio > http://tinyurl.com/vainio > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
On Tue, Jan 20, 2009 at 9:41 PM, Neil Jerram wrote: > 2009/1/20 Frank Banul : >> >> I'm curious what development tools you use? Textedit is nice and all but I'm >> sure that there are better tools. I would be interested in an editor that >> supported more code oriented tasks. Any suggestions? > > Emacs? I have pretty extensive code-oriented needs, and it meets all > of those (and more). And vim :) -- Felipe Contreras ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
2009/1/20 Frank Banul : > > I'm curious what development tools you use? Textedit is nice and all but I'm > sure that there are better tools. I would be interested in an editor that > supported more code oriented tasks. Any suggestions? Emacs? I have pretty extensive code-oriented needs, and it meets all of those (and more). Regards, Neil ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
On Tue, Jan 20, 2009 at 7:26 PM, Frank Banul wrote: > I'm curious what development tools you use? Textedit is nice and all but I'm > sure that there are better tools. I would be interested in an editor that > supported more code oriented tasks. Any suggestions? If you want to do just source code editing and navigation, I recommend kscope, especially if you have/want to browse a large codebase. It says it's for C, but C++ works just fine as well. You can easily add tons of source files (e.g. platform sources you acquire via "apt-get source"). KDevelop is good as well, but sort of loses the point when you can't use it for debug/build. -- Ville M. Vainio http://tinyurl.com/vainio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
Hi, I suppose I should have added that I still compile for OS2006. It appears that ESbox doesn't support Gregale. Can Eclipse be used just for source editing? Frank On Tue, Jan 20, 2009 at 11:42 AM, José Luís wrote: > Hi, > > You can use ESbox eclipse plugin (http://esbox.garage.maemo.org/index.html > ). > > Att, > > José Luís > > On Tue, Jan 20, 2009 at 13:26, Frank Banul wrote: > >> Hi all, >> >> I've got scratchbox installed on an Ubuntu host for compiling tablet >> programs. >> >> I'm curious what development tools you use? Textedit is nice and all but >> I'm sure that there are better tools. I would be interested in an editor >> that supported more code oriented tasks. Any suggestions? >> >> thanks, >> Frank >> >> ___ >> maemo-developers mailing list >> maemo-developers@maemo.org >> https://lists.maemo.org/mailman/listinfo/maemo-developers >> >> > > > -- > José Luís do Nascimento > Laboratório de Sistemas Embarcados e Computação Pervasiva > UFCG - Campina Grande > jluisn at {ee,dee,embedded}.ufcg.edu.br > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: scratchbox ide
Hi, You can use ESbox eclipse plugin (http://esbox.garage.maemo.org/index.html). Att, José Luís On Tue, Jan 20, 2009 at 13:26, Frank Banul wrote: > Hi all, > > I've got scratchbox installed on an Ubuntu host for compiling tablet > programs. > > I'm curious what development tools you use? Textedit is nice and all but > I'm sure that there are better tools. I would be interested in an editor > that supported more code oriented tasks. Any suggestions? > > thanks, > Frank > > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > > -- José Luís do Nascimento Laboratório de Sistemas Embarcados e Computação Pervasiva UFCG - Campina Grande jluisn at {ee,dee,embedded}.ufcg.edu.br ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
scratchbox ide
Hi all, I've got scratchbox installed on an Ubuntu host for compiling tablet programs. I'm curious what development tools you use? Textedit is nice and all but I'm sure that there are better tools. I would be interested in an editor that supported more code oriented tasks. Any suggestions? thanks, Frank ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers