Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+20

syntax highlighting for python docstrings (epytext, reStructuredText)

glyph 13 years ago updated 13 years ago 0
Many Python projects use either reStructuredText (sphinx) or epytext (epydoc) formatted docstrings.  It would be very nice to have syntax highlighting on those docstrings.
+20
Completed

Split the project specification and the project state

Josh Bjornson 14 years ago updated by Jon Skinner 14 years ago 1
The project specification and the project state should be stored separately (maybe sublime-project and sublime-workspace?). As it is now, it will be difficult to edit the project files (because there is so much state information stored there) and sharing projects doesn't make much sense. The simplicity of the old project files was great but I really like the features of the new projects. Can't we have the best of both worlds? sublime-project (build_system, folders, save_all_on_build, plus any include/exclude instructions). sublime-workspace (buffers, file_history, find_in_files, find_state, groups, layout, select_file, show_minimap, side_bar_visible, side_bar_width, status_bar_visible)

"It may be worth doing this, but I'm concerned about confusing people: people may not know what a 'workspace' is, so they use the project functionality when they'd be better served by using workspaces." http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1444&p=6606#p6623

Sublime Text "internally" manages the state information for other aspects of the editor ("Auto Save Session", "Session"), so why not store the project definitions "externally" and the current state (workspace) "internally"?

By storing these separately, people could more easily share projects and could still have their own local workspaces.

The biggest issue I can see is the possibility of the project and the workspace getting out of sync (if one of the files is moved to a different location).
Answer
Jon Skinner 14 years ago

 This was done in build 2111

+20

Build without saving

.:. brainsik 14 years ago updated by Ian Goodrich 13 years ago 3
I often use TextMate to write a quick Python script, run it, collect the output, and throw it away. In these cases, I never save the file. However, in Sublime Text 2 I have to save the file before I can run the Build command. It would be great if it automatically created a tmpfile for untitled/unsaved docs and ran the Build command on that.
+20

Pin single files to project

Torsten Liebig 14 years ago updated 14 years ago 0
I'm working in a WordPress directory structure. For a project (usually a theme), the main elements I'm working with are one or two folders within the directory structure plus two separate files.

I'd like to be able to set up the project so that the two folders are pinned to the project sidebar and the two files as well - right now, when adding a file to the sidebar, the file gets openend instantly and is not pinned. Is there a way to do that?
+20

Piping output to sublime should create a new file with the content

Scott Bowers 13 years ago updated by Werner BEROUX 13 years ago 1
I should be able to pipe output on the command line to sublime_text. Sublime should wait until end of file is reached, open a new file, and copy the contents to the new file.
+20

Scroll position after the file reload

Inversion 14 years ago updated by Rafal Chlodnicki 13 years ago 1

When opened file was modified externally ST2 makes Revert and looses the scroll position. It makes impossible to watch for the log files changes if it is being periodically updated externally. Scroll position should be restored after the file refresh.

+20

In the "Recent projects" menu, list project name, not absolute path.

scott cogmeister 14 years ago updated by Alessandro Morandi 13 years ago 1
Or, preferably, list the project name BEFORE the absolute path. This aids in faster recognition of the project name.
+19

"find whole word" for variables

U N. 14 years ago updated by Felix Lange 14 years ago 2

Currently, "find" with "whole word" option enabled doesn't allow to match php variables ($var) and some of ruby variables (@var, @@var) (if the whole variable is searched ("$var"), not the alphanumeric part ("var")). I do kindly request a way to make these match, possibly involving the accordingly adjusted word_separators list.

For the details as to how and why I tried to deal with a similar scenario in a plugin, please see https://github.com/SublimeText/WordHighlight/pull/2

+19

Make sidebar automatically re-open folders after changing projects.

Shawn McCool 13 years ago updated by Andrew Herron 13 years ago 1
I switch back and forth between projects CONSTANTLY.  It's becoming quite frustrating to keep opening my sidebar folders for each project every time I switch back and forth.  I'd love for ST2 to just remember which were open, and when I next open that project restore the sidebar to that state.
+19

Problems with windows-1250 encoding

Krzysztof Jagiełło 14 years ago updated by Łukasz Langa 13 years ago 1

I am working with some files encoded in windows-1250 that contain polish characters. And while all other text editors have no problems with showing all the characters right, Sublime Text shows me strange characters.


Besides it would be very nice to see a feature that would allow us to change encoding of files while editing. Something like this
Image 4