New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL: Ctags doesn't detect CREATE TABLE IF NOT EXISTS #2958
Comments
Thankj you for reporting. Is this MySQL specific phrase? I'm not familiar with SQL. So I would like to know the URL that explains the phrase, "IF NOT EXISTS". |
Not only MySQL and here it's described: |
If we can assume "EXISTS" comes after "NOT" after "IF", we can solve this issue easily.
|
@ksamborski, thank you. It seems that we can assume "IF NOT EXISTS" or nothing after "table" keyworkd. |
Close universal-ctags#2958 reported by @LawrenceJGD.
Close universal-ctags#2958 reported by @LawrenceJGD.
I made a pull request. See #2961. |
Close #2958 reported by @LawrenceJGD.
When I use
CREATE TABLE IF NOT EXISTS
in SQL to create a table Ctags does not create any label for that table, the same problem occurs in Geany.The name of the parser: SQL
The command line you used to run ctags:
$ ctags --options=NONE test.sql
The content of input file:
The tags output you are not satisfied with:
The tags output you expect:
The version of ctags:
How do you get ctags binary: From Manjaro Linux "ctags" package
The text was updated successfully, but these errors were encountered: