I am not finding any standard open source sql formatter eclipse plugin on net. I am using eclipse helios. I can find Edit-->FormatSQL but that does not seems to be working. Found one at http://ventralnet.blogspot.in/2010/11/sql-beautifier-eclipse-plugin.html
but formatting is not good. Any suggestion will be helpful. For info I am using sqlserver sql scripts.
Toad eclipse-extension (community edition), will get you almost everything you want in an SQL editor, including formatting (ctrl+shif+f). Search for 'toad' in eclipse market place. It has very good Oracle, MySQL and PostgreSQL support.
Take a look at Installation instructions and screenshots.
Another option is http://dbeaver.jkiss.org/download/#eclipse (Which is very good and also has a standalone version)
Some of my favorites are:
Eclipse SQL Explorer at: http://eclipsesql.sourceforge.net
DBViewer at: http://www.ne.jp/asahi/zigen/home/plugin/dbviewer/about_en.html
Related
I'm developing a plugin for all JetBrains IDEs.
The plugin needs to know which exact flavor of JetBrains IDE it's running, some sort of string like "IntelliJ IDEA Ultimate", or "PyCharm Educational".
ApplicationInfo has some vague references to the IDE edition like /idea_community_about.png as the aboutImageUrl property but there doesn't appear to be anything concrete. Is there a standard way to get this data?
To get this information about the IDE, use
ApplicationNamesInfo.getInstance().fullProductNameWithEdition
From the doc string in the source:
Returns full product name with edition. Vendor prefix is not included.
Use only when omitting an edition may potentially cause a confusion.
Example #1: include the edition in generated shortcuts, since a user may have several editions installed.
Example #2: exclude the edition from "Restart ...?" confirmation, as it only hampers readability.
Rarely needed, consider using getFullProductName() instead.
As mentioned here: if you only need to know whether you are dealing with IntelliJ or PyCharm (Community or Professional does not matter) it is often enough to use fullProductName instead.
I'm using an Oracle SQL Developer and it's built in code formatting settings are far away from being fine.
there is an option to setup a custom format, instead of using external tools like notepad++ with it's plugins, but I get lost in the code.
So I have 2 questions:
where can I get tutorial about code formatting customization?
Can someone share an enhanced format configuration file?
There are good tutorials on Pluralsight about code formatting in SQL developer.
Can I read Excel file using active jdbc in java? I have been using Eclipse as IDE for java. Is there any jar files for active jdbc?
Can anyone help me in this?
ActiveJDBC is an ORM for database access. As such, it was not built to read Excel files. The latest version of ActiveJDBC can be pulled from Maven Central.
As You haven't given us exactly what you are trying to do. I'm suggesting another solution.
I have written a basic Excel ORM tool for these purposes. It's currently in development, but if you are looking for a basic solution you can try it.
I think it will mostly cover your basic needs.
And, feel free to contribute :)
Excel ORM GitHub Repository Link
I am trying to generate a diagram from IntelliJ 14. It is told in the documentation to install the UML Support plugin. I do not find a such plugin on my computer:
What am I missing?
The solution is: don't use the community edition. It is limited in respect to diagram options.
As I also mentioned here:
The community edition only supports a limited number of plugins. The
class diagram plugin is only supported in the Ultimate edition if I
remember correctly.
You can always try a 30-day free trial of IntelliJ Ultimate in order
to generate your class diagrams.
I recall reading that one has to pay for IntelliJ to get that functionality. It is not in the free version.
I use Code Iris and PlantUML. It is a very useful tools especially PlantUML. Other tools of this type in the IDEA are paid.
Below PlantUML.
I hope it will help you.
I like to use the SQL Tools in VS but I would like to have some intellisense for SQL, with sql manager I can get the Redgate SQL prompt but I would like to stay in VS, any Ideas?
Edit:
is there anything other then Redgate SQL prompt? that dose error checking like the way R# or dev express?
Red-Gate SQL Prompt (at least more recent versions, I believe 3.x and up) also works inside Visual Studio. I don't think you need another extra tool, really.
See the Red-Gate SQL Prompt feature page
It says clearly:
Integrates with SSMS, SSMS Express, Query Analyzer and Visual Studio
Marc
With Red Gate SQL Prompt you also will stay in VS and this product supports now just VS 2008.
SQL Prompt web page
If you don't like it I can propose you to try SQL Assist or SQL Complete. I use this tool and as for me it's really reliable one.
Apart from tools mentioned above there is a pretty neat tool from ApexSQL called “Complete”. I think this article can explain further http://blog.apexsql.com/ssms-intellisense-add-in-and-ssms-intellisense/
And the tool itself
Yes, SQL Prompt 3.x and 4.x beta for sure work with Visual Studio 2005/2008
You can download the 4.x beta to play with, and visit their forum if you have any question/problem. Red Gate people are very nice and helpful
http://www.red-gate.com/MessageBoard/viewforum.php?f=98