Code Monkey home page Code Monkey logo

tarantool-idea-plugin's Introduction

build Contributions welcome Downloads Rating Version

Tarantool Plugin for IntelliJ

Plugin that implements Tarantool support in IntelliJ Platform-based IDEs.

Contact maintainers:
Resources:

Compatibility


NOTE

Plugin relies on DataGrip plugin functionality, which only present in Ultimate editions of IDEs, it cannot be used with Community Edition IDEs.


IntelliJ IDEA, PyCharm, CLion, PhpStorm, WebStorm, RubyMine, AppCode, DataGrip, GoLand, Rider, Cursive, Android Studio and other IntelliJ platform based IDEs which support DataGrip. Actual information can always be found on plugin home page.

Setup

Tarantool Plugin can be installed via Settings | Plugins. See the detailed instructions

Setup

After installation and restart of IDE new DB entry should be available:

New DB entry

You can configure your new connection via dialog window:

Tarantool connection configuration

Summary of Supported Tarantool Features

Plugin based on Datagrip functionality, so it supports almost all Datagrip features such as data navigation, exploring, making queries, sorting and paginating output.

For more information about DataGrip - browse official documentation.

Explore databases

img.png

Authors

See AUTHORS for a list of authors and contributors.

License

See LICENSE for a list of redistribution, modication and usage rules.

tarantool-idea-plugin's People

Contributors

actions-user avatar dependabot[bot] avatar periecle avatar teinnsei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

123danis123

tarantool-idea-plugin's Issues

update fails, with no update on the wire

To Reproduce

  1. Opened test database with pre-created table and record
  2. edited record
  3. SQL.exception without details

Expected behavior
updated record

Screenshots

Снимок экрана 2021-11-12 в 13 10 57
Снимок экрана 2021-11-12 в 13 11 00

Desktop (please complete the following information):

  • OS: Windows
  • DataGrip 2021.2.4
  • Version 0.1.0

Additional info

Captured exchange during update, but see no update at all. Just "SELECT 1"

Lowercase characters in SQL table name

Describe the bug
DataGrip can not query SQL tables with lowercase characters in table names.

To Reproduce

  1. Create a "table" with lowercase characters
  2. Add Tarantool instance to DataGrip
  3. Try to open the "table."
  4. See an error such as "No such table" with an uppercase name.

Expected behavior
DataGrip can handle lowercase named tables.

Screenshots
image
image

Develop Tarantool SQL with Grammar-Kit BNF

Is your feature request related to a problem? Please describe.
The current implementation is based on ANSI SQL 92 and misses some core constructions of Tarantool SQL.

Describe the solution you'd like
We need to use Grammar-Kit to create BNF grammar. Grammar-kit can generate common Psi elements, lexer, and parser out of it.

Describe alternatives you've considered
Using a grammar kit is a must - other options will demand much more work.

Syntax highlighting for Tarantool SQL

Is your feature request related to a problem? Please describe.
Tarantool should have syntax highlighting to be useful in Intellij.

Describe the solution you'd like
Develop SyntaxHighglighterProvider for Tarantool SQL.

Can't select any space field contain data type uuid

Plugin will return Input contains invalid type value -40 any space's field that has datatype uuid e.g.

EXAMPLE_TABLE
(
    ID UUID,
    NAME STRING
); 
//Assume success created table  EXAMPLE_TABLE

SELECT ID FROM EXAMPLE_TABLE  //Not work
SELECT NAME FROM EXAMPLE_TABLE  //Work

Reverse engineer JetBrains Database plugin

Is your feature request related to a problem? Please describe.
Knowledge gathering about database-impl and database-dialects is a prerequisite before implementing BNF grammar for Tarantool.

Describe the solution you'd like
Go through generator modules, investigate grammar-kit, investigate SQL92 dialect implementation.

Describe alternatives you've considered
I cannot see an alternative

Tarantool SQL intentions and inspections

Is your feature request related to a problem? Please describe.
SQL shortcuts and refactoring are missing.

Describe the solution you'd like
Describe intentions precisely for Tarantool. We can use SQL92 intentions and inspections from JetBrains implementation.

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.