xndcn / symbols-tree-view

A symbols view like taglist for Atom.io
MIT License
116 stars 45 forks source link

More SQL enhancements #159

Open tschf opened 7 years ago

tschf commented 7 years ago

File extensions

Just updating to what has been contributed to the language-oracle language spec, as far as file extensions go. See here.

I double checked each in the lib/.ctags to make sure none were duplicates.

I've also changed the order so that they are organised alphabetically.

Prototypes and records

I found that procedures and function symbols weren't being parsed in package specs. Consider the following:

image

I have since learnt that ctags disables some symbol types by default, as per:

trent@birroth:~$ ctags --list-kinds=SQL
c  cursors
d  prototypes [off]
f  functions
F  record fields
l  local variables [off]
L  block label
P  packages
p  procedures
r  records [off]
s  subtypes
t  tables
T  triggers
v  variables
i  indexes
e  events
U  publications
R  services
D  domains
V  views
n  synonyms
x  MobiLink Table Scripts
y  MobiLink Conn Scripts
z  MobiLink Properties

I decided it was a good idea to enable both prototypes and records, but local variables weren't necessary to be enabled.

image