Home Download Buy Blog Forum Support

My feedback after usage

My feedback after usage

Postby Arni on Fri Nov 16, 2012 11:36 am

I recently started using Sublime, and I think it's a great editor.

Here are some issues that I think should be addressed, mostly user interface issues:


1. The scrollbars are very difficult to see, they are dark gray on dark gray background. I don't have perfect vision and it's very difficult to quickly see where to click on the scrollbar because I have to focus on it to see the differences in the shades of dark grays. Make the moveable bar more lighter gray please.

2. Can't find any way to associate certain filetypes to a certain syntax. I have to go to View->Syntax and select the correct syntax every time I open files of certain type that isn't associated to the right syntax by default.

3. I have used Notepad++ and I just LOVE how powerful the editor is with regards of encoding. You can quickly see in what encoding the open file is by selecing Encoding from the menu, e.g. "ANSI, UTF8", and you can quickly convert an open file into another encoding format, e.g. from ANSI to UTF8 or UTF8 to ANSI and it converts characters.
There's a capability to save a doc with a certain encoding in Sublime, but there's no way to see what the current encoding is!

4. Zoom level on the preview scrollbar.

5. Very difficult to see if a open doc has been modified and not saved. The "x" changes to a filled "o" if it's been modified, but this is very difficult to spot. The font in the tab should change, like from being normal to being bold, and once you save it should go back to normal weight.


Thanks.
Arni
 
Posts: 2
Joined: Fri Nov 16, 2012 11:23 am

Re: My feedback after usage

Postby bizoo on Fri Nov 16, 2012 12:23 pm

Arni wrote:1. The scrollbars are very difficult to see, they are dark gray on dark gray background. I don't have perfect vision and it's very difficult to quickly see where to click on the scrollbar because I have to focus on it to see the differences in the shades of dark grays. Make the moveable bar more lighter gray please.

Arni wrote:5. Very difficult to see if a open doc has been modified and not saved. The "x" changes to a filled "o" if it's been modified, but this is very difficult to spot. The font in the tab should change, like from being normal to being bold, and once you save it should go back to normal weight.

There are plenty of theme available, try them and maybe you'll find one that is better suited for you.

Arni wrote:2. Can't find any way to associate certain filetypes to a certain syntax. I have to go to View->Syntax and select the correct syntax every time I open files of certain type that isn't associated to the right syntax by default.

The first item in this menu (Open all with...) associate the selected syntax with the current file extension.

Arni wrote:3. I have used Notepad++ and I just LOVE how powerful the editor is with regards of encoding. You can quickly see in what encoding the open file is by selecing Encoding from the menu, e.g. "ANSI, UTF8", and you can quickly convert an open file into another encoding format, e.g. from ANSI to UTF8 or UTF8 to ANSI and it converts characters.
There's a capability to save a doc with a certain encoding in Sublime, but there's no way to see what the current encoding is!

Reopen with Encoding and Save with Encoding could be used to convert encoding.
I agree that encoding (and line ending) must be displayed in the status bar, I already asked for it long time ago.
Meanwhile you can write a small plugin to display it in the status bar:
Use ST2 menu to create a new plugin and replace the content with:
Code: Select all
import sublime_plugin


def DisplayEncoding(view, encoding=""):
    view.set_status('encoding', "%s" % ((encoding if encoding else view.encoding()),))


class DisplayEncodingListener(sublime_plugin.EventListener):
    def on_load(self, view):
        DisplayEncoding(view)

    def on_post_save(self, view):
        DisplayEncoding(view)

Save it to your user folder.
bizoo
 
Posts: 859
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: My feedback after usage

Postby highend on Fri Nov 16, 2012 1:07 pm

Would it be possible to extend your plugin a bit, bizoo?

E.g.: Instead of displaying the current encoding on the left side of the status bar text, could it be placed on the right side, where the tab size and the current associated extension are? Don't know if it's possible at all... but atm it "interferes" a bit with the status line of the vintage plugin (mh, not interfering, it's more like "distracting").

It would be great, when it could display the current line ending as well (Windows / Unix).

Regards,
Highend
highend
 
Posts: 93
Joined: Fri Jan 20, 2012 2:47 pm

Re: My feedback after usage

Postby Arni on Fri Nov 16, 2012 1:14 pm

Thanks

I've fixed the file extension assocation.

Regarding the scrollbar, I use the Dawn theme, I've tried others, but the contrast on the scrollbar doesn't change, always the same.
Arni
 
Posts: 2
Joined: Fri Nov 16, 2012 11:23 am

Re: My feedback after usage

Postby bizoo on Fri Nov 16, 2012 3:28 pm

highend wrote:E.g.: Instead of displaying the current encoding on the left side of the status bar text, could it be placed on the right side, where the tab size and the current associated extension are? Don't know if it's possible at all... but atm it "interferes" a bit with the status line of the vintage plugin (mh, not interfering, it's more like "distracting").

It is what I want too but I pretty sure it's not possible yet with the available API.
The stacked text on the left of the status bar is really difficult to read :cry:

highend wrote:It would be great, when it could display the current line ending as well (Windows / Unix).

It's easy to add:
Code: Select all
def DisplayEncoding(view, encoding=""):
    view.set_status('encoding', "%s:%s" % ((encoding if encoding else view.encoding()), view.line_endings()))

but I suggest you look at this plugin:
https://github.com/SublimeText/LineEndings
bizoo
 
Posts: 859
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: My feedback after usage

Postby highend on Sat Nov 17, 2012 8:54 pm

Ty, bizoo :)
highend
 
Posts: 93
Joined: Fri Jan 20, 2012 2:47 pm

Re: My feedback after usage

Postby qgates on Thu Nov 22, 2012 5:05 am

Arni wrote:1. The scrollbars are very difficult to see, they are dark gray on dark gray background. I don't have perfect vision and it's very difficult to quickly see where to click on the scrollbar because I have to focus on it to see the differences in the shades of dark grays. Make the moveable bar more lighter gray please.

4. Zoom level on the preview scrollbar.

5. Very difficult to see if a open doc has been modified and not saved. The "x" changes to a filled "o" if it's been modified, but this is very difficult to spot. The font in the tab should change, like from being normal to being bold, and once you save it should go back to normal weight.

For (5), if you use a theme like Soda or Phoenix and set the following in your user prefs:

Code: Select all
"highlight_modified_tabs": true,

The dot will be coloured as well which makes modified tabs much more obvious.

Regarding scrollbars, you can easily modify the theme yourself to get better visibility if you need it. Open the sublime-theme file for your theme and search for "scroll"; it looks like this in Soda:

Code: Select all
    // Standard vertical scroll bar
    {
        "class": "scroll_bar_control",
        "layer0.texture": "Theme - Soda/Soda Dark/standard-scrollbar-vertical.png",
        "layer0.opacity": 1.0,
        "layer0.inner_margin": [2, 6],
        "blur": false
    },

You can play with the other options and can edit the scrollbar png files to increase the contrast, change colour etc.

Re. (4), I presume you refer to the minimap. Configurable zoom level would be nice, but I've never felt the need for it to be any different since the point is to get a birds eye of a large part of your file, so you can see the "patterns", rather than actually have it readable. You might want to post a suggestion on http://sublimetext.userecho.com/ and search for "minimap" while you're there since there are some other good minimap requests too.

I agree that Sublime's status bar should definitely have more API hooks for devs including some position and layout flexibility. There's a lot of real-estate doing nothing there right now. It could show eg. line endings and encoding, clickable for easy changing; a clock would be nice (I miss that from the Brief days); option to show CWD and full file path, and some of these things clickable to copy to the clipboard or paste straight into the doc. Just some thoughts :)

S
qgates
 
Posts: 188
Joined: Mon Nov 05, 2012 4:33 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests