Home Download Buy Blog Forum Support

Some suggestions from an Ultraedit user

Some suggestions from an Ultraedit user

Postby Darcey on Thu Aug 02, 2012 11:07 am

Hi,

Love the app, I just threw some money your way and bought it :)

I come from a long time user of Ultraedit, but it's getting a bit bloated and clumsy. Some features I am really missing from the UE & UES side of things are listed below. If Sublime could integrate these features it would be even more awesome sauce than it already is!

1. Favourite files
A quick selection area or popup which you can use the keyboard or mouse to select saved favourite files, this would save me and I'm sure other people a lot of time. This is by far the most missed featured from UE & UES that I am missing, slowing me down a bit wandering huge file structures.

2. Trim trailing spaces
via menu / short cut key & right menu context

3. Selection to upper case
via menu / short cut key & right menu context

4. Selection to lower case
via menu / short cut key & right menu context

5. Tab indentation doesn't remember between files
Maybe a global tab size in a settings panel we can change?

6. Convert tabs to spaces
via menu

7. Convert spaces to tabs
via menu

8. Always show code collapse and expand nodes
On/Off via settings menu

9. Code collapse and expand all
via menu / short cut key

10. show current file encoding in base bar with tab size and language type detection
Darcey
 
Posts: 7
Joined: Thu Aug 02, 2012 10:48 am

Re: Some suggestions from an Ultraedit user

Postby Darcey on Thu Aug 02, 2012 11:24 am

11. Hide/Show preview side list in context menu right click on document.
Darcey
 
Posts: 7
Joined: Thu Aug 02, 2012 10:48 am

Re: Some suggestions from an Ultraedit user

Postby Darcey on Thu Aug 02, 2012 11:28 am

12. Maintain tab indentation when navigating via cursor movement via arrow keys
Eg. if your in a function then have 2+ lines blank tab indented, navigate through them using the cursor up and down and you will find you loose the tab indentation position.

function bob()
{
// code comment



// blank lines above will loose cursor tab indentation position via arrow key navigation
}
Darcey
 
Posts: 7
Joined: Thu Aug 02, 2012 10:48 am

Re: Some suggestions from an Ultraedit user

Postby jbjornson on Thu Aug 02, 2012 11:39 am

Darcey wrote:3. Selection to upper case
via menu / short cut key & right menu context


Menu: Edit / Convert Case / Upper Case
Keymap entry: { "keys": ["shift+f5"], "command": "upper_case" }

Darcey wrote:4. Selection to lower case
via menu / short cut key & right menu context


Menu: Edit / Convert Case / Lower Case
Keymap entry: { "keys": ["ctrl+f5"], "command": "lower_case" }

You can also create your own Context.sublime-menu file to add these commands to the right-click menu.
jbjornson
 
Posts: 335
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Some suggestions from an Ultraedit user

Postby nick. on Thu Aug 02, 2012 11:52 am

1. See here for a plugin from facelessuser

2. Have a look at these options in Preferences > Settings -- Default
Code: Select all
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": false,

3. Edit > Convert Case > Upper Case (CTRL + K, CTRL + U)

4. Edit > Convert Case > Lower Case (CTRL + K, CTRL + L)

5. You can customize this at the user, project, and syntax levels.

6. Left click the "Tabs: X" text in the lower right corner of the window. Select "Convert indentation to spaces"

7. Left click the "Spaces: X" text in the lower right corner of the window. Select "Convert indentation to tabs"

8. I don't believe this is possible on file open, but CTRL + K, CTRL + 1 will collapse the first level; CTRL + K, CTRL + 2 will collapse the second level, etc.

9. CTRL + K, CTRL + 1 to collapse all. CTRL + K, CTRL + J to expand all. If you have Vintage enabled, you can use zc to collapse the current block, or zo to expand it (from command mode).

10. Bottom right shows tab size/spaces, and current syntax. File encoding in File > Save With Encoding, and these settings:
Code: Select all
"default_encoding": "UTF-8",
"fallback_encoding": "Western (Windows 1252)",


11. Maybe you mean CTRL + K, CTRL + B (hide/show the sidebar?) Otherwise see Sidebar Enhancements from tito

12. I believe if you're at the end of the line, you'll stay there whenever possible. Might be wrong.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am

Re: Some suggestions from an Ultraedit user

Postby adzenith on Thu Aug 02, 2012 5:19 pm

12. Looks like you might want to put this into your user prefs:
Code: Select all
   "trim_automatic_white_space": false,
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Some suggestions from an Ultraedit user

Postby quodlibet on Thu Aug 02, 2012 10:46 pm

Darcey wrote:8. Always show code collapse and expand nodes
On/Off via settings menu


If I understand what you're looking for, the setting is:

Code: Select all
// Hides the fold buttons unless the mouse is over the gutter
"fade_fold_buttons": false,


You can create a command to toggle this (or any other) setting via the Command Palette by adding something like this in your User/Default.sublime-commands:

Code: Select all
   {
      "caption": "User: Show/Hide Fold Buttons",
      "command": "toggle_setting",
      "args": {"setting": "fade_fold_buttons"}
   }


Adding a toggle to a menu -- but why would you want to? the palette is much faster -- is very similar. Look at the default menus in Default/*.sublime-menu

Hope this helps,
Alex
quodlibet
 
Posts: 455
Joined: Sat Jun 18, 2011 5:53 pm

Re: Some suggestions from an Ultraedit user

Postby Darcey on Thu Sep 27, 2012 4:35 am

Some very helpful tips there, thanks for your replies all :)

However there is one thing just driving me crazy.... The tab indentation.

Eg:
Make a html file, then inthe body type
Code: Select all
<ul>
                <li>test<li>
------- press enter for empty line (note it keeps tab indent) -----------
------- press enter for empty line (note it keeps tab indent) -----------
------- press enter for empty line (note it keeps tab indent) -----------
------- press enter for empty line (note it keeps tab indent) -----------
</ul>


So what you have entered and expect is:
Code: Select all
<ul>
                <li>test<li>
                |tab
                |tab
                |tab
                |tab
</ul>




What we actually get is:
Code: Select all
<ul>
                <li>test<li>
|
|
|
|
</ul>


Tabs are gone... And if I am many tabs in, then I end up pressing tab like there's no tomorrow...


Try it, once you have made entered that, if you try to navigate to the empty tab indented lines you will notice that the tab indent has been lost and you end up pressing tab for each line you made that was empty.

This happens in so many places.

Is there an option to save tabs, even if there is nothing on the line?

Thanks

D
Darcey
 
Posts: 7
Joined: Thu Aug 02, 2012 10:48 am

Re: Some suggestions from an Ultraedit user

Postby quodlibet on Thu Sep 27, 2012 6:51 am

Try one of:
"trim_automatic_white_space": false,
"trim_trailing_white_space_on_save": false
Last edited by quodlibet on Thu Sep 27, 2012 6:53 am, edited 1 time in total.
quodlibet
 
Posts: 455
Joined: Sat Jun 18, 2011 5:53 pm

Re: Some suggestions from an Ultraedit user

Postby bizoo on Thu Sep 27, 2012 6:52 am

Not sure I understand you correctly but I think that what settings you are looking for is:
Code: Select all
"trim_automatic_white_space": false

It's true by default but you want it to false.
bizoo
 
Posts: 859
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 5 guests