Impossible to use TODO s in SQL files?

Completed

I've spent 2 hours trying something as "simple" as getting SQL files to have syntax and tool support for TODOs but apparently SQL files have no syntax support for that.

How can it be added? I tried to modify it but it looks like SQL files are not modifiable by definition.

 

Thanks,

1
7 comments

@Albert Camps

What do you mean under `SQL Files are not modifiable`? Could you provide a screenshot?
Since, I can't reproduce:



0
Avatar
Permanently deleted user

Hi, it looks like it's not recognising them for me... somehow. Do I need to create a project or something?

0
Avatar
Permanently deleted user

I created a project and added a directory to the project. Moved the files there and it worked!

 

Thanks for your time and help!

0
Avatar
Permanently deleted user

I guess it's related to this issue, it used to work fine in 2017.2.3: https://youtrack.jetbrains.com/issue/DBE-6327

 

1
Avatar
Permanently deleted user

Hi using latest 2018.2.5 does also not show any TODO from comments.

Just for testing I used pattern .*todo.* but did either not work - wether just case sensitive or insensitive.

This is pain

0
Avatar
Permanently deleted user

Made sure whats happen with new release 2019.1

DataGrip 2019.1
Build #DB-191.6707.12, built on April 3, 2019

Still same issue - no coloring - no items in list

0

The issue is present if TODO is inside stored procedure (Redshift dialect).

IntelliJ IDEA 2020.2 (Ultimate Edition)
Build #IU-202.6397.94, built on July 27, 2020

1

Please sign in to leave a comment.