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


Groups > comp.lang.python > #101472

Re: Which Python editor has this feature?

Newsgroups comp.lang.python
Date 2016-01-11 03:04 -0800
References <830f6f97-22dd-488c-9dd6-e9cd92844307@googlegroups.com> <mailman.0.1452481145.13488.python-list@python.org>
Message-ID <5f1619e5-83ff-449e-b7e5-2374a37bd50b@googlegroups.com> (permalink)
Subject Re: Which Python editor has this feature?
From jfong@ms4.hinet.net

Show all headers | View raw


Chris Angelico at 2016/1/11  UTC+8 10:59:47AM wrote:
> On Mon, Jan 11, 2016 at 12:59 PM,  <jfong@ms4.hinet.net> wrote:
> > It lets you jump between the current cursor position and the line the upper level indentation start, something like the bracket matching in C editor. Because of Python use indentation as its code block mark, It might be helpful if we can jump between different level of it:-)
> 
> I coded this up as a patch for SciTE/Scintilla at one point, but it
> didn't get accepted. It was used for a while at my work, but never
> really settled in as being useful. Python code tends not to be as big
> and complex as C code often is, so it's not as useful to have a
> feature like this.
> 
> If you want it, I can probably hunt down the patch file somewhere.
> 
> ChrisA

I am studying the PyUSB package now as the learning object of how to write a Python program in a "formal" way. In those modules, there are many comment inserted between codes to explain what it does. It's good to the user comprehension, but also easily makes a Class size expanded to over 100 lines. Also many Classes has the same named method such as __getitem__ etc. When searching a specific name I usually have to roll back the screen a few times to find out what Class I am looking at. That's really annoy.

But, just like you said, this feature may be not so useful to a Python programmer. I should try the editor I am using now to see if I can "patch" a such feature, just as you had did on SciTE before:-)

--Jach

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


Thread

Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-10 17:59 -0800
  Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-11 13:58 +1100
    Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 03:04 -0800
      Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-11 16:21 -0500
        Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 17:51 -0800
          Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-12 02:55 -0500
            Re: Which Python editor has this feature? wxjmfauth@gmail.com - 2016-01-12 00:28 -0800
              Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-12 17:27 -0800
                Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-13 12:51 +1100
                Re: Which Python editor has this feature? Steven D'Aprano <steve@pearwood.info> - 2016-01-13 13:04 +1100
                Re: Which Python editor has this feature? wxjmfauth@gmail.com - 2016-01-13 00:04 -0800
                Re: Which Python editor has this feature? wxjmfauth@gmail.com - 2016-01-13 07:24 -0800
            Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-12 17:20 -0800
              Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-13 04:10 -0500
                Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-13 16:48 -0800
      Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-12 11:14 +1100
      Re: Which Python editor has this feature? Bernardo Sulzbach <mafagafogigante@gmail.com> - 2016-01-11 22:55 -0200
        Re: Which Python editor has this feature? Grant Edwards <invalid@invalid.invalid> - 2016-01-12 18:31 +0000
      Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-12 12:09 +1100
      Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-12 03:27 -0500
      Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-12 21:18 +1100
      Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-13 04:05 -0500
      Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-13 21:09 +1100
  Re: Which Python editor has this feature? Tim Chase <python.list@tim.thechases.com> - 2016-01-10 20:37 -0600
    Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 03:08 -0800
      Re: Which Python editor has this feature? Tim Chase <python.list@tim.thechases.com> - 2016-01-11 05:59 -0600
  Re: Which Python editor has this feature? Rustom Mody <rustompmody@gmail.com> - 2016-01-10 19:49 -0800
    Re: Which Python editor has this feature? Frank Haun <fh@fhaun.de> - 2016-01-11 11:54 +0000
  Re: Which Python editor has this feature? Gordon Levi <gordon@address.invalid> - 2016-01-11 19:40 +1100
    Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 03:16 -0800
    Re: Which Python editor has this feature? Fabio Zadrozny <fabiofz@gmail.com> - 2016-01-26 16:10 -0200
  Re: Which Python editor has this feature? Fabio Zadrozny <fabiofz@gmail.com> - 2016-01-26 16:09 -0200

csiph-web