• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

oracle-format

Quick and dirty SQL formatter using Oracle SQL Developer
diesire
0.4.0 3,336
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

atom-oracle-format

Quick and dirty SQL formatter using Oracle SQL Developer

Installation

With apm:

apm install oracle-format

Configuration

In the package configuration section, add the path to sdcli.exe or sdcli64.exe image

Usage

Format editor content alt-ctrl-l/alt-cmd-l

Format SQL in package menu or context menu. Only runs in files using SQL grammar

:warning: File will be saved before being formatted

:snail: This option has the worst performance. It takes a while... so be patient

Format file

Format SQL File in tree view context menu. Option visible on *.sql files only

Format folder

Format SQL Folder in tree view context menu. Option available on folders only

:warning: Formats all the files in the folder, not only *.sql files

:rabbit2: This is the most performant option

Why

  • No hidden dependencies (only Oracle Developer for obvious reasons :wink:)

    • Under corporate proxy installing packages may be difficult due to network limitations

    • Need of Python and Visual Studio to install packages (node-gyp errors) its a big restriction in some circumstances

  • Maintain same formatting options throughout the entire code base

Contributions

Pull requests are welcome, big and small!

License

MIT © Pablo Escalada

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by