Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Automatically format all code in this repository #111

Copy link
Copy link
Closed
@PhilippSalvisberg

Description

@PhilippSalvisberg
Issue body actions

We could provide code in this repo to automatically format SQL and PL/SQL code in our Markdown files before committing changes. This could be done by using SQLcl and tvdformat.js or the standalone CLI provided in this repo.

Technically every client needs to enable the appropriate Git hook(s). We should just provide the necessary install procedure to simplify that set up process. This could be used as example to set up something similar in other Git repos using SQL and PL/SQL code.

Some code blocks are marked as sql, but contain more than SQL and PL/SQL commands. E.g. output of an execution in SQL*Plus, SQLcl or similar. These code blocks are not amended based on this issue. Instead the default logic will apply. There are simply not formatted due to parse errors. To fix that a dedicate issue can be created (once all these code blocks are identified).

Metadata

Metadata

Labels

enhancementNew feature or requestNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.