A little while ago I wrote about how I got Jed + TAGS to work thanks the ntags library. I've been using it now for a while and I love it! I doubt there are any IDEs that beats a swift combination of Ctrl+2 followed by Alt+. and you get the definition of a function or variable without losing any focus.

If you're not into programming stop reading now because it's going to get even more technical.

In a lot of my work, the .sql files are automatically converted to class methods according to a config file which effectively converts

--selectfoo.sql
uid, name select * from names where ...

--foo.py-- class Something:

...into...:


--bar.py--
class Something:
   def selectfoo(self, uid, name):
       return _sqlquery("select * from ...."

Now, since the methods don't exist until you start the app, ctags will not be able to find these "SQL methods" which makes it a pain for me to dig out the right .sql file whilst programming. Fortuntely, writing to the ctags format was easier than I thought. Really all I had to do was to write a little python script and relink some executable scripts on my laptop. Now it works perfectly and exactly as I want it. Here's the code for the eager to copy :)

Comments

Your email will never ever be published.

Previous:
isInt() JavaScript function May 22, 2006 Web development
Next:
Weird spam? Or just a weird girl? May 31, 2006 Wondering
Related by category:
How I run standalone Python in 2025 January 14, 2025 Python
get in JavaScript is the same as property in Python February 13, 2025 Python
How to resolve a git conflict in poetry.lock February 7, 2020 Python
set -ex - The most useful bash trick of the year August 31, 2014 Linux
Related by keyword:
Ctags in Atom on OSX February 26, 2016 Web development, macOS
Local jed settings April 19, 2013 Linux, macOS
Jed looking like Emacs September 28, 2005 Linux
Wing IDE versus Jed December 11, 2008 Linux