You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use typescript-formatter on the command line to call the SQL formatting functionality in typescript-sql-tagged-template-plugin (when SQL is in inline tagged template literals).
The language service plugin implements getFormattingEditsForRange, but it is not being loaded if I specify it in tsconfig.json as follows:
I would like to use
typescript-formatter
on the command line to call the SQL formatting functionality intypescript-sql-tagged-template-plugin
(when SQL is in inline tagged template literals).The language service plugin implements
getFormattingEditsForRange
, but it is not being loaded if I specify it intsconfig.json
as follows:I'm guessing because TypeScript is being imported from
'typescript'
, instead of'typescript/lib/tsserverlibrary'
, which seems to be required for enabling plugins.I also found a gist from @weswigham, which seems to go in this direction.
Would this use case be something possible to support here?
The text was updated successfully, but these errors were encountered: