Giter Club home page Giter Club logo

sublime-neo4j's Introduction

Sublime Text 2/3 plugin: Neo4j

  • Sublime is one of the best cross platform editors, so i thought why not create a simple Neo4j plugin so here it is.
  • Solves the problem of running Neo4j queries from terminal and not being able to save/manage your query files in one place
  • This is a very rough draft of the plugin, will add features if time permits, others are welcome to add to this project.

#Installation:

  • Just make a clone of the repo into your ~/Library/Application Support/Sublime Text 3/Packages or equivalent on Windows/Linux.
  • Edit Neo4j.sublime-settings (accessible through the Preferences -> Package Settings -> Neo4j Menu)
    • Edit the url (default localhost)
    • Edit the username and password (default neo4j:neo)
  • Results are displayed in the console (Ctrl+~) to open Console
  • Default query run key is ctrl+r , just select query and hit ctrl+r. Edit Default.sublime-keymap if you need to change this.

Cypher

There's really great cypher syntax highlight plugin named Cypher by Jan-Klass Kollhof which can be installed using Package Manager. Search for Cypher in Package Manager, also nice install video tutorial by Peter Neubauer http://vimeo.com/64886333

Thanks for looking!

Alt text

sublime-neo4j's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sublime-neo4j's Issues

run queries = return int or float numbers

There is a message when you try to return value int or float.

screen shot 2018-01-02 at 11 18 49 am

if you try to run statement inside Neo4j browser everything works well, the same inside python code. But if you use this plugin with sublime it's not working

AttributeError: 'NoneType' object has no attribute 'strip'

I get the following when I hit ctrl+r whether text is highlighted or not. I'm on windows, using ST2 and your commit 0efb4d1.

Traceback (most recent call last):
  File ".\sublime_plugin.py", line 362, in run_
    return self.run(edit)
  File ".\neo4j.py", line 34, in run
  File ".\urllib2.py", line 192, in __init__
  File ".\urllib.py", line 1032, in unwrap
AttributeError: 'NoneType' object has no attribute 'strip'

comments in graph

i like the package. but sublime text seems to fail to recognise the comment character when I press "CMD+/".

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.