fannheyward / coc-sql

SQL extension for coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support formatting with ':param' params

ousatov-ua opened this issue · comments

Hi!
Thank you for the plugin! :)

I'm just wondering if it will be possible to support params in sql, e.g.:
UPDATE some_table SET some_col= :param

:param - often used with NamedParameterJdbcTemplate in java.

I see that it seems like sql-formatter does not support it... maybe there is such lib in nodejs world. :)

Thanks!

  "sql.formatOptions": {
    "language": "plsql"
  },

Add this to your coc-settings.json will support to format :param.

Yes, it works! Thank you @fannheyward !