+4

Real "Code Complete" from Language library

Lucas Klassmann 12 years ago updated by Fredrik Ehnbom 12 years ago 1

Real "Code Complete" from Language library


Example:

When i'm coding in python:

import os
os.[codecomplete list must appear]

Don't complete from de imported library.


I will buy this fantastic editor, but Eclipse is better for my purposes.

I searched in documentation, but i dont encountered.

Thanks and i hope do be not make a stupid question :P 

+4

Make .sublime-package files auto-installable

Ricardo Tomasi 13 years ago updated 13 years ago 0
We should be able to open a .sublime-package file and have it install itself automatically (like .tmbundle and texmate).

package files could also be either a .ZIP/TAR, or a folder with the .sublime-package extension on Mac/Linux.
+4

API: better use of context managers

David Baumgold 12 years ago 0

The Python API should use context managers (http://docs.python.org/reference/compound_stmts.html#with) wherever reasonable to make editing and other stateful operations more seamless and Pythonic. This will make it even easier to write more and better plugins, and since it's a backwards-incompatible change, the time to make it is *now*, while ST2 is still in alpha/beta state.


The sublime.View class has a begin_edit() method and an end_edit() method: these two commands are prime candidates to be turned into a context manager. Proposed API:


with view:

  do_a_thing()

  do_another_thing()


Much more straightforward and Pythonic than creating an edit object, passing it around, and finalizing it with end_edit() 

+4

German keyboard layout: "Show Console"

vivo 12 years ago updated by poke 12 years ago 2
the keyboard shortcut for "Show Console": ^`
does not work on a German keyboard, and I haven't been able to find the correct combination
+4

Tweak identation for statements spanning trough several lines

Simonas Kazlauskas 13 years ago 0
Currently Sublime Text idents separate lines perfectly, however when you break line to, for example, fit 80 characters limit it fails miserably.

For example consider such example:
report = "Hello World!"
Assume, that it doesn't fit into a line and I want to break it in the middle.
report = "Hello"\
        " World!"
None of identation sizes would be able to align beginnings of strings and some spaces would have to be added manually. Instead of this dumb behaviour ST could just auto align strings like that (regardless of selected identation size):
report = "Hello"\
         " World!"
+4

Please Support RHEL5

Rohit Gandhi 12 years ago 0

RHEL5 : can you please support it. Thats the OS we use at my work place. Thats the only thing preventing me from buying sublime text

+4

Allow Projects to have a title that would replace "FOLDERS" if set

EleazarCrusader 12 years ago 0
I'd actually like to see it reflected in the Side Bar in place of "FOLDERS".
It would be nice if the Project Name.sublime-project allowed for the folder to have an attribute of title like below and that would show up instead of "FOLDERS":

{
  "title": "PROJECT NAME",
  "folders":
  [
    "path": "/C/webdev/workspace/sites/base",
    "name": "Base Folder"
  ]
} 

CODE: SELECT ALL  
+4

Throw up a warning when an open file has been changed by another user.

Sunil Parekh 13 years ago updated 13 years ago 0
Mostly a problem when working on a network. Not sure how best to handle the differing scenarios when an open file has unsaved changes (and is updated by another client) and when an open file which does not have any unsaved changes is updated.
+4

add command-line switch to just open new window without reloading recent docs

gour 13 years ago updated by Roy Ivy III 13 years ago 1
At the present moment subl --new-window filename
opens SublimeText editor with a new window, but also reloads recent files with the
"remember_open_files": true
settings active, which prevents user to e.g. use ST2 to just edit a file in single-file-session and still have ability to reload recent files when desiring to work in e.g. 'multi-files' or 'project' mode.

Having separate option to have clean session for single file is useful for quick & dirty editing or in situations like when one wants to use ST2 as external editor for the mailer.

In my case, I'd like to use ST2 everywhere and it means to replace gvim in my Claws-mail mailer, so that in the field for 'external editor' I can replace my current:
gvim "+set ft=mail" -f %s 

setting with something like:

subl --new-clean-window %s

I believe that most of the functionality is already built-in and it just requires small tweaking.

+4

Command Palette suggestion/request

Jake Wilson 13 years ago updated by anonymous 13 years ago 1
The command palette is pretty awesome.  Really like it a lot.  One suggestion.  When you type something and a list of commands begin to show up, it would be great if pressing the TAB button would move you down the list of commands that are shown. 

So for example, lets say you type a few characters and then a list of commands shows up.  The command you want is the 3rd one down, you can just press TAB TAB TAB and then ENTER to run the command.  Alternatively, if you press TAB a couple times to start moving down the list, if you continue typing again, the position of the "cursor" would reset back to the top again as the list of commands continues to change based off the of whatever you are typing.

Also it would be nice if pressing SHIFT-TAB would move you back up the list one at a time.

Right now, pressing TAB while int he Command Palette simply inserts a TAB into the input box.  Not really helpful for anything.  Using it to move through the list would speed up command selection tremendously.  Right now you have to use the UP and DOWN arrow keys to move through it.

Keep up the good work
+4

Down arrow doesn't make cursor go next line if text is selected

aristidesfl 13 years ago updated by shurcooL` 12 years ago 4
If I've got text selected (for example after copying some text) and press the down arrow key, the cursor jumps to the end of the selection instead of the next line.

This behavior is unexpected, slows me down and not even useful since the right arrow accomplishes the same thing.
+4

Clean up/remove extraneous tabs and spaces

Justin Drake 13 years ago updated by Caribbean Diving 12 years ago 2
It would be nice to have the possibility to quick clean up the code of extra tabs and spaces floating around. For example, consider a line of JavaScript:

var myVariable = 10;      <--- extra spaces between ';' and '<' that can be removed

would be converted to

var myVariable = 10;<--- no extra spaces
+4
Completed

Find and replace only in the current file

Andy Toy 13 years ago updated by Marty Powell 9 years ago 5
It would be nice to be able to run a find and replace only in the selected tab. While having the ability to run a replacement of text on many files is nice, usually you do not need to. I do webdev and you come across a lot of index.php files, having to close out of all the 'open files' with the same name just to be able to run a replace on things inside the current file is more than a bit of a pain. It would also be nice to be able to step threw the find results one at a time and choose if you wanted to replace them.
Answer
Jon Skinner 13 years ago
You can use the Find/Replace menu item for this
+4

Buggy syntax highlighting for JS

Piotrek Koszuliński 13 years ago updated 13 years ago 0
This regexp breaks syntax highlighting for JS:

/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/i

(source: http://www.regular-expressions.info/email.html - characters inside [] don't have to be escaped).

What's more - after this regexp next lines are highlighted as string, even though in JS there are no multi-line strings.
+4

Fix toggling between single and multiple layouts

Idan Gazit 13 years ago 0
Currently, layout switching doesn't remember layouts—if I have a three-pane layout and want to make one of them fullscreen for a little while, switching layouts to single and back will put all of my tabs in one pane, invalidating my brain's positional memory.

Desired outcome: I want a quick way to toggle "full-window" for a given pane in a layout, with the ability to return to how I was beforehand.

Sample user story:

Joe is editing 10 files in a three-pane layout. He now wants to focus on one of the files, and wants to get the other ones out of his line of sight for a little bit. He presses a key combination which expands the active pane to be the entire editing area, and when he's finished, he presses the same keycombo to return to the 3-pane layout. All of the tabs he had open are still attached to the panes they were in beforehand, and with the exception of the file he was just editing, their cursor/scroll location are unchanged as well.

Technical considerations:

You've already implemented layouts, which might make it easiest to just improve them instead of adding a whole new editing mode. Giving a project "layout history" will accomplish this nicely—I can switch to single-pane layout and back to three-pane layout without losing my structure.
+4

$70 is just too expensive for Indian users. Price should make some sense.

Nikk Fs 11 years ago 0

The price of $70 doesn't make any sense to someone like me who lives in a country like India. As of writing $1 = ₹62 and $70 = ₹4372. I can buy a Photoshop CS6 for both my Mac and PC from a website like Flipkart (An online shopping website.) for the same price. What I'm trying to say is Photoshop is a professional tool and it's still half of it's price. I seriously don't consider buying a single license for $70 worthy and I'll continue to use it for free until they do something about it.

+4

Allow queries outside the UI thread

Filipe Cabecinhas 12 years ago 0
What I want: To be able to perform queries to the UI outside the UI thread.

There's no sense in making View.name() only callable in the UI thread. That goes for several other methods that only query certain view properties and don't do anything else.

+4

XML Folding Bug

acwj 13 years ago updated by Jonathan Chayce Dickinson 12 years ago 3
Sublime Text 2 Beta, Build 2181

The root element does not fold up correctly in this XML:

<root>
    <el1>abc</el1>
    <el1><![CDATA[
<el2>
    abc
    def
</el2>
        ]]>
    </el1>
</root>




+4

Missing menus when no window open on Mac

Ross Smith 13 years ago 0
When there is no window open on the Mac, some of the menus are missing:
  • Sublime Text > Preferences > Browse Packages is disabled
  • File > Open Recent only lists folders, not files
Those are the ones I've noticed, there may be others.
+4

Copy the current viewing file's path to clipboard

Arunprasad Rajkumar 12 years ago updated by Alexis Sa 11 years ago 5

It would be nice if we were able to get the full path of viewing file. Suppose if user right clicking on the file-tab it should show option to copy the current viewing file's path to clipboard :)