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

-1

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

~~ 12 years ago 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 13 years ago 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 12 years ago updated 12 years ago 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 11 years ago updated by Andreas Backx 11 years ago 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 8 years ago 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 10 years ago 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 11 years ago 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.

-1

view.show(sublime.Region(a, b)) scrolls to wrong region in view

Oktay Acikalin 13 years ago updated 13 years ago 6
I've written center_view_on_line.py. Today I wanted to refactor it 'cause it behaved strangely in some cases. Now I'm trying to come up with an algorithm to center the visible region over the current line or selection. I've got the final row numbers and could translate them into a proper region. If I compare the visible region I get by scrolling there manually and the target region my script calculates they seem to be nearly identical. But the view scrolls somewhere else - often the cursor is at the top of the screen. When querying the visible region again the coords are totally off.

Some vars I work with:
visible_region = (366, 998) # manually centered view
selection = [26, 26] # cursor in line w/o selection
region = [26, 26] # in this case same as selection
visible_region = [16, 36] # first row, last row from above
size = 2099 # self.view.size()
region_size = 0 # diff between region end and begin
visible_size = 20 # diff between last and first row
begin = 16 # calculated first row
end = 36 # calculated last row
target_region = (366, 946) # calculated for self.view.show()
target_region = [16, 36] # translated into first, last row
visible_region = (603, 1351) # region I get after self.view.show()

Any idea?
-1

A few things

bentastic 12 years ago updated 12 years ago 2

my wishes today:


1) While using colums, rows or grid and working on a special file, can open only the file i wish in an new view (like new instance) in fullscreenmode, so i have all the screen just for this one file (maybe a bigger script as the others). When closing or saving or just tipping in the file, the original in colums, rows or grid becomes the same content (just mirroring in the new view).


2) Make borders in colums, rows or grid flexible to move right/left/up/down. Fe: in grid moving the top vertical border from group 1 and 2 a bit to the left, but vertical border of group 3 and 4 stays in the middle. 


3) When working with two or more monitors and using ST2 and one Browser (for example), i wish to have a new instance in Montor 2 without TAB (means: not TAB monitor 1 (ST2), TAB monitor 2 (ST2), TAB browser; i wish to TAB just ST2, TAB browser, TAB ST2, TAB browser,...


4) Show/hide MiniMap for each file separatly (just for this and for this file for ex.)


5) MULTILINGUAL (wanna got german and german dictionary)


So far, sublime text is the best and nicest editor i got (and i got many editors for editing HTML, CSS, JS, PHP, SQL,...). The last few years i used Notepad++ most of my time, now i got Sublime and i love it!


THANKS!