Perl code refactoring tools and PostgreSQL database structures

I am writing perl in vim. I always wrote perl in vim. However, after I received some java letters in NetBeans some time ago, there are some things that I would now like to receive for my perl projects: Code refactoring.

I have an application consisting of several scripts, each of which interacts with the postgresql database. This application started as a small hack, but suddenly it turned into many scripts with several thousand lines of code and a monstrous database. Although this is great, there are some things that I would like to fix using the database to make it more convenient to maintain in the long run: rename the column here, change the data type there .. you know the little things.

Are there any tools that allow me to do this, as well as finding any links to the mentioned columns in scripts that interact with it?

I would rather have good automated refactoring than tedious manual renaming, as it is too prone to fungerfudges, plus, I would like to have the right set of dev-tools, and not just vim in the end.

This is all done through an ssh session, by the way, so no fancy GUI-based IDEs are out of the question either.

+4
source share
1 answer

App :: EditorTools provides some lightweight tools for converting data to refactoring. Using App :: EditorTools :: Vim , you can include them directly in Vim.

Peter Blair has a short video about this in action http://petermblair.com/2009/10/perl-vim-refactor/

+2
source

All Articles