sublime-cypher icon indicating copy to clipboard operation
sublime-cypher copied to clipboard

Sublime Text 3 Support

Open nicosantangelo opened this issue 10 years ago • 17 comments

Hey!, do you have any plans to port this to ST3?

I'm currently working with Cypher and having to use Plain Text in ST3 is not pretty :(.

If you do plan to do the port and want some help, let me know!

nicosantangelo avatar Sep 16 '14 16:09 nicosantangelo

Hi Nicolás,

I have not used cypher for quite some time now and other things are keeping me rather busy at the moment. Feel free to fork the repo though.

Jan

On Wed, Sep 17, 2014 at 2:44 AM, Nicolás Santángelo < [email protected]> wrote:

Hey!, do you have any plans to port this to ST3?

I'm currently working with Cypher and having to use Plain Text in ST3 is not pretty :(.

If you do plan to do the port and want some help, let me know!

— Reply to this email directly or view it on GitHub https://github.com/kollhof/sublime-cypher/issues/10.

kollhof avatar Sep 17 '14 21:09 kollhof

:+1:

I'd do this myself, but I've never done any ST3 package work. I imagine it's fairly simple.

Where would one get started?

brian-gates avatar Nov 15 '14 15:11 brian-gates

The differences between the ST3 and ST2 API aren't that big, the important thing is to modify the code to be able to run on Phyton 3 and Python 2.

Sadly most of the times you'll have to check in which version of Sublime are you running, like this:

is_sublime_text_3 = int(sublime.version()) >= 3000

I would recommend that you get sublime-cypher on your ST3 Packages folder, and from there try to resolve the issues one by one.

nicosantangelo avatar Nov 16 '14 22:11 nicosantangelo

Welp, I'm out! lol.

brian-gates avatar Nov 17 '14 00:11 brian-gates

I managed to get it working on ST3, I didn't see any glaring problems in the code after a quick scan, but will check back if I find anything during use.

@brian-gates to get it working I downloaded the code as a zip and put the contents (excluding non-windows files) into: C:\Users\[Username]\AppData\Roaming\Sublime Text 3\Packages\Cypher

After restarting Sublime it appeared in the Syntax menu. Obviously I take no responsibility for things breaking though, naturally.

danielcooperxyz avatar Jan 23 '15 23:01 danielcooperxyz

:+1: I'll give it a try!

brian-gates avatar Jan 24 '15 06:01 brian-gates

@d4nc00per The command can't work on ST3, every call to print is using Python2 syntax

nicosantangelo avatar Jan 26 '15 23:01 nicosantangelo

Ok, I didn't spot those. I only wrote a simple create and delete script using this, as I'm new to cypher and I had no crashes.

danielcooperxyz avatar Jan 26 '15 23:01 danielcooperxyz

Has anyone managed to get this running in ST3?

avindra avatar Jun 30 '15 14:06 avindra

Hello everyone. Has this progressed since June? Can I do something to help?

Yomguithereal avatar Nov 30 '15 14:11 Yomguithereal

:+1: On Mon, Nov 30, 2015 at 6:33 AM Guillaume Plique [email protected] wrote:

Hello everyone. Has this progressed since June? Can I do something to help?

— Reply to this email directly or view it on GitHub https://github.com/kollhof/sublime-cypher/issues/10#issuecomment-160646511 .

brian-gates avatar Nov 30 '15 16:11 brian-gates

Switch to Atom my friends. Long live Atom !

avindra avatar Dec 01 '15 00:12 avindra

@Yomguithereal Maybe checking the progress of #12 and giving a hand closing that PR ? ( I stopped using Cypher since I created the issue )

nicosantangelo avatar Dec 01 '15 00:12 nicosantangelo

Hey guys, I have stopped maintaining this repo. It would be great if someone would fork it and take ownership. I am happy to put a link to the new home into the README.

kollhof avatar Dec 01 '15 00:12 kollhof

Maybe a transfer/contributor is easier? Because the problem with a fork is that someone has to update PackageControl and move the issues over.

nicosantangelo avatar Dec 01 '15 00:12 nicosantangelo

Adding a contributor would work, but transferring would still mean having to raise a PR against PackageControl(but thats pretty simple). Forking means more independence from my repo.

kollhof avatar Dec 01 '15 01:12 kollhof

If that's fine with you, I can try to fork the repo and try to build a Sublime Text 3 package. But I cannot promise I can make the query part work since this is really the syntax highlighting I am currently lacking now.

Yomguithereal avatar Dec 01 '15 09:12 Yomguithereal