Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35778

Re: New to python, do I need an IDE or is vim still good enough?

From Monte Milanuk <memilanuk@gmail.com>
Subject Re: New to python, do I need an IDE or is vim still good enough?
Date 2012-12-29 12:51 -0800
References <ea058e5c-518f-4210-b80e-49ae2baabff8@googlegroups.com> <kbna67$ngo$1@ger.gmane.org> <mailman.1434.1356804451.29569.python-list@python.org> <roy-2F4EA5.14524629122012@news.panix.com>
Newsgroups comp.lang.python
Message-ID <mailman.1443.1356814327.29569.python-list@python.org> (permalink)

Show all headers | View raw


On 12/29/2012 11:52 AM, Roy Smith wrote:

> Chris Angelico <rosuav@gmail.com> wrote:
> [regarding
>> Bracket matching
>> Language-sensitive auto-indentation
>> and automatically indents
>
> Yeah, what he said, plus syntax coloring.  And keyword highlighting.
> And autocompletion of variable names.

I'll probably get dog-piled by the vim/emacs folks again here... but 
isn't that something most decent text editors do?


On 12/29/2012 11:52 AM, Roy Smith wrote:
>
> And parsing of error messages.
>
> I'll pause a moment to let that sink in.  Grok the fullness of just how
> awesome a feature it is.
>
> In emacs, for example. I'll do C-C M (which I have bound to M-X
> Compile).  This runs a command and captures the output in a buffer.  If
> the output happens to contain something like:
>
> Traceback (most recent call last):
>    File
> "/home/roy/production/python/local/lib/python2.7/site-packages/nose/case.
> py", line 197, in runTest
>      self.test(*self.arg)
>    File "/home/roy/songza/api2/test_api2.py", line 16, in test_get_api
>      data = requests.get(url('api/v2/')).json
>    File "/home/roy/songza/api2/test_common.py", line 13, in url
>      assert route.startswith('/')
> AssertionError
>
> emacs will parse that, highlight the filenames and line numbers and if I
> type M-`, it'll take me to the line of the next error (including opening
> the file if it's not already open).
>
> I assume other smart editors have similar capabilities.  Different tools
> have different combinations of these, or slightly different
> implementations.  Find one you like and learn all of it's capabilities.
> It makes a huge difference in how productive you are.
>


While I probably don't use the vast majority of the 'fancy' features of 
most IDEs - most of what I do barely requires any real 'project 
manangement'... there are a couple things that I've gotten *very* used 
to with an IDE.

One is having it run pylint and pep8 checks against code, display the 
output in a friendly format with links straight to the offending items 
and even displaying colored carats in the gutter region and 
high-lighting them.

The other is having it parse my imports, and use them for the 
'auto-complete' aka 'code intelligence' features - and not just the 
standard library stuff, but also GUI toolkits like PyQt4.

I'm pretty sure those things can be done, or something fairly close at 
least, in editors like vim or emacs... but the few times I looked into 
it for vim, it was enough to send me running back to Eclipse/PyDev, even 
if it is kind of an 800lb gorilla otherwise.

It's still on my 'one of these days' list of things to do, though ;)


Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

New to python, do I need an IDE or is vim still good enough? mogul <morten.guldager@gmail.com> - 2012-12-27 12:01 -0800
  Re: New to python, do I need an IDE or is vim still good enough? ian douglas <ian.douglas@iandouglas.com> - 2012-12-27 12:13 -0800
  Re: New to python, do I need an IDE or is vim still good enough? Daniel Fetchinson <fetchinson@googlemail.com> - 2012-12-27 21:16 +0100
  Re: New to python, do I need an IDE or is vim still good enough? Alister <alister.ware@ntlworld.com> - 2012-12-27 20:23 +0000
  Re: New to python, do I need an IDE or is vim still good enough? peter <pjmakey2@gmail.com> - 2012-12-27 17:14 -0300
  Re: New to python, do I need an IDE or is vim still good enough? Terry Reedy <tjreedy@udel.edu> - 2012-12-27 15:57 -0500
  Re: New to python, do I need an IDE or is vim still good enough? Walter Hurry <walterhurry@lavabit.com> - 2012-12-27 21:16 +0000
  Re: New to python, do I need an IDE or is vim still good enough? Tim Chase <python.list@tim.thechases.com> - 2012-12-27 15:25 -0600
  Re: New to python, do I need an IDE or is vim still good enough? Michael Torrie <torriem@gmail.com> - 2012-12-27 14:28 -0700
  Re: New to python, do I need an IDE or is vim still good enough? Michael Torrie <torriem@gmail.com> - 2012-12-27 14:29 -0700
  Re: New to python, do I need an IDE or is vim still good enough? Modulok <modulok@gmail.com> - 2012-12-27 16:30 -0700
  Re: New to python, do I need an IDE or is vim still good enough? Cameron Simpson <cs@zip.com.au> - 2012-12-28 10:37 +1100
  Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-28 10:41 +1100
  Re: New to python, do I need an IDE or is vim still good enough? "TommyVee" <xxxxxxxx@xxxxxx.xxx> - 2012-12-27 20:09 -0500
    Re: New to python, do I need an IDE or is vim still good enough? Roy Smith <roy@panix.com> - 2012-12-27 20:37 -0500
  Re: New to python, do I need an IDE or is vim still good enough? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-28 04:15 +0000
  Re: New to python, do I need an IDE or is vim still good enough? Jamie Paul Griffin <jamie@kode5.net> - 2012-12-28 06:51 +0000
  Re: New to python, do I need an IDE or is vim still good enough? Yuvraj Sharma <aleastech@gmail.com> - 2012-12-28 01:37 -0800
    Re: New to python, do I need an IDE or is vim still good enough? Jamie Paul Griffin <jamie@kode5.net> - 2012-12-30 14:15 +0000
      Re: New to python, do I need an IDE or is vim still good enough? Neil Cerutti <neilc@norwich.edu> - 2013-01-02 18:36 +0000
        Re: New to python, do I need an IDE or is vim still good enough? Matty Sarro <msarro@gmail.com> - 2013-01-02 13:47 -0500
  Re: New to python, do I need an IDE or is vim still good enough? Andrew Berg <bahamutzero8825@gmail.com> - 2012-12-28 03:52 -0600
  Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-28 21:05 +1100
  Re: New to python, do I need an IDE or is vim still good enough? Kwpolska <kwpolska@gmail.com> - 2012-12-28 11:27 +0100
  Re: New to python, do I need an IDE or is vim still good enough? gst <g.starck@gmail.com> - 2012-12-28 04:08 -0800
  Re: New to python, do I need an IDE or is vim still good enough? python培训 <51mmj.com@gmail.com> - 2012-12-28 06:15 -0800
  Re: New to python, do I need an IDE or is vim still good enough? Westley Martínez <anikom15@gmail.com> - 2012-12-28 18:02 -0800
  Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-29 17:40 +1100
  Re: New to python, do I need an IDE or is vim still good enough? Monte Milanuk <memilanuk@gmail.com> - 2012-12-29 09:44 -0800
  Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-30 05:07 +1100
    Re: New to python, do I need an IDE or is vim still good enough? Roy Smith <roy@panix.com> - 2012-12-29 14:52 -0500
      Re: New to python, do I need an IDE or is vim still good enough? Monte Milanuk <memilanuk@gmail.com> - 2012-12-29 12:51 -0800
      Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-30 08:21 +1100
        Re: New to python, do I need an IDE or is vim still good enough? Roy Smith <roy@panix.com> - 2012-12-29 16:52 -0500
          Re: New to python, do I need an IDE or is vim still good enough? Mitya Sirenef <msirenef@lightbird.net> - 2012-12-29 17:10 -0500
          Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-30 09:30 +1100
            Re: New to python, do I need an IDE or is vim still good enough? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-01 03:55 +0000
              Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2013-01-01 15:20 +1100
          Re: New to python, do I need an IDE or is vim still good enough? Mitya Sirenef <msirenef@lightbird.net> - 2012-12-29 17:40 -0500
          Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-30 10:16 +1100
      Re: New to python, do I need an IDE or is vim still good enough? Neil Cerutti <neilc@norwich.edu> - 2013-01-02 18:43 +0000
  Re: New to python, do I need an IDE or is vim still good enough? Grant Edwards <invalid@invalid.invalid> - 2012-12-29 18:50 +0000
    Re: New to python, do I need an IDE or is vim still good enough? Tim Johnson <tim@akwebsoft.com> - 2012-12-29 15:38 -0900
    Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2012-12-30 11:54 +1100
  Re: New to python, do I need an IDE or is vim still good enough? Mitya Sirenef <msirenef@lightbird.net> - 2012-12-29 14:00 -0500
    Re: New to python, do I need an IDE or is vim still good enough? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-01 03:46 +0000
      Re: New to python, do I need an IDE or is vim still good enough? Cameron Simpson <cs@zip.com.au> - 2013-01-01 21:12 +1100
      Re: New to python, do I need an IDE or is vim still good enough? Tim Chase <python.list@tim.thechases.com> - 2013-01-01 08:23 -0600
      Re: New to python, do I need an IDE or is vim still good enough? Mitya Sirenef <msirenef@lightbird.net> - 2013-01-01 13:43 -0500
        Re: New to python, do I need an IDE or is vim still good enough? Roy Smith <roy@panix.com> - 2013-01-01 14:02 -0500
          Re: New to python, do I need an IDE or is vim still good enough? Mitya Sirenef <msirenef@lightbird.net> - 2013-01-01 14:32 -0500
          Re: New to python, do I need an IDE or is vim still good enough? Wayne Werner <wayne@waynewerner.com> - 2013-01-02 21:17 -0600
          Re: New to python, do I need an IDE or is vim still good enough? Mitya Sirenef <msirenef@lightbird.net> - 2013-01-02 22:48 -0500
      Re: New to python, do I need an IDE or is vim still good enough? Michael Torrie <torriem@gmail.com> - 2013-01-02 14:33 -0700
      Re: New to python, do I need an IDE or is vim still good enough? Mitya Sirenef <msirenef@lightbird.net> - 2013-01-02 17:48 -0500
      Re: New to python, do I need an IDE or is vim still good enough? Wayne Werner <wayne@waynewerner.com> - 2013-01-02 20:37 -0600
      Re: New to python, do I need an IDE or is vim still good enough? Gisle Vanem <gvanem@broadpark.no> - 2013-01-03 10:59 +0100
  Re: New to python, do I need an IDE or is vim still good enough? Adam Tauno Williams <awilliam@whitemice.org> - 2012-12-31 06:57 -0500
    Re: New to python, do I need an IDE or is vim still good enough? Hans Mulder <hansmu@xs4all.nl> - 2012-12-31 13:35 +0100
      Re: New to python, do I need an IDE or is vim still good enough? Ben Finney <ben+python@benfinney.id.au> - 2013-01-01 09:46 +1100
        Re: New to python, do I need an IDE or is vim still good enough? Anssi Saari <as@sci.fi> - 2013-01-04 09:34 +0200
          Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2013-01-05 02:34 +1100
          Re: New to python, do I need an IDE or is vim still good enough? Tim Chase <python.list@tim.thechases.com> - 2013-01-04 10:59 -0600
      Re: New to python, do I need an IDE or is vim still good enough? Chris Angelico <rosuav@gmail.com> - 2013-01-01 09:54 +1100
      Re: New to python, do I need an IDE or is vim still good enough? xDog Walker <thudfoo@gmail.com> - 2012-12-31 16:13 -0800
  Re: New to python, do I need an IDE or is vim still good enough? jussij@zeusedit.com - 2013-01-01 16:12 -0800
  Re: New to python, do I need an IDE or is vim still good enough? Ramchandra Apte <maniandram01@gmail.com> - 2013-01-01 21:10 -0800
    Re: New to python, do I need an IDE or is vim still good enough? Wayne Werner <wayne@waynewerner.com> - 2013-01-02 21:20 -0600
  Re: New to python, do I need an IDE or is vim still good enough? jrodkeyjr@gmail.com - 2013-01-04 08:28 -0800

csiph-web