Sublime Forum

Sublime Text 3 Beta

#132

[quote=“C0D312”]@Anomareh

This is for you.

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![/quote]

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:

[quote=“C0D312”]@C0D312

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

Of which you then reply:

0 Likes

#133

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 :blush:

Anomareh don’t worry, I’ll send that to Castles. You don’t need to keep posting :wink:

0 Likes

#134

haha, all makes sense now

@C0D312

You’re a naughty boy

0 Likes

#135

“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.

0 Likes

#136

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

There’s always github.com/alienhard/SublimeAllAutocomplete, but it only completes from currently open files, and doesn’t even work with ST3 yet.

0 Likes

#137

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.

If only eh ? That sounds tricky

0 Likes

#138

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

That’s pretty rudimentary

0 Likes

#139

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.

0 Likes

#140

[quote=“castles_made_of_sand”]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.

If only eh ? That sounds tricky[/quote]

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: 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 =)

0 Likes

#141

Package Control has been initially ported to ST3. Right now it is broken on Windows due to a lack of the ssl module. Definitely works on Linux and should work on OS X with build 3008.

wbond.net/sublime_packages/packa … lation#ST3

Right now it is just a 1-to-1 port to Python 3. None of the changes necessary have been made yet to support specifying what version of ST a package works with, or support for not extracting .sublime-package files. The install only works from Git due to the CA certs needing to be able to be loaded from the filesystem for the various downloaders. Probably later tonight I will find a way to get it to extract the certs so the console install will work again.

0 Likes

#142

Quick panel seems to have picked up a small bug, if you have a slightly inconsistent list.

If you do:

results = 'one', 'two', 'three']
self.quick_panel(results, self.panel_done,
            sublime.MONOSPACE_FONT)

It works fine. But if you do:

results = "part one", "subtext"], 'two', 'three']
self.quick_panel(results, self.panel_done,
            sublime.MONOSPACE_FONT)

…the entries without the subtext get cut off.

This is fixable by just making sure all the list items are in the subtext form, but it’s still a regression from ST2.



0 Likes

#143

@kemayo. Confirmed regression with quickpanels

0 Likes

#144

Hello everyone,

I purchased in August last year. For what it’s worth, I must agree with several people in regards to the extremely fast paid upgrade to v3, I think it is a bit unfair to customers who purchased the product in the last few months, especially since there are no compelling new features (yet). My suggestion would be $15 upgrades to those who purchased in the last 6 or so months, although I will definitely purchase the upgrade even at $30 to support the development of this amazing editor (I can’t begin to explain how much I love it!!!).

Now onto more important things…

A few feature requests which I really really hope you’ll consider:

Notepad Replacement

Sublime Text 2/3 does not support the -z option correctly for replacing Notepad on Windows machines. See Windows Notepad Replacement. I have been using the small exe here (github.com/grumpydev/Sublime-No … eplacement) to do it which has worked OK so far, but this really REALLY should be built right in. Especially now that ST3 opens as fast as Notepad, there’s no reason at all that all Windows users wouldn’t replace Notepad with it. I used to use this all the time with Notepad2 (before discovering ST2).

Legacy Themes (on Windows)

In Windows, ST2/ST3 still use legacy themes, making the application look like it’s running on Windows 98 :smile:


vs

Can you please use theme support for your dialogs on the ST3 Windows build?

Font Reset Issue

Preferences / Font / Reset does not seem to respect the following attribute I have defined in my user settings file:

“font_size”: 13

It also doesn’t seem to follow what’s in the default settings file (if I override it). Instead it always seems to reset the font size back to 10. Can you please repair this to follow the font size set in settings?

Syntax Highlighting for Markdown with Monokai

I don’t see syntax highlighting working with Markdown and the default Monokai theme (which is my favourite). Why is this the case?

Cheers

0 Likes

#145

[quote=“fgimian”]Font Reset Issue

Preferences / Font / Reset does not seem to respect the following attribute I have defined in my user settings file:

“font_size”: 13

It also doesn’t seem to follow what’s in the default settings file (if I override it). Instead it always seems to reset the font size back to 10. Can you please repair this to follow the font size set in settings?[/quote]

Due to how the font size adjustment works this is not possible because it edits the settings object and saves the changes into “User/Preferences.sublime-settings”. Resetting the font size erases the entry in the file completely and results in ST using the default value. For reference, see “Default/font.py”. However, try this plugin: github.com/SublimeText/RevertFontSize/

0 Likes

#146

Looks like JPS stepped out of this thread when too many people started complaining about upgrade pricing but hope you get to see this.
I bought Sublime Text 2 at the end of November, and would agree it should fall into the “upgrade” window, but I would pay for the upgrade regardless as it is something I use and love daily.

But I don’t see me upgrading to ST3 for one big reason, plugins. I am all for efficiency and speed, in fact I’m a junkie regarding this. But it is going to be some time 6-12 months before the plugins I use and depend on have support for ST3. I don’t want to have to learn python and hack them myself, and some of them are likely not maintained much making it very slow for them to get updated. For me, a lot of my workflow depends on certain plugins. Some of them I really depend on.

0 Likes

#147

I have a feeling that many of the big popular ones will be ported in a few weeks to a month (I am working on mine right now). The simpler ones are probably easier to fix. The 2to3 binary that comes with Python 3 helps quite a bit if you don’t know all of the changes between 2.6 and 3.3.

0 Likes

#148

That seems like an accurate assessment to me

0 Likes

#149

[quote=“wbond”]

I have a feeling that many of the big popular ones will be ported in a few weeks to a month (I am working on mine right now). The simpler ones are probably easier to fix. The 2to3 binary that comes with Python 3 helps quite a bit if you don’t know all of the changes between 2.6 and 3.3.[/quote]

Agreed, but it just takes one or two critical ones to disrupt the workflow and make upgrading not worth it.
One plugin I use a lot and would hate to lose is Corona Sublime, but I suspect it would take some time for that to be updated.

0 Likes

#150

github.com/drowne/Corona-Sublime

This doesn’t actually seem to have any python plugins?

Packages that are just syntaxes/snippets etc should just work

0 Likes

#151

Emmet (ZenCoding) unfortunately relies on PyV8, which last I checked a month or so ago, isn’t Python 3 ready yet.

Porting that to Python 3 will be a bit of a task

0 Likes