Re: cscope like source code navigation for python code

2010-08-08 Thread Gelonida
On 08/08/2010 01:42 AM, Tim Harig wrote:
 On 2010-08-07, Gelonida gelon...@gmail.com wrote:
 I'm using g?vim and its c-scope plugin for browsing C-code.
 What would be a good way of navigating larger python projects with vim?
 
 ctags:
   http://ctags.sourceforge.net/

Thanks Tim.

This looks quite interesting.

I prefereed vim/cscope for navigation, but  guess after some learning
with vim/ctags I should get along quite well.


My biggest problem with is, that ctrl-] doesn't ask you to which tag to
jump in case multiple options exist.





-- 
http://mail.python.org/mailman/listinfo/python-list


Re: cscope like source code navigation for python code

2010-08-08 Thread Thomas Jollans
On 08/07/2010 07:53 PM, Gelonida wrote:
 Hi,
 
 I'm using g?vim and its c-scope plugin for browsing C-code.
 
 What would be a good way of navigating larger python projects with vim?
 
 
 thanks for any suggestions
 


http://pypi.python.org/pypi/pycscope/0.2

Looks like an option
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: cscope like source code navigation for python code

2010-08-08 Thread Tim Harig
On 2010-08-08, Gelonida gelon...@gmail.com wrote:
 On 08/08/2010 01:42 AM, Tim Harig wrote:
 On 2010-08-07, Gelonida gelon...@gmail.com wrote:
 I'm using g?vim and its c-scope plugin for browsing C-code.
 What would be a good way of navigating larger python projects with vim?
 
 ctags:
  http://ctags.sourceforge.net/

 I prefereed vim/cscope for navigation, but  guess after some learning
 with vim/ctags I should get along quite well.

It takes a little getting used to because it isn't as intuative as cscope's
visual navigation; but, it is quite efficient once you have internalized
it.  It also has a portability advantage.  ctags works with all versions of
vi so you are not just limited to vim.  Excuberant ctags works with most
langauges that you are likely to be working in and many tools are available
that produce ctags files for other languages.

 My biggest problem with is, that ctrl-] doesn't ask you to which tag to
 jump in case multiple options exist.

It usually jumps to the most relavant tag.  If necessary, you can specify
exactly which tag you need with :tag.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: cscope like source code navigation for python code

2010-08-08 Thread Gelonida
Hi Thomas,

On 08/08/2010 01:27 PM, Thomas Jollans wrote:
 On 08/07/2010 07:53 PM, Gelonida wrote:
 Hi,

 I'm using g?vim and its c-scope plugin for browsing C-code.

 What would be a good way of navigating larger python projects with vim?


 thanks for any suggestions

 
 
 http://pypi.python.org/pypi/pycscope/0.2
 
 Looks like an option

Yes it looks like an option.
Unfortunately it is from 2006 and reported (and aborted) on a syntax
error of one of my files.

My file is running and passes pylint / pychecker.

So I'm afraid, that the code might be outdated.
I'll investigte perhaps a little more.





-- 
http://mail.python.org/mailman/listinfo/python-list


Re: cscope like source code navigation for python code

2010-08-08 Thread Kenny Meyer
Gelonida (gelon...@gmail.com) wrote:
 Hi Thomas,
 
 On 08/08/2010 01:27 PM, Thomas Jollans wrote:
  On 08/07/2010 07:53 PM, Gelonida wrote:
  Hi,
 
  I'm using g?vim and its c-scope plugin for browsing C-code.
 
  What would be a good way of navigating larger python projects with vim?
 
 
  thanks for any suggestions
 
  
  
  http://pypi.python.org/pypi/pycscope/0.2
  
  Looks like an option
 
 Yes it looks like an option.
 Unfortunately it is from 2006 and reported (and aborted) on a syntax
 error of one of my files.
 
 My file is running and passes pylint / pychecker.
 
 So I'm afraid, that the code might be outdated.
 I'll investigte perhaps a little more.

I wonder if you have seen the new version:

http://pypi.python.org/pypi/pycscope/0.3

-- 
Onward and upwards,  .O.
Kenny Meyer  ..O
:wq  OOO


signature.asc
Description: Digital signature
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: cscope like source code navigation for python code

2010-08-07 Thread Tim Harig
On 2010-08-07, Gelonida gelon...@gmail.com wrote:
 I'm using g?vim and its c-scope plugin for browsing C-code.
 What would be a good way of navigating larger python projects with vim?

ctags:
http://ctags.sourceforge.net/
-- 
http://mail.python.org/mailman/listinfo/python-list