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

-1

Improved Locked Document Editing

Foster Brereton 12 aastat tagasi 0

Problems arise from the following set of steps:


  1. Open a locked document
  2. Make edits to the document
  3. Save -> Get Error about document being locked

The issue is getting the file unlocked painlessly so the user can save the edits made up to this point. I realize there are plugins that exist to auto-checkout files in source control, but this is an orthogonal issue. For example, if the checkout/unlock operation fails, the user is stranded with edits that cannot be saved.


Possible resolutions include:

  • Let the user drag the document icon (in OSX) in the window bar to another application to copy the file path. As of step 2 above it is greyed out and cannot be dragged without undoing the edits. 
  • Prevent the user from making edits in step 2 until the file has been unlocked. This is how other editors like BBEdit and Xcode behave. This would also be the point at which version control plugins would want to attempt to check out the file.
  • The ability to overwrite the locked file during step 3. Some kind of dialog to either cancel the edit or unlock the document. This would be a fallback option in the event a plugin failed to checkout/unlock the document, so the user could still save the edits (they would, of course, be on the hook for checking out the file manually.)
  • The ability to get the full path of the frontmost document quickly copied to the clipboard so it can be pasted in another application to checkout/unlock the locked file, making step 3 succeed.

-1

sublime.status_message() should only be shown in the window were it got invoked in

Oktay Acikalin 14 aastat tagasi uuendatud 14 aastat tagasi 1
-1

Area position / Find files or in file (ctrl+F / ctrl+shift+F)

~~ 13 aastat tagasi 0

Ctrl+T or ctrl+P appears at the top, which is nice. For those two, you search something.

With Ctrl+F or ctrl+shift+F, you also search for something.

Problem : those two windows does not appears at the same position. Coming from textmate, just can't get used to it.

And it makes me think about e! or some eclipse flavors, which is a feeling I'm not looking for.

Is there a way to customize the Ctrl+F or ctrl+shift+F areas, and let them appear as the Ctrl+T or ctrl+P do ?

-1

Extend scope to included Files

sp0r 14 aastat tagasi 0
Like: function xxx() from file inc.php completes in file index.php because inc.php ist included via include or requiere in index.php
-1

Block comment in Ruby

Alex Luckjanov 13 aastat tagasi uuendatud 13 aastat tagasi 2

I select some lines and press ctrl+shift+/:

Image 178

It's incorrect. I expect to see this:

Image 179

-1

Remove unnecessary/unused File types

vilas kadam 12 aastat tagasi uuendaja Andreas Backx 12 aastat tagasi 1

I primarily use sublime for Web development, and the file types in use are HTML, CSS, JS, PHP.  I want to remove the unnecessary filetypes and syntax files that gets loaded like c++, erlang, java etc. Is there a way to configure this? 

-1

Open in browser of choice option for ST3

Daniel Pritchett 9 aastat tagasi 0

Whenever I run a command that opens the browser by default it opens in firefox. I primarily use chrome and even have that set to the default.

-1

JSP Autocomplete for self terminated tags fail if there is a ":" in the element

Ryan Park 12 aastat tagasi 0

When typing the code below, using syntax JSP, when you get to the closing div tag it will not auto complete the div but rather the <foo:bar .../> because it doesn't understand that it is self terminated. Only reproducible when a ":" is present (which are common in JSP for TagLibs).


<div>

<foo:bar attribute="hi" />

</div>

-1

same keybindings on all platforms

pixelpixi 12 aastat tagasi 0

I just started using sublime and I'm loving it! I work on both mac and linux, however, and I'm finding it super annoying that the default keybindings are so different between platforms. I know I can go through them all and remap them, but an easy way to do that by default would be awesome.