Home Download Buy Blog Forum Support

Sublime Text 3 Beta

Re: Sublime Text 3 Beta

Postby mbajohr on Wed Jan 30, 2013 1:15 pm

As long as ST3 is in pre-public alpha i don't give a f*** about any plugins, themes or features.
I tend to view the current ST3 builds as functional previews - and from that - i am impressed. For serious work there's the running st2 with all addons.
Just my € 0,02
mbajohr
 
Posts: 17
Joined: Mon Aug 29, 2011 12:16 pm

Re: Sublime Text 3 Beta

Postby Anomareh on Wed Jan 30, 2013 2:08 pm

C0D312 wrote:@Anomareh

This is for you.
Image

I hope you feel better since clearly something is bothering you if you spend all day arguing with a college student with too much time on his hands. Good luck in your future endeavors.

Tootles!

Took me all of 15 minutes to write up all of my posts in this thread all of which were discussing something I care about.

I like how you tried to call me out for derailing this thread (even though I was clearly on-topic) when all you are doing now is blatantly trolling and doing a rather poor job at it. Then before that you tried to argue that I was contradicting myself by quoting my posts out of context while now you're just contradicting yourself by posting absolute nonsense. Kudos.

---

Yay mod abuse. You're certainly doing your share of representing this community. Good job editing my post to the following before deleting it:

C0D312 wrote:@C0D312

Thanks so much for the gif! I love it. Please forget what I was saying before. I apologize.

Of which you then reply:

C0D312 wrote:Your welcome! I'll delete this last post if you'd like and just leave the gif in your inbox <3
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Sublime Text 3 Beta

Postby C0D312 on Wed Jan 30, 2013 2:11 pm

hahaha. I deleted the gif because I was distracting people who came here to talk about ST3 beta. But don't worry, I sent it to Anomareh's inbox along with an apology that my mom made me write cause I'm not supposed to be mean to people :oops:

Anomareh don't worry, I'll send that to Castles. You don't need to keep posting ;)
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Sublime Text 3 Beta

Postby sublimator on Wed Jan 30, 2013 2:13 pm

Anomareh wrote:Good job editing my post to the following before deleting it:


haha, all makes sense now

@C0D312

You're a naughty boy
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Sublime Text 3 Beta

Postby user5551 on Wed Jan 30, 2013 2:29 pm

"Sublime Text now scans the files in your project, and builds an index of which files contain which symbols."

Any idea if it will now allow fuzzy autocomplete from the project-wide index? This is something I've been dreaming of having.

For example, instead of having to type out "$this->my_model->method_name()", I could just type "thimymomethnam" and it would suggest it to me. Until now, I'd have to type out each section separately.

Thanks.
user5551
 
Posts: 4
Joined: Wed Jan 30, 2013 2:26 pm

Re: Sublime Text 3 Beta

Postby pipomolo on Wed Jan 30, 2013 3:11 pm

I have to agree that allowing autocomplete from the "Symbol into project" index would be beyond useful!

There's always https://github.com/alienhard/SublimeAllAutocomplete, but it only completes from currently open files, and doesn't even work with ST3 yet.
pipomolo
 
Posts: 16
Joined: Wed Jan 30, 2013 2:14 pm

Re: Sublime Text 3 Beta

Postby sublimator on Wed Jan 30, 2013 3:29 pm

I can't imagine the index being very useful for auto-complete. It'd bee too `noisy`

I think I can remember Jon saying said he'd actually tried it and came to a like conclusion.

It would need `intelligence` to know what `this` is as part of `"$this->my_model->method_name()"`

The symbol indexing is done without much comprehension of the syntax. It's just using the text mate grammars.

I could just type "thimymomethnam"


If only eh ? That sounds tricky
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Sublime Text 3 Beta

Postby sublimator on Wed Jan 30, 2013 3:32 pm

AFAIK, the index database is a simple key/value store with value being an array of (file,line)

That's pretty rudimentary
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Sublime Text 3 Beta

Postby pipomolo on Wed Jan 30, 2013 3:37 pm

Well, going any further would require dynamic analysis of the code. This would be heavily language bound and error-prone IMO, especially for dynamically typed languages where you cannot tell the type of an object from reading the code.
pipomolo
 
Posts: 16
Joined: Wed Jan 30, 2013 2:14 pm

Re: Sublime Text 3 Beta

Postby user5551 on Wed Jan 30, 2013 3:50 pm

castles_made_of_sand wrote:I can't imagine the index being very useful for auto-complete. It'd bee too `noisy`

I think I can remember Jon saying said he'd actually tried it and came to a like conclusion.

It would need `intelligence` to know what `this` is as part of `"$this->my_model->method_name()"`

The symbol indexing is done without much comprehension of the syntax. It's just using the text mate grammars.

I could just type "thimymomethnam"


If only eh ? That sounds tricky

I'd say it would save me a ton of time =) I think it should at least be an option in the preferences.

Check out this autocomplete addon for codeigniter: https://github.com/martinredola/sublime ... ompletions. Does that file look complicated?

It's a 45kb file, and provides all the codeigniter functions (which is a lot). Now, instead of typing out $this->session->userdata('item');, I type: "thisessuser". If you're doing this all the time, you can see how much time it saves. A breakdown: typing "thi" brings up all functions related to "$this->"; typing "sess" bring up everything related to "$this->session->", and "user" brings up $this->session->userdata('item') or set_userdata('item'); Not having to type out all the arrows and only parts of the methods is fantastic--it's pretty much instant. I only wish that my own custom methods could be indexed in such a manner. At least make it an option, you know? For me, that would make Sublime Text 3 a no-brainer. It would complete set it apart from any IDE or other text editor. Fuzzy autocomplete is why I use it in the first place =)
user5551
 
Posts: 4
Joined: Wed Jan 30, 2013 2:26 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 15 guests