diesire / atom-oracle-format

Atom SQL formatter using Oracle SQL Developer
https://atom.io/packages/oracle-format
MIT License
1 stars 0 forks source link

Does this support Linux? #4

Closed tschf closed 8 years ago

tschf commented 8 years ago

Looks like this is possibly unsupported on Linux?

Looking in the bin directory, I do see sdcli, however it looks like it's just a luncher for sql developer:

# cat sdcli
#!/bin/bash

#=============================================================================
#  Launcher for Oracle SQL Developer
#  Copyright (c) 2005, Oracle. All rights reserved.
#=============================================================================

. "sqldeveloper"

#-----------------------------------------------------------------------------
#  product-specific function overrides
#-----------------------------------------------------------------------------
GetFullProductName()
{
    echo "Oracle SQL Developer"
}

GetShortProductName()
{
    echo "SQL Developer"
}
diesire commented 8 years ago

Only tested on Windows 7 with Oracle SQL Developer v4.0.3.

I don't have any Linux box with SQL Developer installed so I can't check it but I made a quick research and everything should be OK in Linux, just add sdcli with the full path to the settings section

If that fails, run sdcliwith the full path from the console to check if its available and working