Home Download Buy Blog Forum Support

Feature Requests after review - and a couple of bugs

Feature Requests after review - and a couple of bugs

Postby jjbyrne on Fri Jun 25, 2010 5:44 am

Gidday mate!

I have been evaluating you editor over the last few weeks and I am quite happy with it, generally.
I have come up with some suggestions for enhancements for you review. A lot of these enhancements are from
functionality that exists in other editors I use, like PSPad, Notepad++ and RJ Textpad.

Enhancements
- menu/toolbar option to show/hide white space (currently white-space only viewable when text selected)
- menu/toolbar option to comment/uncomment selected lines/current line
- menu/toolbar option to Duplicate selected lines
- menu/toolbar options for set to uppercase/lowercase
- toolbar options for Find, Find in Files, Replace, Replace in Files
- Find in Open Buffers should be merged into Find in Files (Does Find in Open Buffers mean Find in Opened Files????)
- scripting language support (WSH-Javascript or Python maybe) with API to access the Editor, etc.
- Syntax for HTML-ASP JScript (currently VBScript)
- File Compare function (link to WinMerge maybe?)
- Syntax Highlighter editor
- Toolbar editor (turn on/off buttons on toolbar)
- set/unset Bookmarks with mouse click - click in left bookmark column to set/unset
- SQL Syntax: include @ and @@ as part of highlighted word when selecting, i.e. double-click on variable
- SQL Syntax: include # and ## as part of highlighted word when selecting, i.e. double-click on temp table name (local or global)
- Option to Trim Trailing Spaces on save
- Option to auto-reload file when file changed outside of Sublime, rather than being prompted
- Prompt to re-load file if changed by another program should appear when focus returned to Sublime and not when Tab gets the focus
- integrate HTML Tidy to assist validating and formating HTML code
- unable to select text and then drag it with the mouse and drop into new location - have to Ctrl-X and then Ctrl-V
- column mode functionality - selection, delete, edit, insert
- Find in Files Search Results should be presented in a TreeView with each file as a top-level node and matching lines as children. This will take up less space which is helpfull
when a large number of files is returned. Top node would also include number of matches found.
- Find in Files also to include ability to do replace - either in opened files or search path



Bugs
- SQL: when text selected and press single quote then selected text is not replaced and single quote inserted before and after selected text
- SQL: having a string 'C:\' is treating the \' as an escaped single quote but in SQL to escape a single quote is to preceed it with another single quote i.e. ' and column.a = ''x'' '
this is causing the rest if the SQL file syntax highlighting to be back to front for string contents - changed string.quoted.single.sql to remove \\ from expression
- Join Lines function includes the line after the last selected line

Thanks
John Byrne
Melbourne
jjbyrne
 
Posts: 1
Joined: Fri Jun 25, 2010 5:39 am

Re: Feature Requests after review - and a couple of bugs

Postby edanm on Fri Jun 25, 2010 1:56 pm

Hi John,

A number of the things you talk about already exist. Some of them exist in the PowerUser package (which can be found here: http://www.sublimetextwiki.com). Some of them are built in. Some of them don't exist at all. It seems you're pretty new to Sublime, and you're missing a lot of the functionality it has, so I really recommend learning more about it.

Having said that, here's the rundown of the things you talked about, as far as I know them:

- menu/toolbar option to show/hide white space (currently white-space only viewable when text selected) Don't know about this
- menu/toolbar option to comment/uncomment selected lines/current line Ctrl+/ does this, also, check out the menu: Edit/Comment
- menu/toolbar option to Duplicate selected lines PowerUser package includes a keyboard shortcut for this: ctrl+shift+d.
- menu/toolbar options for set to uppercase/lowercase Check out the Edit/Change Case menu.
- toolbar options for Find, Find in Files, Replace, Replace in Files Not sure what you mean by "toolbar option". These all exist in the Find menu.
- Find in Open Buffers should be merged into Find in Files (Does Find in Open Buffers mean Find in Opened Files????) Agreed. The "Find in Files" should have a <buffers> option, like <project>
- scripting language support (WSH-Javascript or Python maybe) with API to access the Editor, etc. There is a very good api for creating plugins, and lots of plugins exist. It's Python based. See here: http://www.sublimetext.com/docs/api-reference
- Syntax for HTML-ASP JScript (currently VBScript)
- File Compare function (link to WinMerge maybe?)
- Syntax Highlighter editor You can create new files for syntax highlighting, but I don't know of good documentation for it.
- Toolbar editor (turn on/off buttons on toolbar) Good idea.
- set/unset Bookmarks with mouse click - click in left bookmark column to set/unset
- SQL Syntax: include @ and @@ as part of highlighted word when selecting, i.e. double-click on variable
- SQL Syntax: include # and ## as part of highlighted word when selecting, i.e. double-click on temp table name (local or global)
- Option to Trim Trailing Spaces on save Exists in one of the packages, I think the PowerUser package.
- Option to auto-reload file when file changed outside of Sublime, rather than being prompted Absolutely.
- Prompt to re-load file if changed by another program should appear when focus returned to Sublime and not when Tab gets the focus I agree, I also pushed once for an option to reload *all* files at once.
- integrate HTML Tidy to assist validating and formating HTML code
- unable to select text and then drag it with the mouse and drop into new location - have to Ctrl-X and then Ctrl-V
- column mode functionality - selection, delete, edit, insert This exists, and is Sublime's greatest feature IMO. It's called multiple select, and it beats every other editor's column select mode.
- Find in Files Search Results should be presented in a TreeView with each file as a top-level node and matching lines as children. This will take up less space which is helpfull
when a large number of files is returned. Top node would also include number of matches found.
- Find in Files also to include ability to do replace - either in opened files or search path
edanm
 
Posts: 131
Joined: Thu Mar 04, 2010 11:05 pm

Re: Feature Requests after review - and a couple of bugs

Postby tgkeul on Fri Jun 25, 2010 9:25 pm

concerrning SQL:
The langauge definition is wrong and suffers PL/SQL. It is copied from the Textmate bundle and not an intrinsic part of Sublime. So I did my own - which is incomplete as well but supports my programming needs and style.

selecting some characters and pressing a single quote (or an opening paranthesis) does indeed not replace the selection but surrounds it with the quote or paranthesis. This is not a bug. It is a feature I often use and miss in other editors.

I never select a line if I want to join it with the following one. I didn't even know it was possible. Try joining lines without a selection.

Explore the *.sublime-options. You can remove @ from wordSeparators in your sql.sublime-options,
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: Feature Requests after review - and a couple of bugs

Postby rob1234 on Thu Sep 23, 2010 11:44 pm

What is the status with basic text drag and drop. It seems weird not to have that built in.
rob1234
 
Posts: 1
Joined: Thu Sep 23, 2010 11:37 pm

Re: Feature Requests after review - and a couple of bugs

Postby PinnacleWebDesign on Fri Sep 24, 2010 11:58 am

Hi

Although Sublime doesn't yet have the ability to drag and drop text, you can move selected text about by using Ctrl+Shift+Up (or down) arrow

Cheers,
Mick
PinnacleWebDesign
 
Posts: 33
Joined: Sun Aug 09, 2009 6:43 pm
Location: UK

Re: Feature Requests after review - and a couple of bugs

Postby willi297 on Mon Sep 27, 2010 5:51 pm

I actually like the keyboard-driven option better. The mouse-driven style always bothered me for some reason. Just Ctrl+Shift+Up/Down works great for me. Even with multiline selections!
Greg Williams
Atomic Embedded, USA
http://atomicembedded.com
willi297
 
Posts: 121
Joined: Wed Nov 18, 2009 8:29 pm
Location: Grand Rapids, MI, USA

Re: Feature Requests after review - and a couple of bugs

Postby dizlexik on Tue Mar 15, 2011 3:45 am

I'm curious as to how high this text dragging feature is on the list of priorities for SublimeText 2, or if it's even on the list at all. I would love to see this feature added. I constantly find myself instinctively trying to drag text around and it's somewhat annoying. At the least I think it would really cool if there were someway to hold down some key combination that would allow me to "drag" selected text throughout the document with the arrow keys. Actually I think I might prefer that to mouse dragging. There are so many times when I want to drag text to the right or left and I'm stuck doing a cut/paste.
dizlexik
 
Posts: 3
Joined: Tue Mar 15, 2011 3:39 am

Re: Feature Requests after review - and a couple of bugs

Postby qqq on Tue Mar 15, 2011 9:18 am

You can use Ctrl+Shift+Up/Down arrow. Or do you mean some other kind of dragging?
ST2 Win7 64-bit
qqq
 
Posts: 57
Joined: Tue Mar 08, 2011 9:49 am

Re: Feature Requests after review - and a couple of bugs

Postby jbrooksuk on Tue Mar 15, 2011 1:36 pm

qqq wrote:You can use Ctrl+Shift+Up/Down arrow. Or do you mean some other kind of dragging?

They mean dragging,

I personally prefer using keyboard bindings for this :)
jbrooksuk
 
Posts: 775
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Feature Requests after review - and a couple of bugs

Postby crisvm on Mon Apr 29, 2013 1:19 pm

jjbyrne wrote:Gidday mate!
...
Bugs
...
- SQL: having a string 'C:\' is treating the \' as an escaped single quote but in SQL to escape a single quote is to preceed it with another single quote i.e. ' and column.a = ''x'' '
this is causing the rest if the SQL file syntax highlighting to be back to front for string contents - changed string.quoted.single.sql to remove \\ from expression
...
Thanks
John Byrne
Melbourne


Hi,

@jjbyrne: Following your tip (to change string.quoted.single.sql), instead of removing the \\ expression, I've changed it as follows:

previous contents:
Code: Select all
<string>\\.</string>

new contents:
Code: Select all
<string>\'.</string>

This is the line 489 on file SQL.tmLanguage

Now it's perfect to me and the syntax highlighting is working as it should for SQL (so far)... :-)

@SUBLIME DEVELOPERS: Would it be a problem to make this correction available to everyone? I mean, it's just a simple correction on one character. You could even send it to Textmate team... Just saying...

Cheers,
Cristiano
crisvm
 
Posts: 1
Joined: Fri Apr 26, 2013 7:22 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests