Support formatting with ':param' params
ousatov-ua opened this issue · comments
Oleksii Usatov commented
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!
Heyward Fann commented
"sql.formatOptions": {
"language": "plsql"
},
Add this to your coc-settings.json will support to format :param
.
Oleksii Usatov commented
Yes, it works! Thank you @fannheyward !