Closed JimmyJames707 closed 7 years ago
Hi, thanks for posting an issue! I'm definitely sure that would have something to do with lang-gdscript. I never accounted for export statements being separated onto multiple lines.
I'll look in to this when I get some free time this week.
Thank you. :)
Hey @JimmyJames707, sorry it's been so long. I checked out the package and I thought it used the grammar definition to get symbols, but, y'know, it uses ctags.
I use syskrank/vim-gdscript-ctags as well and I see you already posted an issue there. I'm going to close this issue as it's not related to lang-gdscript. However, it should be a simple change to gdscript's ctags regex as it is just because it doesn't identify non-exported variables.
@JimmyJames707 Add this to your .ctags file for non-exported variables:
--regex-gdscript=/^[ \t]*var[ \t]+([a-zA-Z0-9_]+)[ \t]*/\1/v,variable/i
Hi, I am new to Atom and just noticed this. I am not sure if you are the right one to ask, but in the 'Symbols Tree View' package, type_1 below is not visible, while type_2 is.
Does this mean Atom does not see the symbol, if the export variable is spread across more than one line?