Giter Club home page Giter Club logo

Comments (5)

manticore-projects avatar manticore-projects commented on May 30, 2024

from jsqlformatter.

csonuryilmaz avatar csonuryilmaz commented on May 30, 2024

Thanks for the quick workaround. 👍 Formatter works fine with dual patch.

2021-05-17_16-20

After your feedback I remembered dual from Oracle, but I didn't ever used it in MySQL because it allows select without dual. Oracle doesn't allow statements like that when compared to MySQL.

.. I will fix queries without a FROM clause.

It will be good for MySQL developers. 🙏

from jsqlformatter.

manticore-projects avatar manticore-projects commented on May 30, 2024

It will be good for MySQL developers. pray

We have a Big Heart for all the MySQL developers in the world (especially when also H2 supports SELECT without a FROM). Oracle DUAL Pseudo-table should have died a long time ago.

It has been solved and you can test it here interactively

Maybe you also would like to test the new Import Java Code Fragment and Export to Java String/StringBuilder/MessageFormat? Although it is accessible only in our DemoUI as I have no idea yet, how to bring this to Netbeans.

For now, just right click into the Editor in order to get the PopUp Menu. At the bottom of the PopUp Menu, you see the Paste-From- and the Copy-To-Actions.

from jsqlformatter.

manticore-projects avatar manticore-projects commented on May 30, 2024

(Updated Netbeans Plugin](https://github.com/manticore-projects/jsqlformatter/releases/download/0.1.7/externalcodeformatter-1.14.1-SNAPSHOT.nbm)

Screencast on the Import/Export Java String Fragment:

screencast_JSQLFormatterUI_JavaExport.mp4

from jsqlformatter.

csonuryilmaz avatar csonuryilmaz commented on May 30, 2024

Thanks, I've tested with latest plugin and it just works. 🎉

.. Although it is accessible only in our DemoUI as I have no idea yet, how to bring this to Netbeans.

That's a great feature and seems working good. 🤗

I've been already using a Netbeans plugin for that purpose: Java Text Copy Paste Module


Note: At the time of writing, Netbeans plugin web site was unreachable. 😞 I hope that was a temporary situation.


2021-05-23_21-57

It's originally Netbeans 8 plugin. But although being unmaintained, it works with latest Netbeans releases. For instance, mine is Netbeans 12.3. A maintained and modern plugin will be better for that feature and will be preferred by many developers.

Maybe you can reach its developer and take a look at source code to achieve your feature. here

from jsqlformatter.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.