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

+1

Allow color schemes to be read as JSON natively

robertcollier4 12 year бұрын updated by jan otte 12 year бұрын 1

Summary: Allow Color schemes to be saved in both XML and JSON. Then auto-detect the file type and parse appropriately.


Whenever I open my color scheme to make a minor edit - it gives me a 'rhetorical headache' - it is so messy and hard and difficult to read and edit XML-Plist files for this kind of content!!!


I have found PlistJsonConverter plugin - which luckily makes things doable again but brings additional problems of losing comments, formatting, structure, etc. I don't see why this can't just be automated and implemented natively. Why should I have to keep converting back and forth between XML-Plist and JSON? Why can't Sublime Text just also support reading Color Schemes in JSON natively if they are found in that format? It would save a lot of headache.

+1

Holding Shift+Option and clicking the button should performa column select

Caleb Land 13 year бұрын жаңартылды 13 year бұрын 0
If I have a cursor, with no selection made, and I hold the option+shift keys and click somewhere else in the document, Sublime should column select from where the cursor was to where I clicked.

This is similar to my previous report, but I've added the Shift key, which makes it work like Text Mate.
+1

Auto save feature like espresso, or coda ,there no this kind of redactor for windows

Emil Georgiev 13 year бұрын 0

 in order to view result directly without refresh the brouser and without ctrl+s the document, this will be a wonderfull feature

+1
Not a bug

Tab Settings Not Respecting User Settings

Carlos Rodriguez 13 year бұрын updated by Jon Skinner 13 year бұрын 2
Seems like something has changed in the latest beta where new files do not respect my tab preferences.

For example: I have the following set in the Preferences.sublime-settings file:

"tab_size": 2,
"translate_tabs_into_spaces": true,
"trim_trailing_white_space_on_save": true

When opening a new file or even that file itself, it's using tabs instead of spaces.

Here is an screenshot:

Answer
Jon Skinner 13 year бұрын
Please see the documentation about detect_indentation: http://www.sublimetext.com/docs/2/indentation.html
+1
Fixed

Highlighted text automatic quotes

James Brooks 14 year бұрын updated by Jon Skinner 14 year бұрын 2
Previously Sublime would automatically append a " or ' (depending on which one you typed) when you have highlighted, however this doesn't seem to always work in Alpha 2.

I actually thought this had started working in the latest build but it doesn't always seem to invoke the same expected behaviour, sometimes appending the opposing quote or not.
+1

Unable to run package setup

Ryan Crisman 14 year бұрын 0
Arch Linux all packages are current

Traceback (most recent call last):
File "./PackageSetup.py", line 155, in upgrade
upgradePackage(pkg, pristinedir, datadir, backupdir)
File "./PackageSetup.py", line 148, in upgradePackage
os.path.join(backupdir, base), inhibitOverwrite)
File "./PackageSetup.py", line 64, in upgradeArchive
fname = os.path.join(pkgdir, f)
File ".\posixpath.py", line 70, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 49: ordinal not in range(128)
+1

Textmate like snippets (at least in LaTeX)

zurry irigaray 12 year бұрын 0

In TextMate in LaTeX bundle, you have 4 different types of calling snippets (I will put a very understandable example, $0 is the placement of the cursor):

  • LaTeX symbol based on current word. i.e. If you write s and you use this command you get \sigma $0.
  • Command Based on current word. i.e. if you write s and use this you get \sum_{$1}^{$2} $0.
  • Environment based on current word. i.e. if you write s and use this you get \begin{s} $0 \end{s} (or what you have defined before).
  • And, at last, Snippets (true snippets, as simple as in Sublime Text). i.e. if you write mat and press Tab button you get \begin{${1:pvbPVBsmall}matrix} $0 \end{matrix} (exactly, at least the same way as in Sublime Text).

I wish you could add this option to your program, I mean, one (configurable) key combination for each one of this four kinds of snippets. Anyway, I wait for your answer (saying yes or no, but please tell me you read that). In case of NO as answe, I would really appreciate to hear about your reason.


Ah, and a very very nice program. 

+1

Some way to choose which window new files are opened in

chaiguy 14 year бұрын 0

Currently, opening a file in the Finder will open the file in the last-used window (if "open_files_in_new_window" is disabled, which imo it should be by default). However, this is not very intuitive as I won't necessarily want the file to end up in that window.


It would be handy if we could designate a "default" window that new files are opened in (perhaps clicking a little icon on the window somewhere).


The way BBEdit does it that I find works quite well is that new files (that aren't already open elsewhere) open in a single non-project window. Typically I will have a bunch of project windows open and another catch-all window for misc files I'm working on that don't belong to an open project.

+1

Option to ensure file ends with empty line upon saving

demetris 13 year бұрын жаңартылды 13 year бұрын 2
Does Sublime Text have an option for this?

(For those familiar with SciTE, I am talking about the option named: ensure.final.line.end.)
+1

Open function reference when pressed F1

Joshua Foster 10 year бұрын 0
When one needs to know what a function does. There are two ways of doing it.
1. With a reference help file (chm), searching for the function there
2. Going to the language reference site (i.e.: php.net) and search there

So the suggestion is to add a setting to set a help file path which sublime will open and search for the function behind the cursor and the when F1 is pressed.
Or if not configured, open a browser and go to the language site and it's function page