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

-1

Ctrl+Shift+N not opening new window in HTML file

Alexander Rechsteiner hace 12 años actualizado hace 12 años 1
Ctrl+Shift+N is supposed to open a new window, and it does in a text file. However, when I change the syntax to HTML then the command does select part of the code instead of opening a new window. I think this shortcut should be consistent over all file and syntax types.


ST 2, Build 2181 

Windows 8 Customer Preview

-1

Allow whitespace after the shebang when detecting the script’s language.

Dan Martinez hace 12 años 0

Sublime Text 2.0.1, build 2217, can correctly recognize a file’s language when the first line looks like:


#!/path/to/my/interpreter


but not when it looks like:


#! /path/to/my/interpreter


A single space between the shebang and the path shouldn’t be enough to trip up the show.

-1

Quote switching. Will swap the quote keys so single is double.

saidfasf hace 12 años actualizado hace 12 años 2

I am a JavaScript developer. I like using double quotes. However, using them requires me to hit shift all day. I think it would be neat that while working only in JavaScript files we could have a setting that  swaps the quote key and results in the single quote being a double quote. I realize there is plugins to do this on per command basis but that gets aggravating.

-1

Improve Cmd-P open/switch to file behavior

Idan Gazit hace 13 años 0
I often have a lot of tabs open in multiple panes. If I type Cmd-P and start typing the name of a file I already have open in a tab, it will switch to that tab…

But only if that tab is in the same pane. Otherwise, it will open a second view of that same file in my current pane.

Is there some way to switch to any open tab by autocompleting? I don't need it to share Cmd-P or be overloaded with the ability to open a tab if no completion can be found. I just want a quick way to switch to _footer.html which I have open somewhere in these twenty tabs.
-1

Support for reverse mouse wheel using Autohotkey

JCarles Vilaseca hace 13 años actualizado hace 13 años 0
I'm using this Autohotkey config:

WheelUp::
    Send {WheelDown}
Return

WheelDown::
    Send {WheelUp}
Return
-1

2045: Path to Nation’s Golden Age

finley theo hace 11 años 0

On Aug. 17 we commemorated and celebrated 68 years of independence. The yearly display of sacred and ceremonious spirit proves that the country’s younger generation can cultivate a deep sense of nationalism and give it renewed meaning for the future.


Indonesia’s journey since independence has encountered hardship at times but also reached important milestones. The generation of 1945 fought for and won our independence. The generation of 1966 continued with the objective of maintaining macroeconomic stability and focused on the development of critical infrastructure in every corner of our archipelago. And despite suffering from a structural financial crisis, the generation of 1998 demanded reform that would spread to all layers of society and in the end would usher in the era of democracy for Indonesia.


RELATED ARTICLE:

http://www.thecrownmanagement.com/

http://crowncapitalmngt.blogspot.com/


-1

save window size for each layout

Pavlos Vinieratos hace 13 años 0
when i have the layout on single column, I like the window to be tall.
on double column, i like the window to be wide, so I can see both files clearly.

when i change from one layout to the other, the window stays the same size, so when i am on two columns with a wide window, I press cmd+option+1, change to single column, and then have to manually change the window size with the mouse.
this is really awkward.. I'd love it if sublime could save my preferences on window size for each layout.
-1

NCL plugin?

ENoble hace 12 años actualizado por robertcollier4 hace 12 años 1

Hi, I just stumbled upon SublimeText today.  There is a programming language I use called NCL (http://www.ncl.ucar.edu).

I would like to use this editor with it. The NCL group provides a link where any group can create a plugin for their editor here, http://www.ncl.ucar.edu/Applications/editor.shtml#textmate

Is it possible someone at SublimeText could do this? I don't know how. 

I will try to do so in 10 days. 

-1

Make XML syntax definition mark invalid double-hyphen inside comment

Ola Vikholt hace 12 años 0
In other words, please apply this patch or some variation of it.


diff --git a/a b/XML.tmLanguage

index 9438f60..bbb5823 100644

--- a/a

+++ b/XML.tmLanguage

@@ -109,6 +109,15 @@

                        <string>--%?&gt;</string>

                        <key>name</key>

                        <string>comment.block.xml</string>

+                       <key>patterns</key>

+                       <array>

+                               <dict>

+                                       <key>match</key>

+                                       <string>--</string>

+                                       <key>name</key>

+                                       <string>invalid.illegal.double-hyphen-in-comment.xml</string>

+                               </dict>

+                       </array>

                </dict>

                <dict>

                        <key>begin</key>

-1

Erlang syntax highlighting error (with potential fix!)

Anselm Eickhoff hace 12 años 0

In Erlang, fun is not only a keyword for lambdas, but can also be used in -spec macro directives.


Example:

-spec for_house_of(Type :: row|column|box,
  Pos :: integer(),
  AccStart :: X,
  Fun :: fun((Pos :: integer(), Acc::X) -> (Y))
) -> [Y].

This breaks syntax highlighting afterwards though (because Sublime text thinks we're in an anonymous function that has never been ended).

(multiline or single line -spec doesn't matter).


It can be fixed by ignoring the fun keyword if it follows two colons in this case:


Erlang.tmLanguage, line 699


Before

<string>\b(fun)\b</string>

After

<string>\b^(?!.*::).*$\b(fun)\b</string>

This is only a hack though, because the parameter spec could also be unnamed:


-spec for_house_of(Type :: row|column|box,
  integer(),
  X,
  fun((integer(), X) -> (Y))
) -> [Y].